@cli.command()<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>default="<STR_LIT>",<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>default="<STR_LIT>",<EOL>help="<STR_LIT>",<EOL>)<EOL>@pass_config<EOL>def config(config, fork_name="<STR_LIT>", origin_name="<STR_LIT>"):
state = read(config.configfile)<EOL>any_set = False<EOL>if fork_name:<EOL><INDENT>update(config.configfile, {"<STR_LIT>": fork_name})<EOL>success_out("<STR_LIT>".format(fork_name))<EOL>any_set = True<EOL><DEDENT>if origin_name:<EOL><INDENT>update(config.configfile, {"<STR_LIT>": origin_name})<EOL>success_out("<STR_LIT>".format(origin_name))<EOL>any_set = True<EOL><DEDENT>if not any_set:<EOL><INDENT>info_out("<STR_LIT>".format(state["<STR_LIT>"]))<EOL><DEDENT>
Setting various configuration options