summaryrefslogtreecommitdiff
path: root/examples/exampleSession.txt
Commit message (Collapse)AuthorAgeFilesLines
* History enhancementsTodd Leonhardt2018-01-201-17/+0
| | | | | | | | | | History changes: - Unknown commands are no longer saved in the history - history command now has a -t option to generate a transcript based on commands in the history Also: - Moved examples transcripts from examples to examples/transcripts - Added a new transcript for use with the pirate.py example
* Cleanup of documentation and examplesTodd Leonhardt2018-01-171-1/+0
| | | | Removed usage of and reference to attributes and commands which have now been removed.
* Made a couple fixes to existing examplesTodd Leonhardt2017-11-111-71/+17
| | | | | | | Changes include: - argparse_example.py modified to do pass all unknown args onto cmd2 and allow arguments at invocation - example.py comments modified to indicate it is intended to be used with transcript_regext.txt - exampleSession.txt fixed so it works properly with argparse_example.py
* Removed pause commandTodd Leonhardt2017-07-031-3/+2
| | | | | | It was pretty useless, it just printed a message and sat there and waited for the user to hit enter. It didn't feel like it belonged in a top-level framework. If a particular application wants this functionality, it is a 2 line change to add it back.
* Added new pyscript commandTodd Leonhardt2017-06-131-2/+3
| | | | | | | | This command is explicitly for running Python script files within an embedded Python interpreter. The advantages over the py command with "run" are: - Tab-completion of file system paths is supported - Command-line arguments can be passed to the Python script
* Updated example transcript test and docsTodd Leonhardt2017-06-031-2/+2
| | | | Updated these to reflect that the list command has been removed
* Apparently regex syntax is stricter for Python 3 on Windows.Todd Leonhardt2017-03-161-0/+2
| | | | | | Than it is for Python 2 on Windows or Python 3 on Linux or Mac. Go figure. You would think it would be the same for Python 3 across platforms.
* Added example of using a regular expression in a transcript test.Todd Leonhardt2017-03-161-0/+1
| | | | Also added a unit test for this feature.
* Changes to make our project as welcoming as possible for new contributors.Todd Leonhardt2017-02-261-0/+69
Changes include: 1) Added CONTRIBUTING.md with detailed instructions for how to contribute, which should be especially useful to those new to open source in general or GitHub in particular 2) Added CODE_OF_CONDUCT.md which sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment 3) Renamed the "example" directory to "examples" in the hope that one day soon there may be more than a single example ;-)