I want to use the pythons argparse module to parse my cli parameter string. This works for the parameters a pass from terminal, but not with a given string.
Just like the default sys.argv is a list, your arguments have to be a list as well.
sys.argv
args = parser.parse_args([argString])