Skip to main content

PyCommander Command Line Tool for Python modules, classes and functions.

Project description

How it works?

Do you have a application class or a function and do you want to execute them by command line? Here is your solution: pycommander.


Via easy_install:

> easy_install pycommander


Add a section called pycommander.command to your entry points in your file. Then put your command names pointing to a python class or function, and that it’s. For example:


Install your application:

> python [develop | install]

Now, you can execute pycom in your command line and see:

> pycom
ERROR: Please, enter a command name
Usage: pycom COMMAND [command_options]

  -h, --help  show this help message and exit

  Registered Commands:
    help                  Show this help message
    command_function      <------------ This are your commands

Extra Features

  • Autocomplete for subcommands and options.

    To activate it you have source the pycommander_complete file (which is in the distribution) from your .bash_rc or .profile.

Project details

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page