def cli(ctx, boring, verbose, zap_path, port, zap_url, api_key, log_path): """Main command line entry point.""" console.colorize = not boring if verbose: console.setLevel('DEBUG') else: console.setLevel('INFO') ctx.obj = ZAPHelper(zap_path=zap_path, port=port, url=zap_url, api_key=api_key, log_path=log_path)
def cli(ctx, boring, verbose, zap_path, port, zap_url, api_key): """Main command line entry point.""" console.colorize = not boring if verbose: console.setLevel('DEBUG') else: console.setLevel('INFO') ctx.obj = ZAPHelper(zap_path=zap_path, port=port, url=zap_url, api_key=api_key)
def cli(ctx, boring, verbose, zap_path, port, zap_url, api_key, log_path, soft_fail): """Main command line entry point.""" console.colorize = not boring if verbose: console.setLevel('DEBUG') else: console.setLevel('INFO') if soft_fail: os.environ["SOFT_FAIL"] = "true" ctx.obj = ZAPHelper(zap_path=zap_path, port=port, url=zap_url, api_key=api_key, log_path=log_path, soft_fail=soft_fail)