A Python library to parse command line options.
Project description
Installation
pip install clops
Usage
#! /usr/bin/env python3 """Sample module docstring. Args: foo: The number of foos. bar: The number of bars. baz: The number of bazs. """ from clops import cli _defaults = { foo: 1, bar: 2, baz: 3, } @cli.UpdateDict(_defaults, __doc__) def main(): pass if __name__ == '__main__': main()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clops-0.1.0.tar.gz
(16.3 kB
view hashes)