main
- class tfutility.main.TfUtility
TfUtility Initial class. This class initializes all CLI arguments
- add_arguments(parser: ArgumentParser) ArgumentParser
Add global arguments to the parser
- Parameters:
parser (argparse.ArgumentParser) – the main argparser
- Returns:
the main argparser with attached global arguments
- do()
Execute command execution
- get_logger() Logger
Get logger instance
- Returns:
the logger instance
- Return type:
logging.Logger
- handlers = [<class 'tfutility.controllers.forcedremotesource.ForcedRemoteSourceHandler'>, <class 'tfutility.controllers.blockdate.ImportDateHandler'>, <class 'tfutility.controllers.blockdate.MovedDateHandler'>, <class 'tfutility.controllers.sourceswap.SourceSwapHandler'>]