Helper class for CLI option parsing.
Class representing a LMIShell command line options. In the constructor, all command line options before a script name are passed to the LMIShell. First position argument belongs to the script and the rest of command line options is passed to the script run under the LMIShell.
| Parameters: | argv (list) – CLI arguments |
|---|
| Returns: | flag, which indicates, if the LMIShell should enter an interactive mode, after executing a provided script. The behavior is similar to python interpreter |
|---|---|
| Return type: | bool |
| Returns: | flag, which tells if the LMIShell should be initially run in the interactive mode |
|---|---|
| Return type: | bool |
| Returns: | log level |
|---|---|
| Return type: | int |
Log level can be one of the following:
- _LOG_DEFAULT
- _LOG_VERBOSE
- _LOG_MORE_VERBOSE
- _LOG_QUIET