<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/examples/arg_printer.py, branch python2</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>Moved example scripts from examples to examples/scripts directly</title>
<updated>2017-06-21T10:54:58+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-06-21T10:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=98b57f380d4bedbbe9a0eea174075f8c62aea6bd'/>
<id>98b57f380d4bedbbe9a0eea174075f8c62aea6bd</id>
<content type='text'>
Cleaned up the examples directory by adding a scripts subdirectory.

This makes it a bit clearer which Python files are example cmd2 applications and which are example Python scripts for use with the pyscript command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleaned up the examples directory by adding a scripts subdirectory.

This makes it a bit clearer which Python files are example cmd2 applications and which are example Python scripts for use with the pyscript command.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated documentation and examples</title>
<updated>2017-06-15T00:03:05+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-06-15T00:03:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=63d5be91462d897d8fb37b31802dab464d879c87'/>
<id>63d5be91462d897d8fb37b31802dab464d879c87</id>
<content type='text'>
Added information related to the new pyscript command.

The old way of running Python scripts via "py run()" should be considered deprecated.  The new "pyscript" command
is superior in two significant ways:
1) It supports tab-completion of file system paths
2) It allows the user to pass command-line arguments to scripts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added information related to the new pyscript command.

The old way of running Python scripts via "py run()" should be considered deprecated.  The new "pyscript" command
is superior in two significant ways:
1) It supports tab-completion of file system paths
2) It allows the user to pass command-line arguments to scripts
</pre>
</div>
</content>
</entry>
<entry>
<title>Added new pyscript command</title>
<updated>2017-06-13T18:49:22+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>tleonhardt@gmail.com</email>
</author>
<published>2017-06-13T18:49:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=34c4f3ce4b778d95a67a7d66ed98682ba7464f67'/>
<id>34c4f3ce4b778d95a67a7d66ed98682ba7464f67</id>
<content type='text'>
This command is explicitly for running Python script files within an embedded Python interpreter.

The advantages over the py command with "run" are:
- Tab-completion of file system paths is supported
- Command-line arguments can be passed to the Python script
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This command is explicitly for running Python script files within an embedded Python interpreter.

The advantages over the py command with "run" are:
- Tab-completion of file system paths is supported
- Command-line arguments can be passed to the Python script
</pre>
</div>
</content>
</entry>
</feed>
