the-bastion/doc/sphinx/plugins/restricted/groupDelete.rst
Stéphane Lesimple 3925e67d43 feat: add groupDestroy command for owners
This command deletes a group, as `groupDelete` does, but works
for owners so that they can delete their own group.
`groupDelete` remains as a restricted command, able to delete any group.

Closes #40.
2021-06-02 15:32:40 +02:00

30 lines
489 B
ReStructuredText

============
groupDelete
============
Delete a group
==============
.. admonition:: usage
:class: cmdusage
--osh groupDelete --group GROUP
.. program:: groupDelete
.. option:: --group GROUP
Group name to delete
.. option:: --no-confirm
Skip group name confirmation, but blame yourself if you deleted the wrong group!
This restricted command is able to delete any group. Group owners can however delete
their own groups using the sibling `groupDestroy` command.