@harborppm/cli 0.21.0 → 0.22.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/lib/cli.mjs CHANGED
@@ -97,6 +97,7 @@ export const HELP = `harbor: Harbor from the terminal
97
97
  harbor risks [words] [--kind risk,issue,decision] [--project P] [--closed]
98
98
  the register, worst first
99
99
  (--closed adds closed ones)
100
+ harbor brief [--portfolio P] the weekly brief, ready to send
100
101
  harbor premortem PROJECT ["WHAT WENT WRONG"] [--start]
101
102
  a project's pre-mortem: start,
102
103
  answer or read it
@@ -1107,6 +1108,11 @@ export async function run(argv, io = {}) {
1107
1108
  (r) => raidList(r, positionals.join(" ")),
1108
1109
  );
1109
1110
  }
1111
+ case "brief": {
1112
+ const { positionals, values, harbor } = parse(spec([], ["portfolio"]));
1113
+ none(positionals);
1114
+ return call("weekly_brief", { harbor, portfolio: values.portfolio }, (r) => r.text);
1115
+ }
1110
1116
  case "premortem": {
1111
1117
  const { positionals, values, harbor } = parse(spec(["start"]));
1112
1118
  const [project, ...words] = positionals;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harborppm/cli",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Harbor from the terminal: a full-screen app with everything, plus commands for scripts and agents.",
5
5
  "keywords": [
6
6
  "harbor",