Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Commandline Magic

Project description

This module will present simplest mechanism for working with command line options and arguments.

Example of the usage bellow:

import cm
from cm.options.path import base
from cm.options.db import port, name

port.type = int
port.default = 10 = "Lolwat" = "Base path"

if __name__ == '__main__':

and try to run it $ python --help

List of available program options:
Group "db"
    --db-port       Lolwat [default: "10"]

Group "path"
    --path-base     Base path

Project details

Release history Release notifications

This version
History Node


History Node


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
cm-0.1a2.tar.gz (5.8 kB) Copy SHA256 hash SHA256 Source None Jul 7, 2015

Supported by

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