Add default node values to commands
This commit is contained in:
parent
bb2aac145d
commit
a5ffe373cd
|
@ -569,7 +569,7 @@ def cli_node():
|
||||||
short_help="Set node as primary coordinator.",
|
short_help="Set node as primary coordinator.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
|
@ -619,7 +619,7 @@ NOTE: There are currently {len(tasks_retdata)} active or queued provisioner task
|
||||||
short_help="Set node as secondary coordinator.",
|
short_help="Set node as secondary coordinator.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
|
@ -671,7 +671,7 @@ NOTE: There are currently {len(tasks_retdata)} active or queued provisioner task
|
||||||
short_help="Take node out of service.",
|
short_help="Take node out of service.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
|
@ -709,7 +709,7 @@ def cli_node_flush(
|
||||||
short_help="Restore node to service.",
|
short_help="Restore node to service.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
|
@ -747,7 +747,7 @@ def cli_node_ready(
|
||||||
short_help="View node daemon logs.",
|
short_help="View node daemon logs.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-l",
|
"-l",
|
||||||
"--lines",
|
"--lines",
|
||||||
|
|
Loading…
Reference in New Issue