Skip to main content

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


Download files

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

Files for clops, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size clops-0.1.1.tar.gz (16.3 kB) File type Source Python version None Upload date Hashes View hashes

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