mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 17:04:46 +00:00
refactor: simplify cli conversions
This commit is contained in:
@@ -234,7 +234,7 @@ export function registerNodesStatusCommands(nodes: Command) {
|
||||
.requiredOption("--node <idOrNameOrIp>", "Node id, name, or IP")
|
||||
.action(async (opts: NodesRpcOpts) => {
|
||||
await runNodesCommand("describe", async () => {
|
||||
const nodeId = await resolveNodeId(opts, String(opts.node ?? ""));
|
||||
const nodeId = await resolveNodeId(opts, opts.node ?? "");
|
||||
const result = await callGatewayCli("node.describe", opts, {
|
||||
nodeId,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user