<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/cmd2/argparse_completer.py, 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>Fixed issue where flag at beginning of REMAINDER section was tab completing</title>
<updated>2018-10-10T23:09:22+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-10-10T23:09:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=ebd6668db1a4a1dfcf2937559f2fbe5a4f58dc48'/>
<id>ebd6668db1a4a1dfcf2937559f2fbe5a4f58dc48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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 tests for token_resembles_flag</title>
<updated>2018-10-09T22:50:07+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-10-09T22:50:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=e7a11bdb96ba259d6dd6302ac053a6e4c78aea07'/>
<id>e7a11bdb96ba259d6dd6302ac053a6e4c78aea07</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added ability for argcompleter to determine difference between flag and negative number</title>
<updated>2018-10-09T22:10:55+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-10-09T22:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=9b1bfab6e2a908d119e46bcc70e98d94739ab4a4'/>
<id>9b1bfab6e2a908d119e46bcc70e98d94739ab4a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed unit test failures and addressed code review comments</title>
<updated>2018-10-06T22:19:48+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-06T22:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=5fbbc53939b5cf48894e6853852211ec036c7e02'/>
<id>5fbbc53939b5cf48894e6853852211ec036c7e02</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>Fixed usage statement where options were still appearing after the positionals</title>
<updated>2018-09-27T13:59:44+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-09-27T13:59: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=d4c807555208426b6a4dca224c8ad066185c6e09'/>
<id>d4c807555208426b6a4dca224c8ad066185c6e09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
