@cli.command()<EOL>@click.argument("<STR_LIT>")<EOL>@click.argument("<STR_LIT:url>")<EOL>@click.option("<STR_LIT>", "<STR_LIT>",<EOL>flag_value=True,<EOL>help="<STR_LIT>")<EOL>@click.pass_context<EOL>def follow(ctx, nick, url, force):
source = Source(nick, url)<EOL>sources = ctx.obj['<STR_LIT>'].following<EOL>if not force:<EOL><INDENT>if source.nick in (source.nick for source in sources):<EOL><INDENT>click.confirm("<STR_LIT>".format(<EOL>click.style(source.nick, bold=True)), default=False, abort=True)<EOL><DEDENT>_, status = get_remote_status([source])[<NUM_LIT:0>]<EOL>if not status or status.status_code != <NUM_LIT:200>:<EOL><INDENT>click.confirm("<STR_LIT>".format(<EOL>click.style(source.nick, bold=True),<EOL>click.style(source.url, bold=True)), default=False, abort=True)<EOL><DEDENT><DEDENT>ctx.obj['<STR_LIT>'].add_source(source)<EOL>click.echo("<STR_LIT>".format(<EOL>click.style(source.nick, bold=True)))<EOL>
Add a new source to your followings.