<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/cmd2/decorators.py, branch 1.3.3</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>When passing a ns_provider to an argparse command, will now attempt to resolve the correct CommandSet instance for self. If not, it'll fall back and pass in the cmd2 app</title>
<updated>2020-08-12T21:41:20+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-08-12T18:51:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=133e71a5a3074fc21fa52532d00c4d2364964cd3'/>
<id>133e71a5a3074fc21fa52532d00c4d2364964cd3</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://91.123.203.49/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>Moved code which copies subparser's settings to _register_subcommands().</title>
<updated>2020-08-07T19:26:40+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-07T19:26:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=3ada4bd53925ca20fdeb16fa971814637dc42e4d'/>
<id>3ada4bd53925ca20fdeb16fa971814637dc42e4d</id>
<content type='text'>
Changed alias and macro commands to use as_subcommand_to() decorator.
Updated CommandSet subcommand example to use help and description text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed alias and macro commands to use as_subcommand_to() decorator.
Updated CommandSet subcommand example to use help and description text.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed prog value of subcommands added with as_subcommand_to() decorator.</title>
<updated>2020-08-07T18:53:56+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-07T18:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=2049496815bc0e46db2371f9173c0cef7496e706'/>
<id>2049496815bc0e46db2371f9173c0cef7496e706</id>
<content type='text'>
Fixed missing settings in subcommand parsers created with as_subcommand_to() decorator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed missing settings in subcommand parsers created with as_subcommand_to() decorator.
</pre>
</div>
</content>
</entry>
<entry>
<title>Marked with_arparser_and_unknown_args deprecated and consolidated</title>
<updated>2020-08-04T19:24:53+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-08-04T17:46: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=1a82b37b6c23490b1d9127095e3ee4f2db21a85b'/>
<id>1a82b37b6c23490b1d9127095e3ee4f2db21a85b</id>
<content type='text'>
implementation as an option to with_argparser instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
implementation as an option to with_argparser instead.
</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://91.123.203.49/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://91.123.203.49/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>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://91.123.203.49/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>
<entry>
<title>Adds support for injectable subcommands as part of CommandSet</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-07-27T15:43:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=3a6db395cb28b5b13dde38284dc22791583012fa'/>
<id>3a6db395cb28b5b13dde38284dc22791583012fa</id>
<content type='text'>
load/unload.
Updated examples and documentation to include discussion of injectable
sub-commands.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
load/unload.
Updated examples and documentation to include discussion of injectable
sub-commands.
</pre>
</div>
</content>
</entry>
<entry>
<title>updated imports</title>
<updated>2020-08-04T17:38:08+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-07-24T16:21:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=06cee9126839c465a356f8b44a5f008853eb8cad'/>
<id>06cee9126839c465a356f8b44a5f008853eb8cad</id>
<content type='text'>
Added additional documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added additional documentation
</pre>
</div>
</content>
</entry>
</feed>
