Current behavior
barn ssh and barn exec accept a command without --. A known first argument selects a node; otherwise the command runs on the default node with a warning. Near-miss node names are rejected.
Proposed behavior
Require -- before remote commands:
barn ssh [node] [-- command...]
barn exec [node] -- command...
An unknown node or a command without the separator should be a usage error. Keep help, completion, examples, and CLI tests consistent with the selected grammar.
This is a proposed CLI change; it is not implemented by the naming cleanup.
Current behavior
barn sshandbarn execaccept a command without--. A known first argument selects a node; otherwise the command runs on the default node with a warning. Near-miss node names are rejected.Proposed behavior
Require
--before remote commands:barn ssh [node] [-- command...]barn exec [node] -- command...An unknown node or a command without the separator should be a usage error. Keep help, completion, examples, and CLI tests consistent with the selected grammar.
This is a proposed CLI change; it is not implemented by the naming cleanup.