Syntactic sugar for creating Python command line scripts by introspecting a function definition