opihiexarata.__main__ module
Just a small hook for the main execution. This section parses arguments which is then passed to execution to do exactly as expected by the commands.
The actual execution is done in the command.py file so that this file does not get too large.
- opihiexarata.__main__.__main_execute_arguments(parser: ArgumentParser, arguments: Namespace) None [source]
We actually execute the software using the arguments provided in the # command line call. GUI’s are started on separate threads
- Parameters:
arguments (dict) – The parsed arguments from which the interpreted action will use. Note though that these arguments also has the interpreted actions.
- Return type:
None
- opihiexarata.__main__.__main_parse_arguments() tuple[ArgumentParser, Namespace] [source]
The main section for argument parsing. We just have it here to better organize things.
- Parameters:
None –
- Returns:
parser (ArgumentParser) – The parser itself. This may not be needed for a lot of things, but it is still helpful for command processing.
parsed_arguments (Namespace) – The arguments as parsed by the parser. Though technically it is a Namespace class, it is practically a dictionary.