summaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2019-07-16 17:28:14 -0600
committerkotfu <kotfu@kotfu.net>2019-07-16 17:28:14 -0600
commita8c4a65106ad6325adec5e662ee8a5397527dba5 (patch)
tree835188fe74653be5bf38ad3fa265d614b4882db6 /docs/examples
parenteb882b2b308bb2e09761a74007ea308b489c2d56 (diff)
downloadcmd2-git-a8c4a65106ad6325adec5e662ee8a5397527dba5.tar.gz
Integrate freefeatures into new doc structure
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.