cli-args

Command line arguments. Made simple.


Keywords
cli console terminal args arguments params parameters, pypi, python, python-library
License
MIT
Install
pip install cli-args==1.1.0

Documentation

Travis

Install

$ [sudo] pip install cli-args

Functions

function description
cli_args.make(long=False, **kwargs)

Examples

>>> import cli_args
>>> cli_args.make(t="title text", m="message text")
['-t', 'title text', '-m', 'message text']

options without value

>>> cli_args.make(s=True)
['-s']

long options --long

>>> cli_args.make(long=True, title="title text", message="message text")
['--title', 'title text', '--message', 'message text']

readme-md - README.md generator