lewis.scripts
Submodules
To interact with the control server of a running simulation, use this script. |
|
This script is the main interaction point of the user with Lewis. |
Members
This small helper function extracts the help information from an ArgumentParser instance and indents the text by the number of spaces supplied in the indent-argument. |
- lewis.scripts.get_usage_text(parser, indent=None)[source]
This small helper function extracts the help information from an ArgumentParser instance and indents the text by the number of spaces supplied in the indent-argument.
- Parameters:
parser – ArgumentParser object.
indent – Number of spaces to put before each line or None.
- Returns:
Formatted help string of the supplied parser.