@click.command('configure', short_help='Modify configuration')
@click.option('--testnet', '-t', help='configures for connection to testnet', type=click.Choice(['true', 't', 'false', 'f']))
@click.option('--set-node-introducer', help='Set the introducer for node - IP:Port', type=str)
@click.option('--set-farmer-peer', help='Set the farmer peer for harvester - IP:Port', type=str)
@click.option('--set-fullnode-port', help='Set the port to use for the fullnode, useful for testing', type=str)
@click.option('--set-log-level', '--log-level', '-log-level', help='Set the instance log level', type=click.Choice(['CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG', 'NOTSET']))
@click.option('--enable-upnp', '--upnp', '-upnp', help='Enable or disable uPnP', type=click.Choice(['true', 't', 'false', 'f']))
@click.option('--set_outbound-peer-count', help='Update the target outbound peer count (default 8)', type=str)
@click.option('--set-peer-count', help='Update the target peer count (default 80)', type=str)
@click.pass_context
def configure_cmd(ctx, set_farmer_peer, set_node_introducer, set_fullnode_port, set_log_level, enable_upnp, set_outbound_peer_count, set_peer_count, testnet):
    configure(ctx.obj['root_path'], set_farmer_peer, set_node_introducer, set_fullnode_port, set_log_level, enable_upnp, set_outbound_peer_count, set_peer_count, testnet)
@click.command('configure', short_help='Modify configuration')
@click.option('--testnet', '-t', help='configures for connection to testnet', type=click.Choice(['true', 't', 'false', 'f']))
@click.option('--set-node-introducer', help='Set the introducer for node - IP:Port', type=str)
@click.option('--set-farmer-peer', help='Set the farmer peer for harvester - IP:Port', type=str)
@click.option('--set-fullnode-port', help='Set the port to use for the fullnode, useful for testing', type=str)
@click.option('--set-log-level', '--log-level', '-log-level', help='Set the instance log level', type=click.Choice(['CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG', 'NOTSET']))
@click.option('--enable-upnp', '--upnp', '-upnp', help='Enable or disable uPnP', type=click.Choice(['true', 't', 'false', 'f']))
@click.option('--set_outbound-peer-count', help='Update the target outbound peer count (default 8)', type=str)
@click.option('--set-peer-count', help='Update the target peer count (default 80)', type=str)
@click.pass_context
def configure_cmd(ctx, set_farmer_peer, set_node_introducer, set_fullnode_port, set_log_level, enable_upnp, set_outbound_peer_count, set_peer_count, testnet):
    configure(ctx.obj['root_path'], set_farmer_peer, set_node_introducer, set_fullnode_port, set_log_level, enable_upnp, set_outbound_peer_count, set_peer_count, testnet)