It could be usegul to have a method for parsing CLAs contained into input string, read https://docs.python.org/3/library/argparse.html#the-parse-args-method