summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/index.rst2
-rw-r--r--docs/examples/removing_builtin_commands.rst7
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/examples/index.rst b/docs/examples/index.rst
index 2070b7a3..838c6402 100644
--- a/docs/examples/index.rst
+++ b/docs/examples/index.rst
@@ -5,3 +5,5 @@ Examples
:maxdepth: 1
first_app
+ removing_builtin_commands
+
diff --git a/docs/examples/removing_builtin_commands.rst b/docs/examples/removing_builtin_commands.rst
new file mode 100644
index 00000000..63f5160a
--- /dev/null
+++ b/docs/examples/removing_builtin_commands.rst
@@ -0,0 +1,7 @@
+Removing Builtin Commands
+=========================
+
+Show how to remove built in comamnds. Say for example you don't like the
+``quit`` command included in ``cmd2``. Your application has to subclass
+``cmd2.Cmd`` to work, which means you inherit the ``quit`` command. Here's how
+to remove it.