mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
21 lines
567 B
Plaintext
21 lines
567 B
Plaintext
|%
|
|
+$ group (set ship)
|
|
::
|
|
+$ group-action
|
|
$% [%add members=group pax=path] :: add member to group
|
|
[%remove members=group pax=path] :: remove member from group
|
|
[%bundle pax=path] :: create group at path
|
|
[%unbundle pax=path] :: delete group at path
|
|
==
|
|
::
|
|
+$ group-update
|
|
$% [%initial =groups]
|
|
[%keys keys=(set path)] :: keys have changed
|
|
[%path members=group pax=path]
|
|
group-action
|
|
==
|
|
::
|
|
+$ groups (map path group)
|
|
--
|
|
|