diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-01-23 22:00:05 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-01-23 22:00:05 -0500 |
commit | bc57f016e603ec9e92c8a15d366e76d07d7dd762 (patch) | |
tree | fa175a4ad4c339c7f7a313a8076bf08c96568e3b | |
parent | a51fa9005270e506a785e878f945952a135026ac (diff) | |
download | cmd2-git-bc57f016e603ec9e92c8a15d366e76d07d7dd762.tar.gz |
Changed header comment in cmd2.py to refer to GitHub repo instead of old assembla mercurial one. Also changed exampleSession.txt example transcript to not include the "set" command since the output was platform dependent due to the default editor varying.
-rwxr-xr-x | README.rst | 20 | ||||
-rwxr-xr-x | cmd2.py | 2 | ||||
-rw-r--r-- | example/exampleSession.txt | 18 |
3 files changed, 4 insertions, 36 deletions
@@ -82,7 +82,7 @@ Instructions for implementing each feature follow. cmd2 can be installed from a Linux distribution using their default package manager or `pip install cmd2`
-Cheese Shop page: http://pypi.python.org/pypi/cmd2
+PyPI page: http://pypi.python.org/pypi/cmd2
A nice step-by-step tutorial: https://kushaldas.in/posts/developing-command-line-interpreters-using-python-cmd2.html
@@ -164,20 +164,6 @@ example/exampleSession.txt:: OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
- (Cmd) set
- abbrev: True
- case_insensitive: True
- colors: True
- continuation_prompt: >
- debug: False
- default_file_name: command.txt
- echo: False
- editor: gedit
- feedback_to_output: False
- maxrepeats: 3
- prompt: (Cmd)
- quiet: False
- timing: False
(Cmd) set maxrepeats 5
maxrepeats - was: 3
now: 5
@@ -197,10 +183,8 @@ example/exampleSession.txt:: -------------------------[4]
say -ps --repeat=5 goodnight, Gracie
-------------------------[5]
- set
- -------------------------[6]
set maxrepeats 5
- -------------------------[7]
+ -------------------------[6]
say -ps --repeat=5 goodnight, Gracie
(Cmd) run 4
say -ps --repeat=5 goodnight, Gracie
@@ -22,7 +22,7 @@ written to use `self.stdout.write()`, - Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com -mercurial repository at http://www.assembla.com/wiki/show/python-cmd2 +Git repository on GitHub at https://github.com/python-cmd2/cmd2 """ import cmd import copy diff --git a/example/exampleSession.txt b/example/exampleSession.txt index d1dcb544..945ea0bc 100644 --- a/example/exampleSession.txt +++ b/example/exampleSession.txt @@ -27,20 +27,6 @@ goodnight, Gracie OODNIGHT, GRACIEGAY OODNIGHT, GRACIEGAY OODNIGHT, GRACIEGAY -(Cmd) set -abbrev: True -case_insensitive: True -colors: True -continuation_prompt: > -debug: False -default_file_name: command.txt -echo: False -editor: gedit -feedback_to_output: False -maxrepeats: 3 -prompt: (Cmd) -quiet: False -timing: False (Cmd) set maxrepeats 5 maxrepeats - was: 3 now: 5 @@ -60,10 +46,8 @@ say goodnight, Gracie -------------------------[4] say -ps --repeat=5 goodnight, Gracie -------------------------[5] -set --------------------------[6] set maxrepeats 5 --------------------------[7] +-------------------------[6] say -ps --repeat=5 goodnight, Gracie (Cmd) run 4 say -ps --repeat=5 goodnight, Gracie |