Converts command-line arguments to function arguments - for simple CLI programs.