@click.group()<EOL>@click.option("<STR_LIT>", "<STR_LIT:-c>",<EOL>type=click.Path(exists=True, file_okay=True, readable=True, writable=True, resolve_path=True),<EOL>help="<STR_LIT>")<EOL>@click.option("<STR_LIT>", "<STR_LIT>",<EOL>is_flag=True, default=False,<EOL>help="<STR_LIT>")<EOL>@click.version_option()<EOL>@click.pass_context<EOL>def cli(ctx, config, verbose):
init_logging(debug=verbose)<EOL>if ctx.invoked_subcommand == "<STR_LIT>":<EOL><INDENT>return  <EOL><DEDENT>try:<EOL><INDENT>if config:<EOL><INDENT>conf = Config.from_file(config)<EOL><DEDENT>else:<EOL><INDENT>conf = Config.discover()<EOL><DEDENT><DEDENT>except ValueError as e:<EOL><INDENT>if "<STR_LIT>" in str(e):<EOL><INDENT>click.echo("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>click.echo("<STR_LIT>")<EOL><DEDENT>sys.exit()<EOL><DEDENT>ctx.default_map = conf.build_default_map()<EOL>ctx.obj = {'<STR_LIT>': conf}<EOL>
Decentralised, minimalist microblogging service for hackers.