Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on May 29, 2013
  1. Fix version in README.rst

    authored
  2. Fix exceptions and improve docstrings.

    authored
    - Fix exception handling.
        - Never use `__parser__.error`
        - Always log errors and traceback
    - Add wrapper methods for `__parser__`.
        - `exit`, `error`
        - `print_usage, `print_help`
        - `format_usage, `format_help`
    - Improve docstrings.
Commits on Mar 8, 2013
  1. Add `load_python_object` to load a python object using a qualified name.

    authored
    - Import the function from the hyde project (`hyde.loader`)
    - Import the tests
    - Update version and changelog
Commits on Feb 20, 2013
  1. Finish up preserve parameter order PR.

    authored
    - Add test to ensure parameter order is preserved.
    - Update Authors and Changelog
    - Up version to 0.3.1a
Commits on Feb 19, 2013
  1. Merge pull request #8 from fruch/master

    authored
    fix the order of parameters as in the order they are documented in the code
  2. Merge pull request #10 from lakshmivyas/feature/support-docs

    authored
    Issue #9: Add supporting documentation to track the project history.
  3. Issue #9: Add supporting documentation to track the project history.

    authored
    -  Rename README.markdown to README.rst.
    -  Add AUTHORS.rst with brief note on their contributions.
    -  Add CHANGELOG.rst with detailed change documentation.
    -  Add CONTRIBUTING.rst with detailed guidelines for pull requests.
    -  Fix MANIFEST to include these new files.
    -  Ensure setup uses the README.rst for `long_description`.
  4. fix the order of parameters as in the order they are documented in th…

    Israel Fruchter authored
    …e code
Commits on Jan 25, 2013
  1. Fix manifest file and Readme.

    authored
    - MANIFEST.in must reflect the changes to the project layout.
    - Add @jd and @bwest to Authors list.
  2. Add support for nested sub commands.

    authored
    Use pull request #7 by @jd as the base.
    
    - Allow `parent` parameter for the subcommand decorator.
    - Use the metaclass to add the subcommands that have the `parent`
      attribute to the appropriate parent parser.
    
    This must differ from pull request #7 in the following ways:
    
    1. Avoid namespace pollution: Do not use staticmethod when a nested
       function is sufficient.
    2. Avoid inheriting `subcommand` from `command` since the `main` command
       has special significance.
    3. Separate the nested command test from the complex command tests.
Commits on Jan 24, 2013
  1. Merge pull request #4: allow commands to have no params.

    authored
    - Remove assumptions that commands always have parameters
    - Add tests to ensure empty commands and subcommands are valid.
  2. Bundle various frequently used utilities with commando.

    authored
    - Include ShellCommand object for calling shell commands with ease.
    - Include ConfigDict object that allows accessing a dict like an object.
    - Include autoprop decorators for providing synthesized properties.
    - Include logging helpers from the hyde project
    - Create a default logger if one is not provided
  3. Add facility to consume exceptions.

    authored
    Commando must consume exceptions by default. Any exception should be
    communicated in a friendly manner to the user via the parser or the
    given logger.
    
    - Add `raise_exceptions` parameter to `Application` constructor.
    - Add `logger` parameter to `Application` constructor.
    - `Application` should raise exceptions only if `raise_exceptions` is
       true or no logger has been provided and the parser has not been
       initialized yet.
    - Fix code formatting issues.
Commits on Feb 23, 2011
  1. Added manifest.in

    authored
  2. @philips

    setup.py: add setup.install_requires via requirements.txt

    philips authored
    argparse is required for commando to work. Add a requirements.txt file
    and tell setup.py about it.
    
    Signed-off-by: Brandon Philips <brandon@ifup.org>
  3. @philips

    commando: use distribute to fix __version__ issue

    philips authored
    setup.py requires commando which creates a dependency problem when your
    python environment doesn't have argparse installed yet. Fix this by
    using distribute and having commando.py use pkg_resources to find the
    version.
    
    Signed-off-by: Brandon Philips <brandon@ifup.org>
Commits on Dec 17, 2010
  1. Added example script

    authored
  2. Added decorators mapped to actions for more sugary syntax. Run method…

    authored
    … now picks up arguments from argv
Commits on Dec 16, 2010
  1. Initial Commit

    authored
Something went wrong with that request. Please try again.