Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: feature/refact…
Commits on Dec 30, 2011
  1. Move documentation to top-level.

    Zearin authored
    Following the examples I’ve seen in other Python projects.
Commits on Dec 26, 2011
  1. (Messy!) fix for some import errors.

    Zearin authored
    After swearing off Eclipse for many many years, I shamefully started using it again for the functionality provided by the PyDev plug-in.
    Despite living in the world’s ugliest IDE, PyDev is SUPER helpful in spotting errors and resolving dependencies.  I tip my hat to the PyDev folks!
Commits on Nov 15, 2011
  1. Defined `__package__`

    Zearin authored
  2. Various Python3 edits.

    Zearin authored
    * using `isinstance()` on files checks against 2 classes instead of just 1 (a match for either returns true)
    * remove `u` from the beginning of strings (Python3 has no `unicode` or `basestring` types)
    * Python3 style exceptions
    * Use `.format()` over `%` (not strictly Python3, but still--it’s code modernization :P)
  3. Move `EmbeddedConsoleExit` to ``.

    Zearin authored
  4. Tweaked non-significant whitespace.

    Zearin authored
  5. Tweaked file's docstring, regrouped imports

    Zearin authored
Commits on Nov 12, 2011
  1. Added `.rst` extension to ReST files.

    Zearin authored
Commits on Oct 17, 2011
  1. Whitespace adjustments (for readability)

    Zearin authored
    Mostly aligned comments, variable assignments, and OptParse decorators
    to align vertically (so they read like a “table”).
    (And of course, this was done with respect for scope!)
Commits on Oct 10, 2011
  1. Moved all non-“boilerplate” files under cmd2

    Zearin authored
  2. Added runTranscriptTests() to

    Zearin authored
Commits on Oct 8, 2011
  1. Added docstring to `fund_named()`.

    Zearin authored
  2. Moved all `do_*` methods to

    Zearin authored
    The contents of gets imported at the top of the Cmd class.
    Also did a couple other small tweaks to the Cmd class.  Mostly moving stuff around (private defs first, sorted the class variables near the top of Cmd, etc.)
Commits on Oct 7, 2011
  1. Moved code from into,,, and t…

    Zearin authored
    Also marked items for future tasks, tweaked docstrings, tweaked code to make repetitive statements read easier, and grouped all `do_` methods together inside the Cmd class.
  2. Changed docstring comment to a normal comment.

    Zearin authored
    The comment is obviously not intended as a block of descriptive text, so it probably shouldn't use the docstring style.
  3. Added bare files to begin refactoring.

    Zearin authored
  4. Added header comments to and indicating they sh…

    Zearin authored
    …ould describe their purpose.
  5. Removed leftovers from installing with pip.

    Zearin authored
    Oops!  I noticed there was a bunch of extra crap left over from when I installed this module onto my own system.  I thought it wouldn't have modified itself at the time (just the Python module library on my system), but I was wrong.
    Begone, useless cruft!
  6. Ignore Mercurial dotfiles (.hg*).

    Zearin authored
Commits on Oct 5, 2011
  1. Initial import.

    Zearin authored
    Copy of the Python module cmd2 by Catherine Devlin.  Note that this is
    NOT the official copy (it’s at ).  I’d rather just
    work using git + GitHub instead of hg + Assembla.  ☺
    OTOH, I fully intend to submit changes back to the official repo on
    Assembla—so don’t be shy, fork away.  I’m happy for any help!
Something went wrong with that request. Please try again.