<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/cmd2/__init__.py, 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>Use setuptools_scm for version numbers</title>
<updated>2018-07-30T00:15:14+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-07-30T00:15:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=4da2d373319ef03d62dd5b0bbd1a8e7609a6c483'/>
<id>4da2d373319ef03d62dd5b0bbd1a8e7609a6c483</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>Working on improving type hinting</title>
<updated>2018-06-09T22:57:13+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-06-09T22:57:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=6f06dd97b30ba2bed40d580f3dc966dc9be103fd'/>
<id>6f06dd97b30ba2bed40d580f3dc966dc9be103fd</id>
<content type='text'>
Also:
- Refactored perror() to remove a rarely used optional argument which was unecessary
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Refactored perror() to remove a rarely used optional argument which was unecessary
</pre>
</div>
</content>
</entry>
<entry>
<title>Add EmptyStatement exception to default imports</title>
<updated>2018-05-24T04:33:09+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-05-24T04:33: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=9217bfc6bab0d152e33d9fda60218c404b61d064'/>
<id>9217bfc6bab0d152e33d9fda60218c404b61d064</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Statement to default import</title>
<updated>2018-05-15T15:26:17+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-05-15T15:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=2973d1294755312a0f0414d12a7928374f5c7d59'/>
<id>2973d1294755312a0f0414d12a7928374f5c7d59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract AddSubmenu() into it’s own module</title>
<updated>2018-05-06T22:03:32+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-05-06T22:03:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=ccfdf0f92043b1a28b871335c50caf6399e99982'/>
<id>ccfdf0f92043b1a28b871335c50caf6399e99982</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add default imports back in</title>
<updated>2018-05-06T17:31:53+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2018-05-06T17:31:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=fbbfe256cd23f87e5aad1dc4858c5e7c7753352b'/>
<id>fbbfe256cd23f87e5aad1dc4858c5e7c7753352b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Addressed comments.</title>
<updated>2018-05-02T18:13:12+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-05-02T18:13:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=148f05d0af66f38c8ba6ca3a5619f50a8bb1b8a9'/>
<id>148f05d0af66f38c8ba6ca3a5619f50a8bb1b8a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into bash_completion</title>
<updated>2018-04-28T02:57:47+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-04-28T02:57: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=452c396c1b3b417a1e085d5b4ab192bbc13d34b8'/>
<id>452c396c1b3b417a1e085d5b4ab192bbc13d34b8</id>
<content type='text'>
Updated argcomplete_bridge to use new constants/utils.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated argcomplete_bridge to use new constants/utils.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed the expensive imports from cmd2/__init__.py</title>
<updated>2018-04-25T15:40:33+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2018-04-25T15:40:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=e018bbd79b2ddc0cf2538dff84baa8b2bf460ccd'/>
<id>e018bbd79b2ddc0cf2538dff84baa8b2bf460ccd</id>
<content type='text'>
Added some shared definitions to cmd2/__init__.py -&gt; maybe there's a better place for these?
Figured out how to trick bash into showing argument hints. It's a bit weird.
Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py
For #369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added some shared definitions to cmd2/__init__.py -&gt; maybe there's a better place for these?
Figured out how to trick bash into showing argument hints. It's a bit weird.
Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py
For #369
</pre>
</div>
</content>
</entry>
</feed>
