diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-09 04:40:50 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-09 04:42:35 +0300 |
| commit | bb2c579df206e51d43833544d114f321423c997c (patch) | |
| tree | a26c6702e048f31429ebaa260ee40c3c2b111d3e /SKILL.md | |
| parent | 5460a9601ea8dd3d05e64e97040c71c6be29172b (diff) | |
feat(cli): support labels when creating tabs and workspaces
Diffstat (limited to 'SKILL.md')
| -rw-r--r-- | SKILL.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -71,6 +71,14 @@ create a new tab: herdr tab create --workspace 1 ``` +without `--label`, the new tab keeps the default numbered tab name. + +create and name it in one step: + +```bash +herdr tab create --workspace 1 --label "logs" +``` + rename it: ```bash @@ -178,6 +186,14 @@ create a new workspace: herdr workspace create --cwd /path/to/project ``` +without `--label`, the new workspace keeps the default cwd-based name. + +create and name one in one step: + +```bash +herdr workspace create --cwd /path/to/project --label "api server" +``` + create one without focusing it: ```bash @@ -276,4 +292,6 @@ herdr pane read 1-1 --source recent --lines 100 - parse ids from `workspace create`, `tab create`, and `pane split` responses when you need new ids. for `pane split`, the new pane id is at `result.pane.pane_id`. - use `pane read` for current output that already exists. use `wait output` for future output you expect next. - `--no-focus` on split, tab create, and workspace create keeps your current terminal context focused. +- without `--label`, workspace create keeps cwd-based naming and tab create keeps numbered naming. +- `--label` on tab create and workspace create applies the custom name immediately. - if you are running inside herdr, the `HERDR_ENV` environment variable is set to `1`. |
