hiiro 0.1.366 → 0.1.368
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +47 -0
- data/CLAUDE.md +1 -0
- data/README.md +79 -53
- data/bin/h-alias +28 -0
- data/bin/h-bin +20 -0
- data/bin/h-env +25 -0
- data/bin/h-herdr +156 -0
- data/bin/h-task +1 -0
- data/bin/t +1 -0
- data/bin/tt +1 -0
- data/docs/h-bin.md +49 -2
- data/docs/h-herdr.md +41 -0
- data/docs/h-subtask.md +5 -44
- data/docs/h-task.md +18 -712
- data/docs/h.md +2 -2
- data/docs/t.md +89 -376
- data/docs/why-t.md +23 -25
- data/exe/h +1 -0
- data/exe/t +7 -0
- data/exe/tt +7 -0
- data/herdr-plugin/herdr-plugin.toml +47 -0
- data/lib/hiiro/current_task.rb +92 -0
- data/lib/hiiro/error.rb +5 -0
- data/lib/hiiro/git/worktrees.rb +1 -1
- data/lib/hiiro/git.rb +8 -2
- data/lib/hiiro/task_cli.rb +788 -0
- data/lib/hiiro/task_sessions.rb +1 -1
- data/lib/hiiro/tasks.rb +40 -27
- data/lib/hiiro/version.rb +1 -1
- data/lib/hiiro.rb +22 -20
- metadata +14 -2
- data/bin/t +0 -526
- data/bin/tt +0 -20
- data/lib/hiiro/task_scope.rb +0 -92
data/docs/h-subtask.md
CHANGED
|
@@ -1,50 +1,11 @@
|
|
|
1
1
|
# h subtask
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
All subcommands are identical to [h task](h-task.md) but operate on the subtask scope. Subtask names are relative (e.g. `auth` rather than `my-feature/auth`).
|
|
6
|
-
|
|
7
|
-
## Synopsis
|
|
3
|
+
`h subtask` was removed when `h task` became a symlink to `t`. A subtask is a task whose name is `parent/child`:
|
|
8
4
|
|
|
9
5
|
```bash
|
|
10
|
-
|
|
6
|
+
t my-feature/auth tree new # worktree at ~/work/my-feature/auth, workspace "my-feature/auth"
|
|
7
|
+
t my-feature/auth todo add Wire the login form
|
|
8
|
+
t my-feature/auth tree rm
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
When in a task workspace, `h subtask` lists and operates on subtasks of the current parent task. A synthetic `main` subtask is always shown, representing the parent task's primary worktree.
|
|
16
|
-
|
|
17
|
-
Subtask names are stored as `parent/child` (e.g. `my-feature/auth`) but displayed as their short name (`auth`) in subtask context.
|
|
18
|
-
|
|
19
|
-
## Subcommands
|
|
20
|
-
|
|
21
|
-
All subcommands from [h task](h-task.md) are available. Key ones:
|
|
22
|
-
|
|
23
|
-
| Subcommand | Description |
|
|
24
|
-
|------------|-------------|
|
|
25
|
-
| `ls` / `list` | List subtasks of the current task |
|
|
26
|
-
| `start <name>` | Create or switch to a subtask |
|
|
27
|
-
| `switch [name]` | Switch to a subtask workspace |
|
|
28
|
-
| `stop [name]` | Stop a subtask (preserves worktree) |
|
|
29
|
-
| `current` | Print the current subtask name |
|
|
30
|
-
| `status` / `st` | Show current subtask details |
|
|
31
|
-
| `branch [name]` | Print branch for a subtask |
|
|
32
|
-
| `tree [name]` | Print worktree name for a subtask |
|
|
33
|
-
| `session [name]` | Print session name for a subtask |
|
|
34
|
-
| `cd [name] [app]` | Send `cd` to current pane |
|
|
35
|
-
| `path [name] [app]` | Print path to subtask directory |
|
|
36
|
-
| `todo [args]` | Manage todos for current subtask |
|
|
37
|
-
| `queue [args]` | Claude queue scoped to current subtask |
|
|
38
|
-
|
|
39
|
-
## Examples
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
h subtask ls
|
|
43
|
-
h subtask start auth
|
|
44
|
-
h subtask switch
|
|
45
|
-
h subtask switch auth
|
|
46
|
-
h subtask current
|
|
47
|
-
h subtask status
|
|
48
|
-
h subtask cd auth
|
|
49
|
-
h subtask stop auth
|
|
50
|
-
```
|
|
11
|
+
See [t](t.md) and [h task](h-task.md).
|