cli¶
The cli (command line interface) module provides the cli.run function that can be used set up properties, initiate an output environment, and execute a python function based arguments specified on the command line.
-
nutils.cli.
run
(func, *, skip=1, loaduserconfig=True)¶ parse command line arguments and call function
-
nutils.cli.
choose
(*functions, loaduserconfig=True)¶ parse command line arguments and call one of multiple functions
-
nutils.cli.
call
(func, kwargs, scriptname, funcname=None)¶ set up compute environment and call function