Command Line Interface (instalooter.cli)¶
Implementation of the main program executable.
Warning
Only cli.main and cli.logger are guaranteed to be stable, do not
rely on any other member from this package !
-
instalooter.cli.main(argv=None, stream=None)[source]¶ Run from the command line interface.
- Parameters
argv (list) – The positional arguments to read. Defaults to
sys.argvto use CLI arguments.stream (IOBase) – A file where to write error messages. Leave to
Noneto use theStandardErrorHandlerfor logs, andsys.stderrfor error messages.
- Returns
An error code, or 0 if the program executed successfully.
- Return type