recess-cli 3.10.0 → 3.12.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/dist/args.js CHANGED
@@ -5,43 +5,81 @@ import { CliError } from "./errors.js";
5
5
  * repeatable flag must use `flagList` instead.
6
6
  */
7
7
  export const REPEATABLE_FLAGS = new Set([
8
+ "amount",
8
9
  "bill-date",
9
10
  "kid",
11
+ "staff-note",
10
12
  "note",
11
13
  "unassign",
12
14
  ]);
13
- const BOOLEAN_FLAGS = new Set([
14
- "clear",
15
- "zero-balance",
16
- "allow-assigned-edits",
15
+ /**
16
+ * Every flag that never takes a value — the ONE list. The parser must know it
17
+ * (otherwise `--whole-family u1` swallows `u1` as the flag's value) and the
18
+ * command schema types flags from it, so `command-schema.ts` imports this.
19
+ */
20
+ export const BOOLEAN_FLAGS = new Set([
21
+ "keep-plan",
22
+ "no-email",
23
+ "no-paywall",
24
+ "all",
17
25
  "all-references",
26
+ "allow-assigned-edits",
27
+ "allow-billing",
28
+ "allow-possible-duplicate",
29
+ "allow-state-modification",
18
30
  "allow-strand",
19
- "cancel-subscriptions",
31
+ "analyzed",
32
+ "apply",
20
33
  "archived",
21
- "confirm-destructive-changes",
34
+ "cancel-subscriptions",
35
+ "clear",
36
+ "clear-focus",
37
+ "clear-send-hour",
22
38
  "confirm",
23
- "dry-run",
39
+ "confirm-destructive-changes",
24
40
  "disable-applet-follow-ups",
41
+ "dry-run",
25
42
  "enable-applet-follow-ups",
43
+ "esa-award-unknown",
44
+ "even-installments",
45
+ "force",
46
+ "force-direct",
26
47
  "full",
27
48
  "help",
28
49
  "immediate",
29
- "include-deleted",
30
50
  "include-archived",
51
+ "include-deleted",
52
+ "include-left",
53
+ "json",
54
+ "keep-tokens",
31
55
  "mirrored",
32
- "no-invite",
56
+ "no-ai",
33
57
  "no-collision",
34
- "json",
58
+ "no-invite",
59
+ "no-join",
60
+ "no-json",
61
+ "no-wait",
62
+ "open",
63
+ "pretty",
35
64
  "refresh",
65
+ "replace-description-pointer",
66
+ "resend",
36
67
  "restore",
37
68
  "revoke",
69
+ "scaffold",
38
70
  "send-email",
39
71
  "skill-only",
40
72
  "spec-only",
73
+ "staff-only",
41
74
  "starter-only",
75
+ "state-funding",
76
+ "supersede",
77
+ "to-end",
42
78
  "unlink",
43
79
  "visual-only",
44
80
  "wait",
81
+ "whole-family",
82
+ "zero-balance",
45
83
  ]);
46
84
  export function parseArgs(args) {
47
85
  const positionals = [];