<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/docs/argument_processing.rst, branch 0.9.8</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>Minor doc updates that fix a few typos and inaccuracies</title>
<updated>2019-02-07T01:38:23+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2019-02-07T01:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=ec404a6451a608ae6fcc34420b7abf8ae436d464'/>
<id>ec404a6451a608ae6fcc34420b7abf8ae436d464</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed a few unecessary newlines</title>
<updated>2018-10-26T18:37:37+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-26T18:37:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=c71fc7188e8c2b652a7cf086bb0978c0a6314144'/>
<id>c71fc7188e8c2b652a7cf086bb0978c0a6314144</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved documentation for argument parsing decorators</title>
<updated>2018-10-26T18:32:33+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-26T18:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=2e831b5da256e3fba269964444919ff74d718d88'/>
<id>2e831b5da256e3fba269964444919ff74d718d88</id>
<content type='text'>
Also:
- Improved type hinting for these decorators
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Improved type hinting for these decorators
</pre>
</div>
</content>
</entry>
<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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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>
</feed>
