cli
¶
Module that contains the command line application.
Functions:
-
get_parser
–Return the CLI argument parser.
-
main
–Run the main program.
get_parser
¶
get_parser() -> ArgumentParser
Return the CLI argument parser.
Returns:
-
ArgumentParser
–An argparse parser.
Source code in src/unibox/cli.py
32 33 34 35 36 37 38 39 40 41 |
|
main
¶
Run the main program.
This function is executed when you type unibox
or python -m unibox
.
Parameters:
Returns:
-
int
–An exit code.
Source code in src/unibox/cli.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|