chore: add cli command to fetch group sync settings as json (#14694)

* chore: add cli command to fetch group sync settings as json
This commit is contained in:
Steven Masley
2024-09-17 14:08:33 -05:00
committed by GitHub
parent 45160c7679
commit d96adad56f
20 changed files with 626 additions and 13 deletions

View File

@ -18,12 +18,13 @@ coder organizations [flags] [subcommand]
## Subcommands
| Name | Purpose |
| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [<code>show</code>](./organizations_show.md) | Show the organization. Using "selected" will show the selected organization from the "--org" flag. Using "me" will show all organizations you are a member of. |
| [<code>create</code>](./organizations_create.md) | Create a new organization. |
| [<code>members</code>](./organizations_members.md) | Manage organization members |
| [<code>roles</code>](./organizations_roles.md) | Manage organization roles. |
| Name | Purpose |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [<code>show</code>](./organizations_show.md) | Show the organization. Using "selected" will show the selected organization from the "--org" flag. Using "me" will show all organizations you are a member of. |
| [<code>create</code>](./organizations_create.md) | Create a new organization. |
| [<code>members</code>](./organizations_members.md) | Manage organization members |
| [<code>roles</code>](./organizations_roles.md) | Manage organization roles. |
| [<code>settings</code>](./organizations_settings.md) | Manage organization settings. |
## Options

View File

@ -0,0 +1,22 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings
Manage organization settings.
Aliases:
- setting
## Usage
```console
coder organizations settings
```
## Subcommands
| Name | Purpose |
| ----------------------------------------------------- | --------------------------------------- |
| [<code>show</code>](./organizations_settings_show.md) | Outputs specified organization setting. |
| [<code>set</code>](./organizations_settings_set.md) | Update specified organization setting. |

View File

@ -0,0 +1,26 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings set
Update specified organization setting.
## Usage
```console
coder organizations settings set
```
## Description
```console
- Update group sync settings.:
$ coder organization settings set groupsync < input.json
```
## Subcommands
| Name | Purpose |
| --------------------------------------------------------------------- | ---------------------------------------------------------- |
| [<code>group-sync</code>](./organizations_settings_set_group-sync.md) | Group sync settings to sync groups from an IdP. |
| [<code>role-sync</code>](./organizations_settings_set_role-sync.md) | Role sync settings to sync organization roles from an IdP. |

View File

@ -0,0 +1,15 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings set group-sync
Group sync settings to sync groups from an IdP.
Aliases:
- groupsync
## Usage
```console
coder organizations settings set group-sync
```

View File

@ -0,0 +1,15 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings set role-sync
Role sync settings to sync organization roles from an IdP.
Aliases:
- rolesync
## Usage
```console
coder organizations settings set role-sync
```

View File

@ -0,0 +1,26 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings show
Outputs specified organization setting.
## Usage
```console
coder organizations settings show
```
## Description
```console
- Output group sync settings.:
$ coder organization settings show groupsync
```
## Subcommands
| Name | Purpose |
| ---------------------------------------------------------------------- | ---------------------------------------------------------- |
| [<code>group-sync</code>](./organizations_settings_show_group-sync.md) | Group sync settings to sync groups from an IdP. |
| [<code>role-sync</code>](./organizations_settings_show_role-sync.md) | Role sync settings to sync organization roles from an IdP. |

View File

@ -0,0 +1,15 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings show group-sync
Group sync settings to sync groups from an IdP.
Aliases:
- groupsync
## Usage
```console
coder organizations settings show group-sync
```

View File

@ -0,0 +1,15 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# organizations settings show role-sync
Role sync settings to sync organization roles from an IdP.
Aliases:
- rolesync
## Usage
```console
coder organizations settings show role-sync
```