Skip to main content

Library for creating command line interfaces

Project description

Clipy - command line interfaces micro-framework

Clipy is simple easy to use micro-framework for creating command line interfaces. You can find documentation at http://packages.python.org/clipy.

Bug reports

Clipy uses launchpad for tracking bug reports, if you are want to report one, please follow the url:

https://bugs.launchpad.net/clipy

Development

All source code for clipy is on launchpad, versioned with bzr DVCS:

http://launchpad.net/clipy

If you want to branch, simply type in terminal:

$ bzr branch lp:clipy

Change history

0.1

Initial release with the following features:

  • Defining single commands with Command class.
  • Defining composite commands (commands that consists of subcommans, like svn) with CompositeCommand class.

0.2

New features:

  • Added abstract command loaded for composite commands.
  • Command loader implementation, which loads commands via setuptools entry point groups.

0.3

New features:

  • Added Command.chanllenge method for asking user for variable.
  • Added Command.ask method for asking user for confirmation.
  • Support for defining commands with argument parsers based on argparse.

0.4

New features:

  • Default help command for composite commands.
  • Better usage handling within subcommands.
  • Commands are stateless now – options, args and context passed in run method directly.
  • Composite command behaviour can be parametrized in cases there is no subcommand or unknown one is provided (CompositeCommand.no_command, CompositeCommand.unknown_command methods).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
clipy-0.4-py2.6.egg (21.5 kB) Copy SHA256 hash SHA256 Egg 2.6 Feb 15, 2010
clipy-0.4.tar.gz (6.8 kB) Copy SHA256 hash SHA256 Source None Feb 15, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page