Options parser
Parser for LNS options.
OptionsParser
¶
Parser for command line options.
formatter(prog: str) -> RawTextHelpFormatter
staticmethod
¶
Get custom formatter for command line options.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
prog
|
str
|
Program name. |
required |
Returns:
| Type | Description |
|---|---|
RawTextHelpFormatter
|
Custom formatter. |
get_classes_from_package(package: str, base: type) -> list[type]
staticmethod
¶
get_parser() -> ArgumentParser
classmethod
¶
Return the parser for command line options.