mirror of
https://github.com/gogrlx/docs.grlx.dev.git
synced 2026-04-14 00:48:12 -07:00
987 B
987 B
title, desc
| title | desc |
|---|---|
| grlx.ingredients.group | An overview of grlx.ingredients.group |
The group ingredient handles group operations on sprouts.
group.absent
Removes a group
Parameters
| parameter | type | required | description |
|---|---|---|---|
| name | string | no | The name of the group to remove |
group.absent:
- name: sprout-group
group.exists
Validates if a group exists
Parameters
| parameter | type | required | description |
|---|---|---|---|
| name | string | yes | The group name to check |
group.exists:
- name: sprout-group
group.present
Creates a group if it does not exist
Parameters
| parameter | type | required | description |
|---|---|---|---|
| name | string | yes | The name of the group to create |
| gid | int | no | The GID of the group to create |
group.present:
- name: sprout-group
- gid: 1000