mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
4d414a0df7
This is like `--yes`, but for parameter prompts.
63 lines
1.5 KiB
Markdown
Generated
63 lines
1.5 KiB
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
# organizations roles update
|
|
|
|
Update an organization custom role
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder organizations roles update [flags] <role_name>
|
|
```
|
|
|
|
## Description
|
|
|
|
```console
|
|
- Run with an input.json file:
|
|
|
|
$ coder roles update --stdin < role.json
|
|
```
|
|
|
|
## Options
|
|
|
|
### -y, --yes
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| Type | <code>bool</code> |
|
|
|
|
Bypass confirmation prompts.
|
|
|
|
### --dry-run
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| Type | <code>bool</code> |
|
|
|
|
Does all the work, but does not submit the final updated role.
|
|
|
|
### --stdin
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| Type | <code>bool</code> |
|
|
|
|
Reads stdin for the json role definition to upload.
|
|
|
|
### -c, --column
|
|
|
|
| | |
|
|
|---------|------------------------------------------------------------------------------------------------------------------|
|
|
| Type | <code>[name\|display name\|organization id\|site permissions\|organization permissions\|user permissions]</code> |
|
|
| Default | <code>name,display name,site permissions,organization permissions,user permissions</code> |
|
|
|
|
Columns to display in table output.
|
|
|
|
### -o, --output
|
|
|
|
| | |
|
|
|---------|--------------------------|
|
|
| Type | <code>table\|json</code> |
|
|
| Default | <code>table</code> |
|
|
|
|
Output format.
|