<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/examples/argparse_example.py, branch 0.9.1</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>Standardize cmd2 imports in tests and examples</title>
<updated>2018-05-24T03:16:17+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-05-24T03:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=6780baa83457f7e99ba3a9c4f6a3c27701326ac5'/>
<id>6780baa83457f7e99ba3a9c4f6a3c27701326ac5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'test_merge' into test_ply_merge</title>
<updated>2018-05-02T19:22:14+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-05-02T19:22:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=a55f0b6ed559d03f2d8b596898d638b288c11a68'/>
<id>a55f0b6ed559d03f2d8b596898d638b288c11a68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>multilineCommands -&gt; multiline_commands</title>
<updated>2018-04-29T21:29:54+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-04-29T21:29:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=7b2d8a23b978f408cc1fe949e23c0aae97ed54a3'/>
<id>7b2d8a23b978f408cc1fe949e23c0aae97ed54a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed the expensive imports from cmd2/__init__.py</title>
<updated>2018-04-25T15:40:33+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-04-25T15:40:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=e018bbd79b2ddc0cf2538dff84baa8b2bf460ccd'/>
<id>e018bbd79b2ddc0cf2538dff84baa8b2bf460ccd</id>
<content type='text'>
Added some shared definitions to cmd2/__init__.py -&gt; maybe there's a better place for these?
Figured out how to trick bash into showing argument hints. It's a bit weird.
Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py
For #369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added some shared definitions to cmd2/__init__.py -&gt; maybe there's a better place for these?
Figured out how to trick bash into showing argument hints. It's a bit weird.
Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py
For #369
</pre>
</div>
</content>
</entry>
<entry>
<title>Started removing dependency on six</title>
<updated>2018-04-15T21:26:29+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-04-15T21:26: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=60dddb03d05ccf4088242a524e624f61782dd40f'/>
<id>60dddb03d05ccf4088242a524e624f61782dd40f</id>
<content type='text'>
Removed all dependency on six other than for six.moves.input

Also:
- Started removing code branches which were for Python 2 support
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed all dependency on six other than for six.moves.input

Also:
- Started removing code branches which were for Python 2 support
</pre>
</div>
</content>
</entry>
<entry>
<title>Deleted optparse code which had been previously deprecated in 0.8.0 release</title>
<updated>2018-04-10T05:11:09+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-04-10T05:11: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=43e6ae2ec979c04a81f7fc992c6b836f09043a92'/>
<id>43e6ae2ec979c04a81f7fc992c6b836f09043a92</id>
<content type='text'>
Also:
- Bumped version to 0.8.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Bumped version to 0.8.4
</pre>
</div>
</content>
</entry>
<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>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>Improved how new argparse-based decorators provide help</title>
<updated>2018-01-17T18:48:13+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-01-17T18:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=b034f6d2de92a784853ddeef4e51b26148056691'/>
<id>b034f6d2de92a784853ddeef4e51b26148056691</id>
<content type='text'>
Now "help command_name" and "command_name -h" provide exactly the same text.

The function docstring for the "do_*" command sets and overrides the ArgumentParser "description" if the docstring is not empty.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now "help command_name" and "command_name -h" provide exactly the same text.

The function docstring for the "do_*" command sets and overrides the ArgumentParser "description" if the docstring is not empty.
</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>
</feed>
