@cli_blackboard.command(name='combo', help='Combine the other commands')
@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.option('--upload', type=click.Path(exists=True), default=None, help='CSV to upload.')
@click.option('--webassign/--no-webassign', default=False, help='Export/import WebAssign.')
@click.option('--download/--no-download', default=True, help='Download CSV.')
@click.argument('link_text', type=click.STRING)
@click_log.simple_verbosity_option(_logger)
def cli_blackboard_webassign(netid, get_password, link_text, upload, webassign, download):
    if (netid is None):
        netid = config.NETID
    if (get_password is None):
        get_password = config.get_password
    if (not (upload is None)):
        blackboard.upload(netid=netid, get_password=get_password, link_text=link_text, path=upload)
    if webassign:
        blackboard.webassign(netid=netid, get_password=get_password, link_text=link_text)
    if download:
        x = blackboard.download(netid=netid, get_password=get_password, link_text=link_text)
        _echo_item(x)
@cli_blackboard.command(name='combo', help='Combine the other commands')
@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.option('--upload', type=click.Path(exists=True), default=None, help='CSV to upload.')
@click.option('--webassign/--no-webassign', default=False, help='Export/import WebAssign.')
@click.option('--download/--no-download', default=True, help='Download CSV.')
@click.argument('link_text', type=click.STRING)
@click_log.simple_verbosity_option(_logger)
def cli_blackboard_webassign(netid, get_password, link_text, upload, webassign, download):
    if (netid is None):
        netid = config.NETID
    if (get_password is None):
        get_password = config.get_password
    if (not (upload is None)):
        blackboard.upload(netid=netid, get_password=get_password, link_text=link_text, path=upload)
    if webassign:
        blackboard.webassign(netid=netid, get_password=get_password, link_text=link_text)
    if download:
        x = blackboard.download(netid=netid, get_password=get_password, link_text=link_text)
        _echo_item(x)