Pre-release
This release is a pre-release and may not be stable for production use.
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
port.help = "Lolwat"
base.help = "Base path"
if __name__ == '__main__':
cm.parse_command_line()
and try to run it $ python test.py --help
List of available program options:
Group "db"
--db-port Lolwat [default: "10"]
--db-name
Group "path"
--path-base Base path
Metadata
Release files for cm 0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cm-0.1a2.tar.gz | 5.8 kB | Details |
Release files / cm-0.1a2.tar.gz
| Download URL | cm-0.1a2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5c92a16a9c0b0b9bfdd2586c9208d218fd1657cc14b579eff3e348409ed831b
|
|
BLAKE2b-256 checksum How to use checksums |
3ca5bfbe988a20259a16cd85c78980054d327bb84278b0652e21707f18f5d4e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |