Command referenceBeta
ed crew command
Prints the command that attaches to one agent pane.
ed crew command <pane> [--machine <name>] [--session <name>] [--json]Arguments
| Name | Type / values | Default | What it does |
|---|---|---|---|
<pane> |
pane id, for example w3:p1N |
required | The pane to attach to |
Options
| Name | Type / values | Default | What it does |
|---|---|---|---|
--machine <name> |
machine name, alias, UUID, unique prefix, or local |
all hosts | Disambiguate when the same pane id exists on more than one machine |
--session <name> |
Agents session name | all sessions | Disambiguate when the same pane id exists in more than one session |
--json |
flag | off | Emit JSON on stdout |
--help is generated by the parser, prints the usage summary on stdout and
exits 0.
The human form is one line, and nothing else:
ssh -tt devbox-wired -- '"$HOME/.edith/agents/bin/edith-agents" --session default agent attach w3:p1N --takeover'On this Mac the ssh -tt prefix is omitted:
"$HOME/.edith/agents/bin/edith-agents" --session default agent attach w3:p1N --takeover{ "command": "ssh -tt devbox-wired -- '\"$HOME/.edith/agents/bin/edith-agents\" --session default agent attach w3:p1N --takeover'"}A pane that is not live, or a pane that matches more than once without
--machine or --session, exits 3 with empty stdout. --machine that matches
no configured machine also exits 3.
This only prints the line. It does not attach. The Agents page in Edith opens a PTY with the same command.
Where to go next
ed crew ls, find the pane ided crew, the rest of this group- All
edcommands