def main(): parser = create_parser() options, args = parser.parse_args() validate_options(options, args) run_pipeline(options, args)
def _validate_args(args): parser = create_parser() options, args = parser.parse_args(args) validate_options(options, args) return options, args