Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
parser = cli.generate_main_cli()
args = parser.parse_args(sys.argv[1:])
handler = getattr(sys.modules[__name__], args.subcommand)
handler.optimize(
args.input,
args.output,
options=vars(args),
verbose=args.verbose,
quiet=args.quiet
)