is it possible to dynamically call a function via cli in a python script
It's not a good practise to invoke a method via argument, it can be a security fault
You should use something like python test.py 'call_function_one' [...]
And then in your script, you have to get the argument and do :
if (arg[0] == 'call_function_one'):
function_one(parameters)
An other thing, you can directly parse your argument in your main
, it's a common way to use argument_parser, and then calling your functions :)