Command lines tools - cma-open/cmatools GitHub Wiki

A python package can be enabled for use as a command line application

This allows users to directly call the software from the shell prompt and to enter optional arguments

A wide range of customisation is possible, such as setting default settings and custom help messages and user prompts

Simple scripts use sys.arg to take arguments, whilst more complex applications use the argparse package. Others alteratives include click and docopt.

This implementation will use argparse

Ading entries to the setup.py allows the command line tool to be callable from the command line when the package is installed