recess-cli 3.59.0 → 3.61.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 +1 -0
- package/dist/command-schema.js +8 -0
- package/dist/commands/family.js +93 -10
- package/dist/help.js +20 -9
- package/package.json +1 -1
package/dist/args.js
CHANGED
package/dist/command-schema.js
CHANGED
|
@@ -33,6 +33,7 @@ export const FAMILY_REMOTE_READS = [
|
|
|
33
33
|
"family calendar",
|
|
34
34
|
"family changes",
|
|
35
35
|
"family config",
|
|
36
|
+
"family events",
|
|
36
37
|
"family guardians",
|
|
37
38
|
"family kids",
|
|
38
39
|
"family reminders",
|
|
@@ -79,6 +80,7 @@ export const FAMILY_REMOTE_READS = [
|
|
|
79
80
|
"kid social",
|
|
80
81
|
"kid enrollments",
|
|
81
82
|
"kid math-progress",
|
|
83
|
+
"kid league",
|
|
82
84
|
"kid memory ls",
|
|
83
85
|
"kid memory cat",
|
|
84
86
|
"kid memory grep",
|
|
@@ -87,6 +89,8 @@ export const FAMILY_REMOTE_WRITES = [
|
|
|
87
89
|
"family add-guardian",
|
|
88
90
|
"family cancel-reminder",
|
|
89
91
|
"family drop-class",
|
|
92
|
+
"family join-event",
|
|
93
|
+
"family leave-event",
|
|
90
94
|
"family pause",
|
|
91
95
|
"family register-class",
|
|
92
96
|
"family remind",
|
|
@@ -269,7 +273,10 @@ const FAMILY_COMMANDS = new Set([
|
|
|
269
273
|
"family changes",
|
|
270
274
|
"family config",
|
|
271
275
|
"family drop-class",
|
|
276
|
+
"family events",
|
|
272
277
|
"family guardians",
|
|
278
|
+
"family join-event",
|
|
279
|
+
"family leave-event",
|
|
273
280
|
"family kids",
|
|
274
281
|
"family pause",
|
|
275
282
|
"family register-class",
|
|
@@ -379,6 +386,7 @@ const FAMILY_COMMANDS = new Set([
|
|
|
379
386
|
"kid social",
|
|
380
387
|
"kid enrollments",
|
|
381
388
|
"kid math-progress",
|
|
389
|
+
"kid league",
|
|
382
390
|
"kid memory ls",
|
|
383
391
|
"kid memory cat",
|
|
384
392
|
"kid memory grep",
|
package/dist/commands/family.js
CHANGED
|
@@ -51,9 +51,10 @@ async function resolveFamilyKid(api, parsed) {
|
|
|
51
51
|
throw new CliError("student_not_found", `--student "${reference}" is not one of your kids. Use an id, full name, or unique first name.`, 1, { candidates });
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* `set-goal-coins` also serves a kid's tutor
|
|
55
|
-
* family resolves through their
|
|
56
|
-
*
|
|
54
|
+
* `set-goal-coins` also serves a kid's tutor, and `join-event` / `leave-event`
|
|
55
|
+
* serve staff: a kid outside the caller's family resolves through their roster
|
|
56
|
+
* (`resolveStudentReference`; an ID passes through). The server decides
|
|
57
|
+
* access; a parent's own miss keeps its family error.
|
|
57
58
|
*/
|
|
58
59
|
async function resolveFamilyOrTutoredKid(api, parsed) {
|
|
59
60
|
try {
|
|
@@ -556,6 +557,47 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
556
557
|
if (verb === "calendar") {
|
|
557
558
|
return unwrap(await api.client.GET("/parent-v2/calendar/"));
|
|
558
559
|
}
|
|
560
|
+
if (verb === "events") {
|
|
561
|
+
const kid = hasFlag(parsed, "student")
|
|
562
|
+
? await resolveFamilyKid(api, parsed)
|
|
563
|
+
: undefined;
|
|
564
|
+
const search = flagString(parsed, "search")?.trim();
|
|
565
|
+
const days = flagInteger(parsed, "days", { min: 1, max: 35 });
|
|
566
|
+
return unwrap(await api.client.GET("/parent-v2/events/", {
|
|
567
|
+
params: {
|
|
568
|
+
query: {
|
|
569
|
+
...(search ? { search } : {}),
|
|
570
|
+
...(days !== undefined ? { days } : {}),
|
|
571
|
+
...(kid ? { studentId: kid.id } : {}),
|
|
572
|
+
...(hasFlag(parsed, "mine") ? { mine: "true" } : {}),
|
|
573
|
+
},
|
|
574
|
+
},
|
|
575
|
+
}));
|
|
576
|
+
}
|
|
577
|
+
if (verb === "join-event" || verb === "leave-event") {
|
|
578
|
+
const eventId = flagUuid(parsed, "event", { required: true });
|
|
579
|
+
const kid = hasFlag(parsed, "student")
|
|
580
|
+
? await resolveFamilyOrTutoredKid(api, parsed)
|
|
581
|
+
: undefined;
|
|
582
|
+
const going = verb === "join-event";
|
|
583
|
+
const body = { going, ...(kid ? { studentId: kid.id } : {}) };
|
|
584
|
+
const who = kid ? kidName(kid) : "you";
|
|
585
|
+
return writeNow(parsed, {
|
|
586
|
+
action: going
|
|
587
|
+
? `sign ${who} up for a community event`
|
|
588
|
+
: `take ${who} off a community event`,
|
|
589
|
+
target: { event: eventId, ...(kid ? kidTarget(kid) : { user: "@me" }) },
|
|
590
|
+
request: body,
|
|
591
|
+
details: {
|
|
592
|
+
consequence: going
|
|
593
|
+
? "Saves the spot on the event page, under its own rules (who it's for, age, capacity); free. Undo: family undo."
|
|
594
|
+
: "Drops the spot on the event page. Undo: family undo.",
|
|
595
|
+
},
|
|
596
|
+
}, async () => unwrap(await api.client.POST("/parent-v2/events/{eventId}/rsvp/", {
|
|
597
|
+
params: { path: { eventId } },
|
|
598
|
+
body,
|
|
599
|
+
})));
|
|
600
|
+
}
|
|
559
601
|
if (verb === "login-link") {
|
|
560
602
|
// Sends an email; nothing in the family changes, so no confirm.
|
|
561
603
|
return writeNow(parsed, {
|
|
@@ -670,17 +712,27 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
670
712
|
const kid = hasFlag(parsed, "student")
|
|
671
713
|
? await resolveFamilyKid(api, parsed)
|
|
672
714
|
: undefined;
|
|
715
|
+
const every = flagString(parsed, "every")?.trim();
|
|
716
|
+
const until = flagDate(parsed, "until");
|
|
717
|
+
if (until !== undefined && !every)
|
|
718
|
+
throw new CliError("invalid_arguments", "--until needs --every.");
|
|
673
719
|
const body = {
|
|
674
720
|
body: text,
|
|
675
721
|
...(offset ? { sendAt: at } : { at }),
|
|
676
722
|
...(kid ? { studentId: kid.id } : {}),
|
|
723
|
+
...(every ? { every } : {}),
|
|
724
|
+
...(until !== undefined ? { until } : {}),
|
|
677
725
|
};
|
|
678
726
|
return writeNow(parsed, {
|
|
679
|
-
action:
|
|
727
|
+
action: every
|
|
728
|
+
? `text you "${text}" from ${at}, repeating ${every}${until ? ` until ${until}` : ""}`
|
|
729
|
+
: `text you "${text}" at ${at}`,
|
|
680
730
|
target: { user: "@me", ...(kid ? kidTarget(kid) : {}) },
|
|
681
731
|
request: body,
|
|
682
732
|
details: {
|
|
683
|
-
consequence:
|
|
733
|
+
consequence: every
|
|
734
|
+
? "One repeating reminder at that time on your clock (your timezone, across DST) until --until or canceled. family cancel-reminder or family undo stops the whole series."
|
|
735
|
+
: "Rocky texts you then (your timezone). Cancel with family cancel-reminder or family undo.",
|
|
684
736
|
},
|
|
685
737
|
}, async () => unwrap(await api.client.POST("/parent-v2/reminders/", { body })));
|
|
686
738
|
}
|
|
@@ -693,7 +745,9 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
693
745
|
action: "cancel one of your upcoming reminders",
|
|
694
746
|
target: { reminder: id },
|
|
695
747
|
request: {},
|
|
696
|
-
details: {
|
|
748
|
+
details: {
|
|
749
|
+
consequence: "It won't be texted; a repeating one stops for good (undo: family undo).",
|
|
750
|
+
},
|
|
697
751
|
}, async () => unwrap(await api.client.DELETE("/parent-v2/reminders/{id}/", {
|
|
698
752
|
params: { path: { id } },
|
|
699
753
|
})));
|
|
@@ -909,7 +963,7 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
909
963
|
},
|
|
910
964
|
}, async () => unwrap(await api.client.POST("/parent-v2/report-bug/", { body })));
|
|
911
965
|
}
|
|
912
|
-
throw new CliError("invalid_arguments", "Use family kids|today|schedule|tutor|account|set-name|set-notifications|set-phone|set-timezone|guardians|changes|undo|remind|reminders|cancel-reminder|config|set|pause|add-guardian|billing|billing-link|calendar|login-link|school-classes|school-class-options|drop-class|restore-class|swap-class|register-class|context|memory|message-guide|report-bug.");
|
|
966
|
+
throw new CliError("invalid_arguments", "Use family kids|today|schedule|tutor|account|set-name|set-notifications|set-phone|set-timezone|guardians|changes|undo|remind|reminders|cancel-reminder|config|set|pause|add-guardian|billing|billing-link|calendar|events|join-event|leave-event|login-link|school-classes|school-class-options|drop-class|restore-class|swap-class|register-class|context|memory|message-guide|report-bug.");
|
|
913
967
|
}
|
|
914
968
|
export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
915
969
|
const verb = parsed.positionals[1];
|
|
@@ -938,6 +992,8 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
938
992
|
goalTitle: todo.goalTitle,
|
|
939
993
|
// false = an extra the kid picked, beyond the day's plan.
|
|
940
994
|
required: todo.required,
|
|
995
|
+
// Who put it on the list (a named family adult, the kid, Rocky…).
|
|
996
|
+
...(todo.addedBy ? { addedBy: todo.addedBy } : {}),
|
|
941
997
|
coins: todo.reward,
|
|
942
998
|
...(todo.tag === "FLASHCARD_REVIEW" ? { kind: "flashcards" } : {}),
|
|
943
999
|
minutes: todo.estimatedTimeInMins,
|
|
@@ -955,9 +1011,25 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
955
1011
|
};
|
|
956
1012
|
}
|
|
957
1013
|
if (verb === "goals") {
|
|
958
|
-
|
|
1014
|
+
const data = unwrap(await api.client.GET("/parent/kid/{kidId}/goals/", {
|
|
959
1015
|
params: { path: { kidId } },
|
|
960
1016
|
}));
|
|
1017
|
+
// Find a challenge by name: every word of --search in its title.
|
|
1018
|
+
const words = (flagString(parsed, "search") ?? "")
|
|
1019
|
+
.toLowerCase()
|
|
1020
|
+
.split(/\s+/)
|
|
1021
|
+
.filter(Boolean);
|
|
1022
|
+
const rawStatus = flagString(parsed, "status");
|
|
1023
|
+
const status = rawStatus
|
|
1024
|
+
? assertChoice(rawStatus.toLowerCase(), ["active", "paused", "completed"], "--status").toUpperCase()
|
|
1025
|
+
: null;
|
|
1026
|
+
if (words.length === 0 && !status)
|
|
1027
|
+
return data;
|
|
1028
|
+
return {
|
|
1029
|
+
...data,
|
|
1030
|
+
goals: data.goals.filter((goal) => (!status || goal.status === status) &&
|
|
1031
|
+
words.every((word) => goal.title.toLowerCase().includes(word))),
|
|
1032
|
+
};
|
|
961
1033
|
}
|
|
962
1034
|
if (verb === "xp") {
|
|
963
1035
|
const range = flagString(parsed, "range");
|
|
@@ -1980,6 +2052,9 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
1980
2052
|
const goalId = flagUuid(parsed, "goal", { required: true });
|
|
1981
2053
|
const title = flagString(parsed, "title");
|
|
1982
2054
|
const description = flagString(parsed, "description");
|
|
2055
|
+
const find = flagString(parsed, "find");
|
|
2056
|
+
const replace = flagString(parsed, "replace");
|
|
2057
|
+
const append = flagString(parsed, "append-text");
|
|
1983
2058
|
const todoTitle = flagString(parsed, "todo-title");
|
|
1984
2059
|
const minutes = flagInteger(parsed, "minutes", { min: 1, max: 600 });
|
|
1985
2060
|
const url = flagString(parsed, "url");
|
|
@@ -1988,6 +2063,9 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
1988
2063
|
const body = {
|
|
1989
2064
|
...(title !== undefined ? { title } : {}),
|
|
1990
2065
|
...(description !== undefined ? { description } : {}),
|
|
2066
|
+
...(find !== undefined ? { find } : {}),
|
|
2067
|
+
...(replace !== undefined ? { replace } : {}),
|
|
2068
|
+
...(append !== undefined ? { append } : {}),
|
|
1991
2069
|
...(todoTitle !== undefined ? { todoTitle } : {}),
|
|
1992
2070
|
...(minutes !== undefined ? { minutes } : {}),
|
|
1993
2071
|
...(url !== undefined ? { url } : {}),
|
|
@@ -2000,7 +2078,7 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
2000
2078
|
target: { ...kidTarget(kid), goalId },
|
|
2001
2079
|
request: body,
|
|
2002
2080
|
details: {
|
|
2003
|
-
consequence: "Only a challenge with no template behind it can change here; a template-backed one is shared with other kids.",
|
|
2081
|
+
consequence: "Only a challenge with no template behind it can change here; a template-backed one is shared with other kids (add a note instead: kid set-goal-note).",
|
|
2004
2082
|
},
|
|
2005
2083
|
}, async () => unwrap(await api.client.PATCH("/parent-v2/kid/{kidId}/challenges/{goalId}/", {
|
|
2006
2084
|
params: { path: { kidId, goalId } },
|
|
@@ -2552,6 +2630,11 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
2552
2630
|
params: { path: { kidId } },
|
|
2553
2631
|
}));
|
|
2554
2632
|
}
|
|
2633
|
+
if (verb === "league") {
|
|
2634
|
+
return unwrap(await api.client.GET("/parent-v2/kid/{kidId}/league/", {
|
|
2635
|
+
params: { path: { kidId } },
|
|
2636
|
+
}));
|
|
2637
|
+
}
|
|
2555
2638
|
if (verb === "math-progress") {
|
|
2556
2639
|
const view = assertChoice(flagString(parsed, "view") ?? "overview", ["overview", "activity"], "--view");
|
|
2557
2640
|
const since = flagDate(parsed, "since");
|
|
@@ -2616,7 +2699,7 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
2616
2699
|
body,
|
|
2617
2700
|
})));
|
|
2618
2701
|
}
|
|
2619
|
-
throw new CliError("invalid_arguments", "Use kid today|goals|xp|map-scores|classes|profile|set-profile|texts|set-texts|set-rooms|feed-lock|set-feed-lock|logins|reveal-login|add-login|edit-login|remove-login|excuse|unexcuse-weekly|cowork|switch-cowork|friends|friend-parent|pair-device|goal-schedule|pause-goal|resume-goal|goal-note|set-goal-note|add-todo|todo|move-todo|end-session|remove-todo|edit-todo|repeat-todo|join-challenge|leave-challenge|complete-challenge|set-goal-games|set-goal-required|set-challenge-order|set-goal-coins|set-goal-days|set-todo-reward|mark-done|set-todo-required|challenges|rename-challenge|set-todo-naming|help|help-done|excuse-days|excused-days|unexcuse-days|moments|config|set|progress|schedule|attendance|browse-challenges|sign-in-code|todos|goal|conversations|social|enrollments|math-progress|memory|observe|send-note.");
|
|
2702
|
+
throw new CliError("invalid_arguments", "Use kid today|goals|xp|map-scores|classes|profile|set-profile|texts|set-texts|set-rooms|feed-lock|set-feed-lock|logins|reveal-login|add-login|edit-login|remove-login|excuse|unexcuse-weekly|cowork|switch-cowork|friends|friend-parent|pair-device|goal-schedule|pause-goal|resume-goal|goal-note|set-goal-note|add-todo|todo|move-todo|end-session|remove-todo|edit-todo|repeat-todo|join-challenge|leave-challenge|complete-challenge|set-goal-games|set-goal-required|set-challenge-order|set-goal-coins|set-goal-days|set-todo-reward|mark-done|set-todo-required|challenges|rename-challenge|set-todo-naming|help|help-done|excuse-days|excused-days|unexcuse-days|moments|config|set|progress|schedule|attendance|browse-challenges|sign-in-code|todos|goal|conversations|social|enrollments|math-progress|league|memory|observe|send-note.");
|
|
2620
2703
|
}
|
|
2621
2704
|
/**
|
|
2622
2705
|
* `me`: the caller's OWN to-dos and challenges (a parent learning too), over
|
package/dist/help.js
CHANGED
|
@@ -232,7 +232,8 @@ Usage:
|
|
|
232
232
|
recess [--json] family swap-class --student <kid> --from <cohort-id>
|
|
233
233
|
--to <cohort-id-or-none> [--confirm]
|
|
234
234
|
recess [--json] family register-class --student <kid> --cohort <cohort-id> [--confirm]
|
|
235
|
-
recess [--json] family remind --at "YYYY-MM-DD HH:mm" --body TEXT [--student <kid>]
|
|
235
|
+
recess [--json] family remind --at "YYYY-MM-DD HH:mm" --body TEXT [--student <kid>]
|
|
236
|
+
[--every <daily|weekdays|weekends|weekly|"Mon, Wed"> [--until YYYY-MM-DD]] [--confirm]
|
|
236
237
|
recess [--json] family reminders
|
|
237
238
|
recess [--json] family cancel-reminder --reminder <reminder-id> [--confirm]
|
|
238
239
|
recess [--json] family config
|
|
@@ -242,6 +243,9 @@ Usage:
|
|
|
242
243
|
recess [--json] family billing
|
|
243
244
|
recess [--json] family billing-link
|
|
244
245
|
recess [--json] family calendar
|
|
246
|
+
recess [--json] family events [--search TEXT] [--days N] [--student <kid>] [--mine]
|
|
247
|
+
recess [--json] family join-event --event <event-id> [--student <kid>] [--confirm]
|
|
248
|
+
recess [--json] family leave-event --event <event-id> [--student <kid>] [--confirm]
|
|
245
249
|
recess [--json] family login-link [--confirm]
|
|
246
250
|
recess [--json] family context [--student <kid>]
|
|
247
251
|
recess [--json] family memory [--query TEXT] [--date YYYY-MM-DD]
|
|
@@ -254,7 +258,8 @@ Usage:
|
|
|
254
258
|
recess [--json] family report-bug --text TEXT [--summary TEXT] [--kind bug|request] [--student <kid>]
|
|
255
259
|
[--todo <todo-id>] [--confirm]
|
|
256
260
|
recess [--json] kid today --student <kid> [--date YYYY-MM-DD]
|
|
257
|
-
recess [--json] kid goals --student <kid>
|
|
261
|
+
recess [--json] kid goals --student <kid> [--search TEXT]
|
|
262
|
+
[--status active|paused|completed]
|
|
258
263
|
recess [--json] kid xp --student <kid> [--range week|month|quarter|year]
|
|
259
264
|
recess [--json] kid map-scores --student <kid>
|
|
260
265
|
recess [--json] kid classes --student <kid>
|
|
@@ -316,7 +321,8 @@ Usage:
|
|
|
316
321
|
--required on|off [--minutes N] [--url URL] [--start YYYY-MM-DD]
|
|
317
322
|
[--weeks N | --until YYYY-MM-DD | --todos N] [--confirm]
|
|
318
323
|
recess [--json] kid edit-challenge --student <kid> --goal <goal-id> [--title TEXT]
|
|
319
|
-
[--description TEXT
|
|
324
|
+
[--description TEXT | --find TEXT --replace TEXT | --append-text TEXT]
|
|
325
|
+
[--todo-title TEXT] [--minutes N] [--url URL]
|
|
320
326
|
[--until YYYY-MM-DD | --todos N | --no-limit] [--confirm]
|
|
321
327
|
recess [--json] kid refresh-todo --student <kid> --goal <goal-id> [--date YYYY-MM-DD] [--confirm]
|
|
322
328
|
recess [--json] kid set-goal-days --student <kid> --goal <goal-id>
|
|
@@ -358,6 +364,7 @@ Usage:
|
|
|
358
364
|
recess [--json] kid enrollments --student <kid>
|
|
359
365
|
recess [--json] kid math-progress --student <kid> [--view overview|activity]
|
|
360
366
|
[--since YYYY-MM-DD]
|
|
367
|
+
recess [--json] kid league --student <kid>
|
|
361
368
|
recess [--json] kid memory ls|cat|grep --student <kid> [--path TEXT] [--pattern TEXT]
|
|
362
369
|
recess [--json] kid observe --student <kid> --note TEXT [--confirm]
|
|
363
370
|
recess [--json] kid send-note --student <kid> --note TEXT [--confirm]
|
|
@@ -1485,6 +1492,9 @@ export const COMMAND_SUMMARIES = {
|
|
|
1485
1492
|
"family billing": "Subscriptions, next charges, failed payments, plans, what can pause.",
|
|
1486
1493
|
"family billing-link": "The billing page link (cards, plan, receipts).",
|
|
1487
1494
|
"family calendar": "School-wide days off ahead this school year.",
|
|
1495
|
+
"family events": "Upcoming Recess community events (Hangouts > Events: parent talks and coffees, kids' groups), for you and each kid who can see them: host, time, who it's for, who in the family is going, the event id and page link. --search matches title, description or host; --days 1-35 (14); --mine only ones the family goes to. Classes are kid schedule.",
|
|
1496
|
+
"family join-event": "Sign you (no --student) or a kid up for a community event from family events (at once; free, the page's own rules). Staff: --student takes any kid's id or roster name.",
|
|
1497
|
+
"family leave-event": "Take you (no --student) or a kid off a community event (at once). Staff: --student takes any kid's id or roster name.",
|
|
1488
1498
|
"family login-link": "Email yourself a fresh sign-in link and code (at once; not a change).",
|
|
1489
1499
|
"family context": "Who's on the account: family, each kid's tutor and guide, school tier.",
|
|
1490
1500
|
"family memory": "What Rocky remembers about the family: family, yours, recent journal, --query.",
|
|
@@ -1493,9 +1503,9 @@ export const COMMAND_SUMMARIES = {
|
|
|
1493
1503
|
"family memory forget": "Forget one exact line of the family notes (at once).",
|
|
1494
1504
|
"family message-guide": "Message your kid's guide (a support ticket; Rocky tells them in the app and on Slack); the person for anything. --text is the full note, kept on the ticket; --ask is what the guide is sent: who asked, what they want and the one fact the guide needs, in a line or two (200 characters). Always pass --ask. --event (a class session, from kid schedule, attendance or rooms) sends it to that class's teachers instead of the kid's guide: for a question about one class.",
|
|
1495
1505
|
"family report-bug": "Report a bug, or a request (--kind request: something missing, or what you think of Rocky), to the Recess team (at once; not a change).",
|
|
1496
|
-
"family remind": "Have Rocky text you a reminder (applies at once).",
|
|
1497
|
-
"family reminders": "Your upcoming text-me reminders.",
|
|
1498
|
-
"family cancel-reminder": "Cancel an upcoming reminder (applies at once).",
|
|
1506
|
+
"family remind": "Have Rocky text you a reminder, once or repeating (applies at once).",
|
|
1507
|
+
"family reminders": "Your upcoming text-me reminders; a repeating one is one entry with its rule.",
|
|
1508
|
+
"family cancel-reminder": "Cancel an upcoming reminder, a repeating one's whole series (applies at once).",
|
|
1499
1509
|
"family config": "The family's settings, one line each, with paths.",
|
|
1500
1510
|
"family set": "Change one family setting by path (at once, or confirm when marked).",
|
|
1501
1511
|
"family pause": "Pause a kid's weekly class billing 1-6 weeks from Sunday (family undo resumes).",
|
|
@@ -1507,7 +1517,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1507
1517
|
"family swap-class": "Queue (or cancel) a kid's class switch.",
|
|
1508
1518
|
"family register-class": "Register a kid for a school class.",
|
|
1509
1519
|
"kid today": "A kid's day: todos, XP, schedule.",
|
|
1510
|
-
"kid goals": "A kid's goals and progress.",
|
|
1520
|
+
"kid goals": "A kid's goals and progress; --search finds one by name, with its id.",
|
|
1511
1521
|
"kid xp": "A kid's XP history.",
|
|
1512
1522
|
"kid map-scores": "A kid's MAP test scores.",
|
|
1513
1523
|
"kid classes": "A kid's classes.",
|
|
@@ -1552,7 +1562,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1552
1562
|
"kid screenshots": "Links to up to five session screenshots of one to-do.",
|
|
1553
1563
|
"kid send-screenshot": "Show a parent session screenshots: pictures on a Rocky text, links elsewhere.",
|
|
1554
1564
|
"kid create-challenge": "A private fixed challenge: the same to-do on set days, optionally limited (at once; accounts that can create challenges).",
|
|
1555
|
-
"kid edit-challenge": "Edit a challenge with no template behind it, including its limit (at once; tutors too).",
|
|
1565
|
+
"kid edit-challenge": "Edit a challenge with no template behind it, including its limit; --find/--replace or --append-text change part of the description (at once; tutors too).",
|
|
1556
1566
|
"kid refresh-todo": "Make a challenge's to-do again for a day (at once; queued).",
|
|
1557
1567
|
"kid challenges": "A kid's challenges, one line each, plus the page with the rest.",
|
|
1558
1568
|
"kid mark-done": "Mark a to-do done a parent vouches for; it pays as usual (at once).",
|
|
@@ -1571,7 +1581,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1571
1581
|
"kid complete-challenge": "Mark a kid's challenge finished: no coins or badge (family undo reopens).",
|
|
1572
1582
|
"kid set-todo-reward": "Set a to-do's XP and/or coins to new totals (family undo reverses).",
|
|
1573
1583
|
"kid progress": "A kid's on-track progress per subject from the skill map.",
|
|
1574
|
-
"kid schedule": "A kid's upcoming class sessions in your timezone, with event ids and plan.",
|
|
1584
|
+
"kid schedule": "A kid's upcoming class sessions in your timezone, with event ids and plan (community events: family events).",
|
|
1575
1585
|
"kid attendance": "A kid's recent class sessions: attended, missed, excused.",
|
|
1576
1586
|
"kid browse-challenges": "Library challenges a kid can join here (picked for them, or --query).",
|
|
1577
1587
|
"kid sign-in-code": "The app link and a one-time sign-in code for a kid (at once; not a change).",
|
|
@@ -1581,6 +1591,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1581
1591
|
"kid social": "A kid's friends, events, comments, chat counts, safety (view only).",
|
|
1582
1592
|
"kid enrollments": "A kid's active enrollments: plan, price, pauses.",
|
|
1583
1593
|
"kid math-progress": "A kid's Math Academy course, progress and activity.",
|
|
1594
|
+
"kid league": "A kid's Recess league this week (not Math Academy's): tier, rank in it, weekly XP, promotion or demotion zone, when the week closes, last week's result.",
|
|
1584
1595
|
"kid memory ls": "List the files in what Rocky knows about a kid.",
|
|
1585
1596
|
"kid memory cat": "Read one file of what Rocky knows about a kid.",
|
|
1586
1597
|
"kid memory grep": "Find lines in what Rocky knows about a kid.",
|