<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/tests/test_argparse_completer.py, branch 2.3.3</title>
<subtitle>github.com: python-cmd2/cmd2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/'/>
<entry>
<title>Added unit tests for right-aligned numbers in completion hint tables</title>
<updated>2021-11-19T03:52:06+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-11-19T03:45:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=3243e9b6098291362ec7e5dc57eb9e4629f20815'/>
<id>3243e9b6098291362ec7e5dc57eb9e4629f20815</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ArgparseCompleter now sorts CompletionItems created with numerical values as numbers.</title>
<updated>2021-11-18T21:11:22+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-11-16T02:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=f2c4fd160d58aa540c7ccd0989d4e0e68ff56216'/>
<id>f2c4fd160d58aa540c7ccd0989d4e0e68ff56216</id>
<content type='text'>
Completion hint tables now right-align the left column if the hints have a numerical type.

Fixed issue introduced in 2.3.0 with AlternatingTable, BorderedTable, and SimpleTable that caused
header alignment settings to be overridden by data alignment settings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Completion hint tables now right-align the left column if the hints have a numerical type.

Fixed issue introduced in 2.3.0 with AlternatingTable, BorderedTable, and SimpleTable that caused
header alignment settings to be overridden by data alignment settings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added ability to use CompletionItems as argparse choices</title>
<updated>2021-11-18T21:11:22+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-11-15T20:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=75f8008287923cd7a1728d56502f4fda6343933b'/>
<id>75f8008287923cd7a1728d56502f4fda6343933b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Argparse tab completer will complete remaining flag names if there are no more positionals to complete.</title>
<updated>2021-09-07T17:14:50+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-09-02T18:45:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=967a8ba26746afa0a59e763f26f70805ab574868'/>
<id>967a8ba26746afa0a59e763f26f70805ab574868</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added ap_completer_type arg to Cmd2ArgumentParser.__init__().</title>
<updated>2021-09-01T17:33:22+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-08-31T20:41:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=81d5f0458ee767f4c1cd76cb9a8f4036beb15273'/>
<id>81d5f0458ee767f4c1cd76cb9a8f4036beb15273</id>
<content type='text'>
Added unit tests for custom ArgparseCompleter
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added unit tests for custom ArgparseCompleter
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored custom ArgparseCompleter functionality so they will now be set using methods on ArgumentParser objects.</title>
<updated>2021-09-01T17:33:22+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-08-25T20:54:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=bf558c5c774685c5806e38d349ab2e129b76ef6b'/>
<id>bf558c5c774685c5806e38d349ab2e129b76ef6b</id>
<content type='text'>
This fixes issue where subcommands did not use the correct custom ArgparseCompleter type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes issue where subcommands did not use the correct custom ArgparseCompleter type.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into topic_width</title>
<updated>2021-08-23T18:20:09+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-08-23T18:20:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=16e145a27ea7b4c2dc348699c8f4cc11be4dc0b6'/>
<id>16e145a27ea7b4c2dc348699c8f4cc11be4dc0b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Applied black format</title>
<updated>2021-08-23T18:17:12+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2021-08-19T21:22:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=0641c902df0778774768c55ddcca3a518f13e191'/>
<id>0641c902df0778774768c55ddcca3a518f13e191</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* New function `set_default_command_completer_type()` allows developer to extend and modify the</title>
<updated>2021-08-23T18:17:12+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2021-08-19T21:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=49805324772ec5fcd06217f4f0a241a9a8d07960'/>
<id>49805324772ec5fcd06217f4f0a241a9a8d07960</id>
<content type='text'>
  behavior of `ArgparseCompleter`.
* New function `register_argparse_argument_parameter()` allows developers to specify custom
  parameters to be passed to the argparse parser's `add_argument()` method. These parameters will
  become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  behavior of `ArgparseCompleter`.
* New function `register_argparse_argument_parameter()` allows developers to specify custom
  parameters to be passed to the argparse parser's `add_argument()` method. These parameters will
  become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>set command output now uses SimpleTable.</title>
<updated>2021-08-19T19:50:24+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-08-19T18:45:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=8ba05ef8bcdd53bdd54999cc9885ab310b766d9c'/>
<id>8ba05ef8bcdd53bdd54999cc9885ab310b766d9c</id>
<content type='text'>
Tabled tab completion now includes divider row.
Tab completion results for aliases, macros, and Settables wrap long fields.
SimpleTable now accepts blank for the divider character. It is identical to passing None.
Removed --verbose flag from set command so the descriptions always show.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tabled tab completion now includes divider row.
Tab completion results for aliases, macros, and Settables wrap long fields.
SimpleTable now accepts blank for the divider character. It is identical to passing None.
Removed --verbose flag from set command so the descriptions always show.
</pre>
</div>
</content>
</entry>
</feed>
