<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/examples/decorator_example.py, branch 1.3.11</title>
<subtitle>github.com: python-cmd2/cmd2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/'/>
<entry>
<title>The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are now</title>
<updated>2020-08-26T21:52:34+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-25T20:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=478ea83336a4d1659ad06ef365db3dc5e051e46d'/>
<id>478ea83336a4d1659ad06ef365db3dc5e051e46d</id>
<content type='text'>
Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it
easy to filter out which attributes in an argparse.Namespace were added by cmd2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it
easy to filter out which attributes in an argparse.Namespace were added by cmd2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed RecursionError when printing an argparse.Namespace caused by custom attribute cmd2 was adding</title>
<updated>2020-08-25T14:10:14+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-25T05:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=9b5a98825a9b00807a40494e8c634c392077ccd2'/>
<id>9b5a98825a9b00807a40494e8c634c392077ccd2</id>
<content type='text'>
Added get_statement() function to argparse.Namespace which returns __statement__ attribute
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added get_statement() function to argparse.Namespace which returns __statement__ attribute
</pre>
</div>
</content>
</entry>
<entry>
<title>Added cmd2.utils.Settable to the cmd2 namespace and updated examples and docs</title>
<updated>2020-02-05T04:01:30+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2020-02-05T04:01:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=40722f10ace3107dcb4709008239ac8233ada30f'/>
<id>40722f10ace3107dcb4709008239ac8233ada30f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a bunch of examples which were broken due to moving DEFAULT_SHORTCUTS from cmd2.py to constants.py</title>
<updated>2019-06-16T15:43:32+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2019-06-16T15:43:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=c08f48e254be65b9899f4597cd88f479c6442646'/>
<id>c08f48e254be65b9899f4597cd88f479c6442646</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed support for cmd.cmdqueue</title>
<updated>2019-06-11T21:39:11+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2019-06-11T21:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=77633bc4498d6f11b07ea0a3bd13d4830f809ff8'/>
<id>77633bc4498d6f11b07ea0a3bd13d4830f809ff8</id>
<content type='text'>
allow_cli_args is now an argument to __init__ instead of a cmd2 class member
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
allow_cli_args is now an argument to __init__ instead of a cmd2 class member
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor exit_code implementation</title>
<updated>2019-05-21T03:47:50+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2019-05-21T03:47:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=2f0dbf5bad19d96880e2ef795660db1b8f04cdc7'/>
<id>2f0dbf5bad19d96880e2ef795660db1b8f04cdc7</id>
<content type='text'>
cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer

Also:
- Refactored examples to call sys.exit(app.cmdloop()) in their __main__
- Running transcript tests now sets the exit_code accordingly based on success/failure
- Updated CHANGELOG
- Updated README
- Updated Sphinx docs
- Added unit test for case when transcript test fails
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer

Also:
- Refactored examples to call sys.exit(app.cmdloop()) in their __main__
- Running transcript tests now sets the exit_code accordingly based on success/failure
- Updated CHANGELOG
- Updated README
- Updated Sphinx docs
- Added unit test for case when transcript test fails
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into attributes</title>
<updated>2019-03-17T14:53:21+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2019-03-17T14:53:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=e28bce263802b94a79c974ddc2540075eb5301a2'/>
<id>e28bce263802b94a79c974ddc2540075eb5301a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated docs and example</title>
<updated>2019-03-17T04:52:34+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2019-03-17T04:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=40f75f7453c3df83d8e74a281ec1311d53b23eec'/>
<id>40f75f7453c3df83d8e74a281ec1311d53b23eec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed how shortcuts are set in examples</title>
<updated>2019-03-14T04:06:19+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2019-03-14T04:06:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=d2ebee4a6e55798f9d5fa41f8e2a200005b87cde'/>
<id>d2ebee4a6e55798f9d5fa41f8e2a200005b87cde</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>First stage of attribute refactoring</title>
<updated>2019-03-14T03:33:58+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2019-03-14T03:33:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=88b45e12b0c2c9e7f8e386504f2d6808f396560b'/>
<id>88b45e12b0c2c9e7f8e386504f2d6808f396560b</id>
<content type='text'>
The following are now arguments to cmd2.Cmd.__init__() instead of class attributes:
* allow_redirection
* multiline_commands
* terminators
* shortcuts

Added a couple read-only properties for convenience of cmd2.Cmd accessing immutable members from self.statement_parser
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following are now arguments to cmd2.Cmd.__init__() instead of class attributes:
* allow_redirection
* multiline_commands
* terminators
* shortcuts

Added a couple read-only properties for convenience of cmd2.Cmd accessing immutable members from self.statement_parser
</pre>
</div>
</content>
</entry>
</feed>
