<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/docs/argument_processing.rst, 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>Added warning to documentation about how help_foo won't be called for command foo if it uses an argparse decorator</title>
<updated>2018-10-06T23:27:08+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-06T23:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=d0654e136ae19837d8659b064205115ce59f940f'/>
<id>d0654e136ae19837d8659b064205115ce59f940f</id>
<content type='text'>
Also:
- Renamed argparse_example.py to decorator_example.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Renamed argparse_example.py to decorator_example.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Added documentation stating that parsers passed to argparse decorators need to be unique</title>
<updated>2018-10-06T23:07:00+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-06T23:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=e018924a28443e8e6f608d9b9796b2b826653490'/>
<id>e018924a28443e8e6f608d9b9796b2b826653490</id>
<content type='text'>
Also:
- Modified table_display.py to demonstrate a workaround
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Modified table_display.py to demonstrate a workaround
</pre>
</div>
</content>
</entry>
<entry>
<title>Docstring updates</title>
<updated>2018-09-10T02:56:24+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-09-10T02:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=0e8ab46adfbeac86291899115a28a36f6eb066bc'/>
<id>0e8ab46adfbeac86291899115a28a36f6eb066bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added/updated documentation for `Statement`</title>
<updated>2018-09-10T02:05:08+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-09-10T02:05:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=63f0aa3256ef4422c2b3eab3d9ea0d44a15cc93e'/>
<id>63f0aa3256ef4422c2b3eab3d9ea0d44a15cc93e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecated CmdResult helper class and promoted CommandResult</title>
<updated>2018-06-23T23:43:42+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-06-23T23:43:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=c8381601e4e3b31969ea6108617356572a7d1ca3'/>
<id>c8381601e4e3b31969ea6108617356572a7d1ca3</id>
<content type='text'>
These classes are subtly different, particularly in terms of their truthiness.

CmdResult
- attributes:  out, err, war
- truthy:  if err is falsy

CommandResult
- attributes:  stdout, stderr, data
- truthy:  if err is falsy AND data is not None

So CmdResult was oriented to provide essentially info, error, and warning messages to the user (typically as stirngs), whereas CommandResult is geared towards providing info and error messages to the user as strings in addition to data to the user in a command-specific format which is arbitrary other than it should never be None if the command succeeds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These classes are subtly different, particularly in terms of their truthiness.

CmdResult
- attributes:  out, err, war
- truthy:  if err is falsy

CommandResult
- attributes:  stdout, stderr, data
- truthy:  if err is falsy AND data is not None

So CmdResult was oriented to provide essentially info, error, and warning messages to the user (typically as stirngs), whereas CommandResult is geared towards providing info and error messages to the user as strings in addition to data to the user in a command-specific format which is arbitrary other than it should never be None if the command succeeds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added some documentation related to the latest changes.</title>
<updated>2018-04-22T02:54:29+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-04-22T02:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=967f320e888fcf671768fc4d7d8838a6f6609b4f'/>
<id>967f320e888fcf671768fc4d7d8838a6f6609b4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into delete_optparse</title>
<updated>2018-04-11T23:06:00+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>toleonha@microsoft.com</email>
</author>
<published>2018-04-11T23:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=f2ade23f8a326ff67cbb86a6d2fdd555e3f992e4'/>
<id>f2ade23f8a326ff67cbb86a6d2fdd555e3f992e4</id>
<content type='text'>
# Conflicts:
#	cmd2.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	cmd2.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a with_category decorator that can be used to tag a command category.</title>
<updated>2018-04-11T19:11:52+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-04-11T19:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=33decb449c61e2a78877563309929c4686ea081e'/>
<id>33decb449c61e2a78877563309929c4686ea081e</id>
<content type='text'>
Changed the detection of with_argparse decorated commands to be less hacky/brittle.
  Now it tags the function with help_summary.
Fixed issue with handling commands that provide a custom help_ function. We can now
redirect the output to a string to be formatted with the other commands.
Added some documentation explaining the new help categories.
Updated unit tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed the detection of with_argparse decorated commands to be less hacky/brittle.
  Now it tags the function with help_summary.
Fixed issue with handling commands that provide a custom help_ function. We can now
redirect the output to a string to be formatted with the other commands.
Added some documentation explaining the new help categories.
Updated unit tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Deleted optparse code which had been previously deprecated in 0.8.0 release</title>
<updated>2018-04-10T05:11:09+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-04-10T05:11:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=43e6ae2ec979c04a81f7fc992c6b836f09043a92'/>
<id>43e6ae2ec979c04a81f7fc992c6b836f09043a92</id>
<content type='text'>
Also:
- Bumped version to 0.8.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Bumped version to 0.8.4
</pre>
</div>
</content>
</entry>
<entry>
<title>Documented cmd_with_subs_completer function</title>
<updated>2018-03-16T23:36:22+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2018-03-16T23:36: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=305ed55baeeec94610c9d6662bf6f71a928c8932'/>
<id>305ed55baeeec94610c9d6662bf6f71a928c8932</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
