拆分代码;约束cli命令
This commit is contained in:
@@ -58,8 +58,8 @@ def simulation_run(
|
||||
require_auth=True,
|
||||
require_network_ctx=True,
|
||||
next_commands=[
|
||||
f"tjwater --auth-context auth.json data timeseries realtime links --start-time {parsed.isoformat()} --end-time {end_time}",
|
||||
f"tjwater --auth-context auth.json data timeseries realtime nodes --start-time {parsed.isoformat()} --end-time {end_time}",
|
||||
f"tjwater-cli --auth-context auth.json data timeseries realtime links --start-time {parsed.isoformat()} --end-time {end_time}",
|
||||
f"tjwater-cli --auth-context auth.json data timeseries realtime nodes --start-time {parsed.isoformat()} --end-time {end_time}",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -92,8 +92,8 @@ def analysis_burst(
|
||||
require_auth=True,
|
||||
require_network_ctx=True,
|
||||
next_commands=[
|
||||
f"tjwater --auth-context auth.json data scheme get --name {scheme_name}",
|
||||
"tjwater --auth-context auth.json data scheme list",
|
||||
f"tjwater-cli --auth-context auth.json data scheme get --name {scheme_name}",
|
||||
"tjwater-cli --auth-context auth.json data scheme list",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user