@smartkomm/plexus-cli 0.1.37 → 0.1.38
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 +14 -0
- package/dist/cli.mjs +300 -188
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +1 -0
- package/dist/skill/references/commands.md +17 -1
- package/dist/skill/references/learning-groups/import-classes-from-csv.md +87 -0
- package/dist/spec.snapshot.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -716,6 +716,20 @@ plexus-cli --env <env> offer versions --offer <slug> # offerVersionId for appl
|
|
|
716
716
|
computed one needs `--type string|number|boolean|date`; docRef, multi-select and repeated-block
|
|
717
717
|
fields are refused.
|
|
718
718
|
|
|
719
|
+
### Classes from a class list (`learning-groups apply`)
|
|
720
|
+
|
|
721
|
+
`learning-groups apply --file <classes.csv> --mapping <mapping.json>` places
|
|
722
|
+
each row as unit (by key) → program → the mapping's school year (a run) →
|
|
723
|
+
learning group, by stable key (`<unit>:<year>:<class code>`). Without
|
|
724
|
+
`--confirm` it prints the plan (create / update / unchanged per class); a re-run
|
|
725
|
+
creates nothing. The mapping file says which column is code, unit and capacity,
|
|
726
|
+
which columns name the program (or which existing program a name means), the
|
|
727
|
+
grade level per Stufe value, and which columns are ignored and why — any other
|
|
728
|
+
column, unlisted value or duplicate class refuses the file before anything is
|
|
729
|
+
sent. Gate: the config gate (school administrator with
|
|
730
|
+
`administration.config.manage`, or the platform operator). Recipe:
|
|
731
|
+
[Import a school's classes from a class list](./playbooks/learning-groups/import-classes-from-csv.md).
|
|
732
|
+
|
|
719
733
|
### Generic escape hatch
|
|
720
734
|
|
|
721
735
|
```bash
|