taika.cli¶
The entry point for the command line interface of Taika.
-
main(arguments=None)[source]¶ The main entry point, parse arguments behaves accordingly.
Parameters: - arguments : list, optional (default=None)
A list of arguments to be parsed. If
None,sys.argv[1:]is used.
Returns: - err_code : int
Non-zero value indicates error, or zero on success.
-
parse_arguments(arguments)[source]¶ Create a
argparse.ArgumentParserand runargparse.ArgumentParser.parse_args()agains arguments.Parameters: - arguments : list
A list of arguments to be parsed.
Returns: - namespace : argparse.Namespace
The namespace created when arguments are parsed.