<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/example, branch python2</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>Changes to make our project as welcoming as possible for new contributors.</title>
<updated>2017-02-26T22:19:15+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-02-26T22:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=552c02561e8e79b9b2e658453f269fba68fab9a5'/>
<id>552c02561e8e79b9b2e658453f269fba68fab9a5</id>
<content type='text'>
Changes include:
1) Added CONTRIBUTING.md with detailed instructions for how to contribute, which should be especially useful to those new to open source in general or GitHub in particular
2) Added CODE_OF_CONDUCT.md which sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment
3) Renamed the "example" directory to "examples" in the hope that one day soon there may be more than a single example ;-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes include:
1) Added CONTRIBUTING.md with detailed instructions for how to contribute, which should be especially useful to those new to open source in general or GitHub in particular
2) Added CODE_OF_CONDUCT.md which sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment
3) Renamed the "example" directory to "examples" in the hope that one day soon there may be more than a single example ;-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Added optional parameter to cmd2.Cmd.__init() to enable an "ipy" command.</title>
<updated>2017-02-18T22:45:03+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-02-18T22:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=f547ca26deeab436e875f4f3fdefe6c733445293'/>
<id>f547ca26deeab436e875f4f3fdefe6c733445293</id>
<content type='text'>
If IPython is installed AND the __init__ initilizer is passed a "use_ipython" keyword argument set to "True", then and "ipy" command will be present.

This ipy command starts an interactive IPython shell embedded within the cmd2 application.  This IPython shell has access to all of the local variables (e.g. self), but any modifications made within it will NOT persist once it is exited.  This IPython shell doesn't have tight integration with the Python interpreter running the cmd2 application like the Python interpreter available with the "py" command.  However, due to features such as tab-completion and built-in help, the IPython shell is a lot more efficient for developers to use to debug their cmd2 applications - the introspection on self is extremely useful for getting to the bottom of thorny debugging problems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If IPython is installed AND the __init__ initilizer is passed a "use_ipython" keyword argument set to "True", then and "ipy" command will be present.

This ipy command starts an interactive IPython shell embedded within the cmd2 application.  This IPython shell has access to all of the local variables (e.g. self), but any modifications made within it will NOT persist once it is exited.  This IPython shell doesn't have tight integration with the Python interpreter running the cmd2 application like the Python interpreter available with the "py" command.  However, due to features such as tab-completion and built-in help, the IPython shell is a lot more efficient for developers to use to debug their cmd2 applications - the introspection on self is extremely useful for getting to the bottom of thorny debugging problems.
</pre>
</div>
</content>
</entry>
<entry>
<title>Documented undocumented commands and removed command aliases.</title>
<updated>2017-02-06T01:19:02+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-02-06T01:19:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=def2bb90533f72ddd4b8909c0160cf643e19f765'/>
<id>def2bb90533f72ddd4b8909c0160cf643e19f765</id>
<content type='text'>
The out-of-the-box help menu now looks a lot cleaner:
- All redundant command aliases have been removed
(NOTE: They can still be used if self.abbrev is True, which is the default)
- All previously undocumented commands have been documented
- Unit tests and README.rst documentation has been updated to reflect new behavior
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The out-of-the-box help menu now looks a lot cleaner:
- All redundant command aliases have been removed
(NOTE: They can still be used if self.abbrev is True, which is the default)
- All previously undocumented commands have been documented
- Unit tests and README.rst documentation has been updated to reflect new behavior
</pre>
</div>
</content>
</entry>
<entry>
<title>Added unit tests for the edit command.</title>
<updated>2017-02-04T23:46:14+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-02-04T23:46: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=4ad08851a03171c747d7f071355ec7ad64bc1e78'/>
<id>4ad08851a03171c747d7f071355ec7ad64bc1e78</id>
<content type='text'>
With os.system() call mocked out to prevent actually opening an editor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With os.system() call mocked out to prevent actually opening an editor.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed header comment in cmd2.py to refer to GitHub repo instead of old assembla mercurial one. Also changed exampleSession.txt example transcript to not include the "set" command since the output was platform dependent due to the default editor varying.</title>
<updated>2017-01-24T03:00:05+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-01-24T03:00:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=bc57f016e603ec9e92c8a15d366e76d07d7dd762'/>
<id>bc57f016e603ec9e92c8a15d366e76d07d7dd762</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>For do_py(), moved the definition of the run() command earlier.</title>
<updated>2017-01-11T22:04:08+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-01-11T22:04: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=d21e6ae899b9ac8c53178946675ed7ca80af084a'/>
<id>d21e6ae899b9ac8c53178946675ed7ca80af084a</id>
<content type='text'>
This is so that it will allow the user to run a Python script directly from the Cmd prompt even before an interactive Python shell has ever been invoked via:
    py run('script.py')

This fixes a bug where it wouldn't allow that to occur until the user entered just "py" at the Cmd prompt.

Also added a trivial Python script script.py to the example directory for the purposes of testing script execution.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is so that it will allow the user to run a Python script directly from the Cmd prompt even before an interactive Python shell has ever been invoked via:
    py run('script.py')

This fixes a bug where it wouldn't allow that to occur until the user entered just "py" at the Cmd prompt.

Also added a trivial Python script script.py to the example directory for the purposes of testing script execution.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed example.py and exampleSession.txt so that the example runs and the test passes when running "python example.py -t exampleSession.txt".</title>
<updated>2017-01-11T17:22:19+00:00</updated>
<author>
<name>TL</name>
<email>tleonhardt@sigovs.com</email>
</author>
<published>2017-01-11T17:22:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=30e55d72351b367a1c303cc1d52c2bfaf950ccec'/>
<id>30e55d72351b367a1c303cc1d52c2bfaf950ccec</id>
<content type='text'>
Also made the front-page documentation consistent so it references the actual code and text in this modified example.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also made the front-page documentation consistent so it references the actual code and text in this modified example.
</pre>
</div>
</content>
</entry>
<entry>
<title>Whitespace change to be mostly PEP8 compliant</title>
<updated>2016-12-10T04:00:45+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2016-12-10T04:00:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/cmd2-git.git/commit/?id=a877819f54a95ba6add0c9cf10d94dd127b0b627'/>
<id>a877819f54a95ba6add0c9cf10d94dd127b0b627</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>First stage of refactoring to support full simultaneous Python 2 and 3 compatibility via use of the six module.</title>
<updated>2016-12-09T21:54:10+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2016-12-09T21:54: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=06331d3ab75feb807dc48d824cbd54898a6b6cdd'/>
<id>06331d3ab75feb807dc48d824cbd54898a6b6cdd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor cleanup</title>
<updated>2016-02-23T22:49:17+00:00</updated>
<author>
<name>Federico Ceratto</name>
<email>federico.ceratto@gmail.com</email>
</author>
<published>2016-02-23T22:49: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=d37d349a1a0319f9735af9ffdf6bd976f6f41ee9'/>
<id>d37d349a1a0319f9735af9ffdf6bd976f6f41ee9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
