@bartender.command()<EOL>@options<EOL>@click.option('<STR_LIT>', default=False, help="<STR_LIT>")<EOL>def config(config, skip_defaults):
configurator = ClickConfigurator(<EOL>vodka.plugin,<EOL>skip_defaults=skip_defaults<EOL>)<EOL>configurator.configure(vodka.config.instance, vodka.config.InstanceHandler)<EOL>try:<EOL><INDENT>dst = munge_config.parse_url(config)<EOL><DEDENT>except ValueError:<EOL><INDENT>config = os.path.join(config, "<STR_LIT>")<EOL>dst = munge_config.parse_url(config)<EOL><DEDENT>config_dir = os.path.dirname(config)<EOL>if not os.path.exists(config_dir) and config_dir:<EOL><INDENT>os.makedirs(config_dir)<EOL><DEDENT>dst.cls().dumpu(vodka.config.instance, dst.url.path)<EOL>if configurator.action_required:<EOL><INDENT>click.echo("<STR_LIT>")<EOL>click.echo("<STR_LIT>")<EOL>click.echo("<STR_LIT>")<EOL>for item in configurator.action_required:<EOL><INDENT>click.echo("<STR_LIT>" % item)<EOL><DEDENT>click.echo("<STR_LIT>")<EOL><DEDENT>click.echo("<STR_LIT>" % dst.url.path)<EOL>
Generates configuration file from config specifications