@cli.command()
@common_options
def rules(**kwargs):
    'Show the current rules in use.'
    c = get_config(**kwargs)
    (lnt, _) = get_linter_and_formatter(c)
    click.echo(format_rules(lnt), color=c.get('color'))
Show the current rules in use.
@cli.command()
@common_options
def rules(**kwargs):
    
    c = get_config(**kwargs)
    (lnt, _) = get_linter_and_formatter(c)
    click.echo(format_rules(lnt), color=c.get('color'))