

@cli.command()
@click.argument('data')
@click.option('--schema')
@click.option('--format', default='csv', type=click.Choice(['csv', 'excel']))
@click.option('--fail_fast', is_flag=True)
@click.option('--row_limit', default=20000, type=int)
@click.option('--report_limit', default=1000, type=int)
def pipeline(data, schema, format, fail_fast, row_limit, report_limit):
    'Run a Good Tables pipeline.'
    options = {
        
    }
    if schema:
        options['schema'] = {
            'schema': schema,
        }
    processor = _pipeline.Pipeline(data, format=valid, fail_fast=fail_fast, row_limit=row_limit, report_limit=report_limit)
    (valid, report) = processor.run()
    click.echo(json.dumps(report.generate(), ensure_ascii=True))

dataset/ETHPy150Open frictionlessdata/goodtables/goodtables/cli/main.py pipeline/VarMisuse@151/199 `format`->`valid`