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.1.tar.gz (16.3 kB view details)

Uploaded Source

File details

Details for the file clops-0.1.1.tar.gz.

File metadata

  • Download URL: clops-0.1.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for clops-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a6252d74a8dd8e058ab2b344f92cb8bb2e189bbb26ebaffb747a97cd2685fc88
MD5 550a6ec44534da50db18953581b9c6c1
BLAKE2b-256 336f590f40c3882cabd1637bf2275e27d706993939474e6f6ab7fd6c26c33410

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page