Module rok4_tools.pyr2pyr
Functions
def configuration() ‑> None
-
Load configuration file
Raises
JSONDecodeError
- Configuration is not a valid JSON file
ValidationError
- Configuration is not a valid PYR2PYR configuration file
MissingEnvironmentError
- Missing object storage informations
StorageError
- storage read issue
FileNotFoundError
- File or object does not exist
def main() ‑> None
-
Main function
Return 0 if success, 1 if an error occured
def parse() ‑> None
-
Parse call arguments and check values
Exit program if an error occured