The `coder organizations show` help examples had their `Description` and `Command` fields swapped, so `--help` and `docs/reference/cli/organizations/show.md` read backwards. This swaps them back, tidies the descriptions, and regenerates the help snapshot and reference page. **Behavior change:** Help text and generated docs only. Closes [CLI-38](https://linear.app/codercom/issue/CLI-38) _This PR was generated by Coder Agents on behalf of @nickvigilante._
64 lines
1.9 KiB
Markdown
Generated
64 lines
1.9 KiB
Markdown
Generated
---
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
title: "`coder 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."
|
|
---
|
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
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.
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder organizations show [flags] ["selected"|"me"|uuid|org_name]
|
|
```
|
|
|
|
## Description
|
|
|
|
```console
|
|
- Show the organization selected with '--org=<org_name>', which the CLI uses:
|
|
|
|
$ coder org show selected
|
|
|
|
- List all organizations you are a member of:
|
|
|
|
$ coder org show me
|
|
|
|
- Show the organization named 'developers':
|
|
|
|
$ coder org show developers
|
|
|
|
- Show the organization with the given ID:
|
|
|
|
$ coder org show 90ee1875-3db5-43b3-828e-af3687522e43
|
|
```
|
|
|
|
## Options
|
|
|
|
### --only-id
|
|
|
|
| | |
|
|
|------|-------------------|
|
|
| Type | <code>bool</code> |
|
|
|
|
Only print the organization ID.
|
|
|
|
### -c, --column
|
|
|
|
| | |
|
|
|---------|---------------------------------------------------------------------------------------------------------------------|
|
|
| Type | <code>[id\|name\|display name\|icon\|description\|created at\|updated at\|default\|default org member roles]</code> |
|
|
| Default | <code>id,name,default</code> |
|
|
|
|
Columns to display in table output.
|
|
|
|
### -o, --output
|
|
|
|
| | |
|
|
|---------|--------------------------------|
|
|
| Type | <code>text\|table\|json</code> |
|
|
| Default | <code>text</code> |
|
|
|
|
Output format.
|