Groups
The groups command (alias: g) manages Redmine groups.
List Groups
Section titled “List Groups”redmine groups list [flags]| Flag | Description |
|---|---|
--limit | Maximum number of results |
--offset | Result offset for pagination |
-o, --output | Output format |
View a Group
Section titled “View a Group”redmine groups get <id-or-name> [flags]Accepts a numeric ID or group name.
Create a Group
Section titled “Create a Group”redmine groups create [flags]| Flag | Description |
|---|---|
--name | Group name — required |
Update a Group
Section titled “Update a Group”redmine groups update <id-or-name> [flags]| Flag | Description |
|---|---|
--name | New group name |
Add a User to a Group
Section titled “Add a User to a Group”redmine groups add-user <group-id-or-name> <user-id-or-name>Both arguments accept a numeric ID or name.
Remove a User from a Group
Section titled “Remove a User from a Group”redmine groups remove-user <group-id-or-name> <user-id-or-name>Both arguments accept a numeric ID or name.
Delete a Group
Section titled “Delete a Group”redmine groups delete <id-or-name> [flags]| Flag | Description |
|---|---|
-f, --force | Skip confirmation prompt |