CLI: open --host mN and agent --host mN go to the global --host (another daemon) #61
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during #55 (M27).
illogical open --host m2 :3000andillogical agent --host m3 …don't reach the subcommand'shost(a machine): clap gives--hostto the global flag (--host NAME: talk to another daemon), so the CLI tries to look up a host namedm2in the host list:docs/cli.md documents
illogical open --host m2 :3000, so the documented form doesn't work. M27'sillogical edituses--machine mNfor this reason. Fix: rename the subcommands' flag (--machine, keeping a hidden alias isn't possible while the global one exists), or have the global--hostnot be global for these subcommands.Fixed in
af36338(released in 0.6.0):openandagenttake--machine mNlikeeditand the MCP tools.--hostis always another daemon; a failed host lookup onopen/edit/agent --host mNsays to use--machine. docs/cli.md updated, with a parse unit test.