API Reference¶
A dummy module so coverage has something to cover.
do_something(a=0, b=0)
¶
A skeleton of a command line interface to be deployed as an entry point script.
It takes two numbers and does something to them, printing out the result.
main()
¶
Demonstrate a really basic command line interface (CLI) that takes arguments.
Source code in src/cheshire/cli.py
parse_command_line(argv)
¶
Parse command line arguments. See the -h option for details.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
argv
|
str
|
Command line arguments, including caller filename. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
Namespace
|
Dictionary of command line arguments and their parsed values. |