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.

Source Distribution

clops-0.1.0.tar.gz (16.3 kB view hashes)

Uploaded Source

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