@cli.command()
@common_options
def version(**kwargs):
    'Show the version of sqlfluff.'
    c = get_config(**kwargs)
    if (c.get('verbose') > 0):
        (lnt, formatter) = get_linter_and_formatter(c)
        formatter.dispatch_config(lnt)
    else:
        click.echo(get_package_version(), color=c.get('color'))
Show the version of sqlfluff.
@cli.command()
@common_options
def version(**kwargs):
    
    c = get_config(**kwargs)
    if (c.get('verbose') > 0):
        (lnt, formatter) = get_linter_and_formatter(c)
        formatter.dispatch_config(lnt)
    else:
        click.echo(get_package_version(), color=c.get('color'))