@@ -41,36 +41,34 @@ Instructions for implementing each feature follow.
4141- Searchable command history
4242
4343 All commands will automatically be tracked in the session's history, unless the command is listed in Cmd's excludeFromHistory attribute.
44- The history is accessed through the `` history `` , `` list `` , and `` run ` ` commands.
44+ The history is accessed through the ` history ` , ` list ` , and ` run ` commands.
4545 If you wish to exclude some of your custom commands from the history, append their names
46- to the list at Cmd.ExcludeFromHistory.
46+ to the list at ` Cmd.ExcludeFromHistory ` .
4747
4848- Load commands from file, save to file, edit commands in file
4949
50- Type `` help load `` , `` help save `` , `` help edit ` ` for details.
50+ Type ` help load ` , ` help save ` , ` help edit ` for details.
5151
5252- Multi-line commands
5353
54- Any command accepts multi-line input when its name is listed in `` Cmd.multilineCommands ` ` .
54+ Any command accepts multi-line input when its name is listed in ` Cmd.multilineCommands ` .
5555 The program will keep expecting input until a line ends with any of the characters
56- in `` Cmd.terminators `` . The default terminators are `` ; `` and `` /n ` ` (empty newline).
56+ in ` Cmd.terminators ` . The default terminators are ` ; ` and ` /n ` (empty newline).
5757
5858- Case-insensitive commands
5959
6060 All commands are case-insensitive, unless `` Cmd.caseInsensitive `` is set to `` False `` .
6161
6262- Special-character shortcut commands (beyond cmd's "@" and "!")
6363
64- To create a single-character shortcut for a command, update `` Cmd.shortcuts ` ` .
64+ To create a single-character shortcut for a command, update ` Cmd.shortcuts ` .
6565
6666- Settable environment parameters
6767
6868 To allow a user to change an environment parameter during program execution,
69- append the parameter's name to `` Cmd.settable `` .
69+ append the parameter's name to `Cmd.settable``
7070
71- - Parsing commands with `` optparse `` options (flags)
72-
73- ::
71+ - Parsing commands with ` optparse ` options (flags)
7472
7573 @options([make_option('-m', '--myoption', action="store_true", help="all about my option")])
7674 def do_myfunc(self, arg, opts):
@@ -85,13 +83,10 @@ Tutorials
8583
8684A couple tutorials on using cmd2 exist:
8785
88- * A detailed PyCon 2010 talk by `Catherine Devlin`_, the original author
89- * http://pyvideo.org/pycon-us-2010/pycon-2010--easy-command-line-applications-with-c.html
90- * A nice brief step-by-step tutorial
91- * https://kushaldas.in/posts/developing-command-line-interpreters-using-python-cmd2.html
92-
93- .. _ Catherine Devlin: https://github.com/catherinedevlin
94-
86+ * A detailed PyCon 2010 talk by [ Catherine Devlin] ( https://github.com/catherinedevlin ) , the original author
87+ * http://pyvideo.org/pycon-us-2010/pycon-2010--easy-command-line-applications-with-c.html
88+ * A nice brief step-by-step tutorial
89+ * https://kushaldas.in/posts/developing-command-line-interpreters-using-python-cmd2.html
9590
9691Example Application
9792-------------------
0 commit comments