<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/cmd2/constants.py, branch 2.2.0</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>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>* 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>Merge branch 'master' into 2.0</title>
<updated>2020-09-18T03:44:07+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-09-18T03:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=0f11ffa3b992e3f777b96dfe46d4274bfca0dcc8'/>
<id>0f11ffa3b992e3f777b96dfe46d4274bfca0dcc8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes default category to be heritable by default - meaning that subclasses will inherit the parent class's default category.</title>
<updated>2020-09-11T17:50:45+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2020-09-10T13:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=872da20feba57f42dde204da01dc48c4c87e1b54'/>
<id>872da20feba57f42dde204da01dc48c4c87e1b54</id>
<content type='text'>
Adds optional flag to disable heritability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds optional flag to disable heritability.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed Namespace.__statement__</title>
<updated>2020-08-27T17:48:45+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-27T17:48:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=6b5065e77715c6bab45f3a57eb5b97e3cbe4b86d'/>
<id>6b5065e77715c6bab45f3a57eb5b97e3cbe4b86d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed RecursionError when printing an argparse.Namespace caused by custom attribute cmd2 was adding</title>
<updated>2020-08-25T14:10:14+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2020-08-25T05:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=9b5a98825a9b00807a40494e8c634c392077ccd2'/>
<id>9b5a98825a9b00807a40494e8c634c392077ccd2</id>
<content type='text'>
Added get_statement() function to argparse.Namespace which returns __statement__ attribute
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added get_statement() function to argparse.Namespace which returns __statement__ attribute
</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://git.baserock.org/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>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>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>
