@cli_blackboard.command(name='upload', help='Upload')
@click.option('--get-password', default=None, help='Command to evaluate to get password (default is to ask).')
@click.option('--netid', default=None, help='Use this NetID.')
@click.argument('link_text', type=click.STRING)
@click.argument('path', type=click.STRING)
@click_log.simple_verbosity_option(_logger)
def cli_blackboard_upload(netid, get_password, link_text, path):
    if (netid is None):
        netid = config.NETID
    if (get_password is None):
        get_password = config.get_password
    blackboard.upload(netid=netid, get_password=get_password, link_text=link_text, path=path)
@cli_blackboard.command(name='upload', help='Upload')
@click.option('--get-password', default=None, help='Command to evaluate to get password (default is to ask).')
@click.option('--netid', default=None, help='Use this NetID.')
@click.argument('link_text', type=click.STRING)
@click.argument('path', type=click.STRING)
@click_log.simple_verbosity_option(_logger)
def cli_blackboard_upload(netid, get_password, link_text, path):
    if (netid is None):
        netid = config.NETID
    if (get_password is None):
        get_password = config.get_password
    blackboard.upload(netid=netid, get_password=get_password, link_text=link_text, path=path)