<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/examples, branch 0.9.5</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>Added code to handle -- in argparse completer</title>
<updated>2018-10-10T22:08:11+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-10-10T22:08: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=9b43502ab70d1bd013a4cdede4805c2c0819c8c4'/>
<id>9b43502ab70d1bd013a4cdede4805c2c0819c8c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added warning to documentation about how help_foo won't be called for command foo if it uses an argparse decorator</title>
<updated>2018-10-06T23:27:08+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-06T23:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=d0654e136ae19837d8659b064205115ce59f940f'/>
<id>d0654e136ae19837d8659b064205115ce59f940f</id>
<content type='text'>
Also:
- Renamed argparse_example.py to decorator_example.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Renamed argparse_example.py to decorator_example.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Added documentation stating that parsers passed to argparse decorators need to be unique</title>
<updated>2018-10-06T23:07:00+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-06T23:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=e018924a28443e8e6f608d9b9796b2b826653490'/>
<id>e018924a28443e8e6f608d9b9796b2b826653490</id>
<content type='text'>
Also:
- Modified table_display.py to demonstrate a workaround
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Modified table_display.py to demonstrate a workaround
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved main.py to exampels/hello_cmd2.py and added some comments</title>
<updated>2018-10-06T22:33:25+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-06T22:33:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=a77be185c245e4cd04fe348e050a177b9b327471'/>
<id>a77be185c245e4cd04fe348e050a177b9b327471</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into argparse_remainder</title>
<updated>2018-10-06T18:15:23+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-10-06T18:15:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=fb575e41251156a90044055e8a352079e4f75866'/>
<id>fb575e41251156a90044055e8a352079e4f75866</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 few edge cases:</title>
<updated>2018-10-06T17:47:12+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-10-06T17:47: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=b0d44379e3cecc2171ded506c58b74ee6e596670'/>
<id>b0d44379e3cecc2171ded506c58b74ee6e596670</id>
<content type='text'>
 - Once the argument list can match a positional and that positional is tagged
   with nargs=argparse.REMAINDER it will consume all tokens including flag tokens.
   AutoCompleter now correctly detects this case will no longer attempt to complete
   flag tokens
 - A single-character token that is a flag prefix doesn't count as a flag and is
   parsed as a value. AutoCompleter now correctly detects this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Once the argument list can match a positional and that positional is tagged
   with nargs=argparse.REMAINDER it will consume all tokens including flag tokens.
   AutoCompleter now correctly detects this case will no longer attempt to complete
   flag tokens
 - A single-character token that is a flag prefix doesn't count as a flag and is
   parsed as a value. AutoCompleter now correctly detects this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added handling of nargs=argparse.REMAINDER in both AutoCompleter and ArgparseFunctor</title>
<updated>2018-10-06T17:17:17+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-10-06T17:17: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=96bcfe012b3b1659dbd0244ac6c4a43dfb5328d6'/>
<id>96bcfe012b3b1659dbd0244ac6c4a43dfb5328d6</id>
<content type='text'>
Should correctly force all subsequent arguments to go to the REMAINDER argument once it is detected.
Re-arranged the command generation in ArgparseFunctor to print flag arguments before positionals
Also forces the remainder arguments to always be last.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should correctly force all subsequent arguments to go to the REMAINDER argument once it is detected.
Re-arranged the command generation in ArgparseFunctor to print flag arguments before positionals
Also forces the remainder arguments to always be last.
</pre>
</div>
</content>
</entry>
<entry>
<title>Using sub-command instead of subcommand where possible to be consistent with argparse</title>
<updated>2018-10-05T17:32:04+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-10-05T17:32: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=734796b895bb85d67c651d9e8e8bf71e7d60b7e3'/>
<id>734796b895bb85d67c651d9e8e8bf71e7d60b7e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Made hooks.py executable</title>
<updated>2018-09-28T18:44:41+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-09-28T18:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=2cbc5cf234a353b94740f167b5b8564bbd2fc900'/>
<id>2cbc5cf234a353b94740f167b5b8564bbd2fc900</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated abbreviation example to use new cmd2 function to resolve command functions</title>
<updated>2018-09-28T18:42:09+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-09-28T18:42: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=f8a285b6dc32737337a6b54b028d068fe278e3df'/>
<id>f8a285b6dc32737337a6b54b028d068fe278e3df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
