Automatic command-line interface for Python programs