@harborppm/cli 0.11.2 → 0.13.0
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.
- package/README.md +9 -5
- package/dist/app.mjs +1159 -282
- package/lib/cli.mjs +60 -7
- package/lib/format.mjs +25 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,16 +26,16 @@ harbor # name your harbor and its first project, and you're in
|
|
|
26
26
|
|
|
27
27
|
`harbor` on its own takes over the terminal, like `htop` or `lazygit`, and gives it back when you press `q`. It opens on Harbor's mark (the teal tile, the H and three boats, drawn in half blocks) while your harbor loads; after that the sidebar holds just the screens. Then:
|
|
28
28
|
|
|
29
|
-
1. **Today**: what's on you, late first; who's waiting on you; your risks and issues.
|
|
29
|
+
1. **Today**: today's focus (`f` adds or takes off the task you're on, up to three) and your check-in (`c`); what's on you, late first; who's waiting on you; your risks and issues.
|
|
30
30
|
2. **Inbox**: the same pings as the website: waiting on you, sign-offs, mentions. Enter opens one; it's marked read.
|
|
31
|
-
3. **Projects**: every portfolio, program and project with its health. A project opens on its board (columns side by side), its list, or its budget and spend ledger (`v`); `e` changes its details: lead, dates, budget, health by hand with a note.
|
|
32
|
-
4. **Programs**: a program's projects and milestones side by side (`m` adds a milestone, space ticks one), its next move and health.
|
|
31
|
+
3. **Projects**: every portfolio, program and project with its health. A project opens on its board (columns side by side; `f` and `p` show only someone's cards or one priority), its list, or its budget and spend ledger (`v`); `e` changes its details: lead, dates, budget, health by hand with a note.
|
|
32
|
+
4. **Programs**: a program's projects and milestones side by side (`m` adds a milestone, space ticks one), its next move and health; `v` reads it project by project, each with its bar across the months, open tasks by status and worst risks. A portfolio opens as a board (programs, with risks, next milestones and money beside them); `v` reads it program by program.
|
|
33
33
|
5. **Risks**: the register, worst first. Enter changes one (status, owner, likelihood, impact, mitigation); `n` logs a risk, issue or decision.
|
|
34
34
|
6. **People**: open and late work and the next four weeks against each person's capacity; Enter changes their capacity, role, or the time they're promised to a program.
|
|
35
35
|
7. **Roadmap**: a portfolio's programs and projects across the months, in their health's colour, ◆ for milestones.
|
|
36
36
|
8. **History**: who changed what, for a portfolio, program or project (`s` picks which).
|
|
37
37
|
|
|
38
|
-
A task changes in place too: title, status, owner, due date (`2026-10-14`, `today`, `+3`), priority, project, notes, checklist steps, comments.
|
|
38
|
+
A task changes in place too: title, status, owner, due date (`2026-10-14`, `today`, `+3`), priority, project, what it waits on (type a key or words), how it repeats, notes, checklist steps, comments (`C` changes or takes out one of yours).
|
|
39
39
|
|
|
40
40
|
Keys: `↑↓` (or `j k`) and `←→` (or `h l`) move, Enter opens, Esc goes back, `:` finds anything (a screen, "new project", a project or program by name), `/` finds a task by its key or words, `n` makes something new, `e` changes what's open, `[` `]` move a card a column, `x` marks it done, `d` deletes (it asks first), `u` undoes your last change, `H` switches harbor, `?` lists them all.
|
|
41
41
|
|
|
@@ -94,13 +94,17 @@ harbor add "TITLE" --project P [--assignee me|NAME] [--due DATE]
|
|
|
94
94
|
[--priority low|medium|high|urgent] [--status S] [--over-limit]
|
|
95
95
|
harbor start TASK | review TASK | done TASK [--confirm] [--over-limit]
|
|
96
96
|
harbor edit TASK [--title T] [--assignee me|none|NAME] [--due DATE|none]
|
|
97
|
-
[--priority P] [--status S] [--
|
|
97
|
+
[--priority P] [--status S] [--notes TEXT]
|
|
98
|
+
[--repeat weekly|biweekly|monthly|never]
|
|
99
|
+
[--waits-on TASK,TASK|none] [--confirm] [--over-limit]
|
|
98
100
|
harbor comment TASK "TEXT"
|
|
99
101
|
harbor checkin "WHAT YOU'RE DOING" [--on-blocker]
|
|
100
102
|
harbor risk "TITLE" --project P|--program P [--impact 1-5] [--probability 1-5]
|
|
101
103
|
[--owner NAME] [--due DATE]
|
|
102
104
|
harbor issue "TITLE" --project P|--program P [--impact 1-5] [--owner NAME]
|
|
103
105
|
[--due DATE]
|
|
106
|
+
harbor decision "TITLE" --project P|--program P [--owner NAME] [--due DATE]
|
|
107
|
+
harbor risks [words] [--kind risk,issue,decision] [--project P] [--closed]
|
|
104
108
|
```
|
|
105
109
|
|
|
106
110
|
Every command takes `--json` for the raw result (a refusal then comes out as `{"error": "…"}` on standard output, still with exit code 1), and `harbor COMMAND --help` shows just that command. Statuses are backlog, todo, doing, review and done. A `DATE` is YYYY-MM-DD, `today`, `tomorrow`, or `+N` for N days from today.
|