mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -857,6 +857,41 @@
|
||||
"description": "Show role(s)",
|
||||
"path": "reference/cli/organizations_roles_show.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings",
|
||||
"description": "Manage organization settings.",
|
||||
"path": "reference/cli/organizations_settings.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings set",
|
||||
"description": "Update specified organization setting.",
|
||||
"path": "reference/cli/organizations_settings_set.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings set group-sync",
|
||||
"description": "Group sync settings to sync groups from an IdP.",
|
||||
"path": "reference/cli/organizations_settings_set_group-sync.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings set role-sync",
|
||||
"description": "Role sync settings to sync organization roles from an IdP.",
|
||||
"path": "reference/cli/organizations_settings_set_role-sync.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings show",
|
||||
"description": "Outputs specified organization setting.",
|
||||
"path": "reference/cli/organizations_settings_show.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings show group-sync",
|
||||
"description": "Group sync settings to sync groups from an IdP.",
|
||||
"path": "reference/cli/organizations_settings_show_group-sync.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations settings show role-sync",
|
||||
"description": "Role sync settings to sync organization roles from an IdP.",
|
||||
"path": "reference/cli/organizations_settings_show_role-sync.md"
|
||||
},
|
||||
{
|
||||
"title": "organizations show",
|
||||
"description": "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.",
|
||||
|
||||
Generated
+7
-6
@@ -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
|
||||
|
||||
|
||||
+22
@@ -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. |
|
||||
+26
@@ -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. |
|
||||
@@ -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
|
||||
```
|
||||
@@ -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
|
||||
```
|
||||
+26
@@ -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. |
|
||||
@@ -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
|
||||
```
|
||||
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user