<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/docs/argument_processing.rst, branch 0.8.0</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>Renamed @with_argument_parser decorator to @with_argparser</title>
<updated>2018-01-22T03:24:09+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-22T03:24:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=c9f7c012bda012b4df7a8c5e853bd5d3e6d99b1b'/>
<id>c9f7c012bda012b4df7a8c5e853bd5d3e6d99b1b</id>
<content type='text'>
Also:
- Reanamed foo and bar subcommand methods to base_foo and base_bar
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Reanamed foo and bar subcommand methods to base_foo and base_bar
</pre>
</div>
</content>
</entry>
<entry>
<title>Added unit tests for newly-overridden complete() method</title>
<updated>2018-01-20T23:04:43+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-20T23:04:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=bd948d727e0e13fa5fd77199c06fcd3dfdda9b39'/>
<id>bd948d727e0e13fa5fd77199c06fcd3dfdda9b39</id>
<content type='text'>
Also added a section on Sub-commands to the documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also added a section on Sub-commands to the documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplified a few argparse examples and fixed some incorrect documentation</title>
<updated>2018-01-18T02:43:20+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-18T02:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=03f15696076b04a2881562a0429a435e61ffd92c'/>
<id>03f15696076b04a2881562a0429a435e61ffd92c</id>
<content type='text'>
I eliminated a few "narg=1" configurations so that a single str value is returned instead of a List[str].

I also reworded some documentation which was no longer correct after the last commit which made "history command" have the same help text as "command -h" when using one of the two argparse decorators.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I eliminated a few "narg=1" configurations so that a single str value is returned instead of a List[str].

I also reworded some documentation which was no longer correct after the last commit which made "history command" have the same help text as "command -h" when using one of the two argparse decorators.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revised some of the Sphinx documentation which referenced the deprecated @options optparse-based decorator</title>
<updated>2018-01-15T21:08:31+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-15T21:08:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=d588bd137ec9ccdbe62f3acb5ed46e2fbd128abb'/>
<id>d588bd137ec9ccdbe62f3acb5ed46e2fbd128abb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed @with_argument_parser to only pass single argument to commands</title>
<updated>2018-01-15T17:11:12+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-15T17:11:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=eee2d621abfb3d6455570b540069a4853a68f8c6'/>
<id>eee2d621abfb3d6455570b540069a4853a68f8c6</id>
<content type='text'>
Also added another @with_argparser_and_list decorator that uses argparse.parse_known_args to pass two arguments to a command:  both the argparse output and a list of unknown/unmatched args.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also added another @with_argparser_and_list decorator that uses argparse.parse_known_args to pass two arguments to a command:  both the argparse output and a list of unknown/unmatched args.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove use_argument_list attribute</title>
<updated>2018-01-15T03:54:09+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-01-15T03:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=eac6929c75195dba07da5d183c485918bb6899cf'/>
<id>eac6929c75195dba07da5d183c485918bb6899cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>new @with_argument_list decorator</title>
<updated>2018-01-13T05:28:29+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-01-13T05:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=c26b00853633c7df8cdee0ee49b3596154bb09c1'/>
<id>c26b00853633c7df8cdee0ee49b3596154bb09c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>@with_argument_parser now passes an arglist instead of a string</title>
<updated>2018-01-13T04:07:44+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-01-13T04:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=19c0586b45204ac264038ce23da89858aefda46f'/>
<id>19c0586b45204ac264038ce23da89858aefda46f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial doc change to get readthedocs to rebuild</title>
<updated>2018-01-11T01:29:02+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-11T01:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=0a03ab88f8bb70cc2f384c0b98a18bdead7bd417'/>
<id>0a03ab88f8bb70cc2f384c0b98a18bdead7bd417</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Write documentation</title>
<updated>2018-01-08T03:19:19+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-01-08T03:19: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=17d662b8a05febeda1320ea259a49d920350dad5'/>
<id>17d662b8a05febeda1320ea259a49d920350dad5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
