@smartkomm/plexus-cli 0.1.54 → 0.1.56

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 CHANGED
@@ -730,6 +730,22 @@ sent. Gate: the config gate (school administrator with
730
730
  `administration.config.manage`, or the platform operator). Recipe:
731
731
  [Import a school's classes from a class list](./playbooks/learning-groups/import-classes-from-csv.md).
732
732
 
733
+ ### Persons from a person list (`persons import`)
734
+
735
+ `persons import --file <persons.csv> --mapping <mapping.json>` creates, per row,
736
+ the row's person (roles and fields from the mapping), each related person block
737
+ (`VP1…`, `VP2…`) with the relationship edges to it, and the enrollment into a
738
+ class that `learning-groups apply` created. Without `--confirm` it prints the
739
+ plan (create / unchanged / changed per person, related persons, edges,
740
+ enrollments). Identity: `sourceKey` + the key column for the row's person; a
741
+ related person is merged across rows only on the mapping's `mergeOn` fields,
742
+ otherwise it belongs to its row. A re-run creates nothing; a changed row is
743
+ reported and not written. Every column read or ignored, every cell converted by
744
+ the school's field kinds (a choice by element key or German label) — refused
745
+ otherwise. Gate: `stammdaten.parties.write` school-wide (plus
746
+ `administration.masterData.manage` to enroll); the school's own token suffices.
747
+ Recipe: [Import pupils and their guardians from a person list](./playbooks/persons/import-persons-from-csv.md).
748
+
733
749
  ### Generic escape hatch
734
750
 
735
751
  ```bash