<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/cmd2/argparse_custom.py, branch codeql</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>The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are now</title>
<updated>2020-08-26T21:52:34+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-25T20:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=478ea83336a4d1659ad06ef365db3dc5e051e46d'/>
<id>478ea83336a4d1659ad06ef365db3dc5e051e46d</id>
<content type='text'>
Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it
easy to filter out which attributes in an argparse.Namespace were added by cmd2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it
easy to filter out which attributes in an argparse.Namespace were added by cmd2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug when trying to format help text of argument which used a tuple as its metavar</title>
<updated>2020-08-12T21:59:21+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-12T21:59:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=d12a601edb21ae1e9e637d820d1e53c4d3e90c45'/>
<id>d12a601edb21ae1e9e637d820d1e53c4d3e90c45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Breaking change: Removed cmd2 app as a required second parameter to</title>
<updated>2020-08-12T21:41:20+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-08-12T17:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=774fb39d7e259d0679c573b0d893293f9ed9aed9'/>
<id>774fb39d7e259d0679c573b0d893293f9ed9aed9</id>
<content type='text'>
CommandSet command functions (do_, complete_, help_).
Renamed install_command_set and uninstall_command_set to
register_command_set and unregister_command_set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CommandSet command functions (do_, complete_, help_).
Renamed install_command_set and uninstall_command_set to
register_command_set and unregister_command_set.
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor formatting fixes. Injecting a function into namespace objects before passing to command handlers to access sub-command handlers</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-08-04T15:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=4c0bdad9acd578536436246023ae884755089040'/>
<id>4c0bdad9acd578536436246023ae884755089040</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Now maintains a command-&gt;CommandSet mapping and passes the CommandSet</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>anselor</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-08-01T20:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=9d309939286f4944cb083dfd4f320c442bc99d76'/>
<id>9d309939286f4944cb083dfd4f320c442bc99d76</id>
<content type='text'>
through to the ArgparseCompleter if one is registered.
For subcommands, the registered argparse instance for the subcommand is now tagged with the
CommandSet from which it originated.
If a CommandSet is detected, it's now passed in as 'self' for the
completion functions.
Fixes some issue found with removing a subcommand.
Adds additional tests.
Added a check to prevent removal of a CommandSet if it has commands with sub-commands
from another CommandSet bound to it.
Documentation improvements.
Standardized around using CommandSetRegistrationException during commandset install/uninstall related errors.
Added support for nested sub-command injection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
through to the ArgparseCompleter if one is registered.
For subcommands, the registered argparse instance for the subcommand is now tagged with the
CommandSet from which it originated.
If a CommandSet is detected, it's now passed in as 'self' for the
completion functions.
Fixes some issue found with removing a subcommand.
Adds additional tests.
Added a check to prevent removal of a CommandSet if it has commands with sub-commands
from another CommandSet bound to it.
Documentation improvements.
Standardized around using CommandSetRegistrationException during commandset install/uninstall related errors.
Added support for nested sub-command injection.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated documentation</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-07-31T00:12:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=201e27ba23293cde3cf0e1bc8026b7442852c308'/>
<id>201e27ba23293cde3cf0e1bc8026b7442852c308</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated documentation</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-07-31T00:08:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=659d1660b3d0435eaaabfbf74ab49bea7636da10'/>
<id>659d1660b3d0435eaaabfbf74ab49bea7636da10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed typo in documentation</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-07-30T16:47:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=374153366c36bb48dd6caf48995b9f0372ca0d91'/>
<id>374153366c36bb48dd6caf48995b9f0372ca0d91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed sub-class and instead patch argparse._SubParsersAction</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-07-30T05:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=dac009f17c58df4b8d4dbcd3c621bf6ef2481a96'/>
<id>dac009f17c58df4b8d4dbcd3c621bf6ef2481a96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Suggested PR Fixes.</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-07-29T21:59:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=105369bdd15c2067b3ee6bdd6a737733a34c38ef'/>
<id>105369bdd15c2067b3ee6bdd6a737733a34c38ef</id>
<content type='text'>
sub-commande =&gt; subcommand
Added help/aliases to `as_subcommand_to` decorator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sub-commande =&gt; subcommand
Added help/aliases to `as_subcommand_to` decorator.
</pre>
</div>
</content>
</entry>
</feed>
