Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/docs/content/docs/cli/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ sim login [options]

| Option | Required | Description |
| --- | --- | --- |
| `--method <method>` | No | Credential to obtain: oauth requires OAuth support; api-key creates a permanent key through pairing (auto-selects when omitted). Accepted values: `oauth`, `api-key`. |
| `--method <method>` | No | Credential to obtain: oauth requires OAuth support; api-key creates an API key through pairing (auto-selects when omitted). Accepted values: `oauth`, `api-key`. |
| `--no-browser` | No | Print the approval URL without opening it (either login method). |
| `--read-only` | No | Ask only for permission to read, never to change anything. |
| `--expires-in <days>` | No | API-key login only: days until the key expires (1-365); omit for a key that never expires. |
| `--callback-port <port>` | No | Pin the local port the browser returns to. |
| `-y, --yes` | No | Overwrite an existing API-key profile without prompting. |

Expand Down
24 changes: 23 additions & 1 deletion apps/docs/content/docs/cli/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ sim login [options]

| Option | Required | Description |
| --- | --- | --- |
| `--method <method>` | No | Credential to obtain: oauth requires OAuth support; api-key creates a permanent key through pairing (auto-selects when omitted). Accepted values: `oauth`, `api-key`. |
| `--method <method>` | No | Credential to obtain: oauth requires OAuth support; api-key creates an API key through pairing (auto-selects when omitted). Accepted values: `oauth`, `api-key`. |
| `--no-browser` | No | Print the approval URL without opening it (either login method). |
| `--read-only` | No | Ask only for permission to read, never to change anything. |
| `--expires-in <days>` | No | API-key login only: days until the key expires (1-365); omit for a key that never expires. |
| `--callback-port <port>` | No | Pin the local port the browser returns to. |
| `-y, --yes` | No | Overwrite an existing API-key profile without prompting. |

Expand Down Expand Up @@ -9239,6 +9240,27 @@ sim workspaces unlink [options]

API request and response schemas: [unlinkWorkspaceFork](/api-reference/workspace-sync/unlinkWorkspaceFork).

### sim workspaces update

Update workspace (OAuth login or personal API key required)

```bash
sim workspaces update [options]
```

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--name <value>` | No | New workspace display name. |
| `--logo-url <value>` | No | New workspace logo: a root-relative path (starting with /) or an https:// URL. To remove the logo, send logoUrl: null through the API or MCP (--logo-url null sends the word, not JSON null). |

</CommandTable>

API request and response schemas: [updateWorkspace](/api-reference/workspaces/updateWorkspace).

### sim workspaces sync-exclusions

Update workspace fork exclusions (OAuth login or personal API key required)
Expand Down
21 changes: 21 additions & 0 deletions apps/docs/content/docs/cli/workspaces.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,27 @@ sim workspaces get

API request and response schemas: [getWorkspace](/api-reference/workspaces/getWorkspace).

### Update workspace

OAuth login or personal API key required.

```bash
sim workspaces update [options]
```

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--name <value>` | No | New workspace display name. |
| `--logo-url <value>` | No | New workspace logo: a root-relative path (starting with /) or an https:// URL. To remove the logo, send logoUrl: null through the API or MCP (--logo-url null sends the word, not JSON null). |

</CommandTable>

API request and response schemas: [updateWorkspace](/api-reference/workspaces/updateWorkspace).

### List workspace members

```bash
Expand Down
Loading
Loading