> For the complete documentation index, see [llms.txt](https://docs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akinon.com/technical-guides/acc/acc-cli/acc-cli-tui.md). Agents can also search and read this documentation through its [MCP server](https://docs.akinon.com/~gitbook/mcp).

# ACC CLI TUI

`akinoncli` opens a full-screen, keyboard-driven interface automatically when a command runs attached to a real terminal (TTY) without an explicit output format — for example, bare `akinoncli` or `akinoncli project list`. Passing `-o json`, `-o yaml`, or `-o table`, or running outside a TTY (CI, piped output), always falls back to plain CLI output instead — see `ACC_CLI_DOCS.md`.

**Supported platforms**: any terminal emulator on macOS, Linux, or Windows that supports a TTY and ANSI/truecolor escape codes.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FrfIR08vBNdW1LjXmOv2g%2Fusage-demo.gif?alt=media&amp;token=36e4c1cd-13f4-4b3a-99f5-999362b64743" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Navigation</mark>

Every screen in the TUI follows the same rules, so once you've used one, you can drive all of them:

| Key                              | Action                                              |
| -------------------------------- | --------------------------------------------------- |
| `↑` / `↓` or `Tab` / `Shift+Tab` | Move the selection in a list or between form fields |
| `Enter`                          | Open the selected item, or submit the current form  |
| `Esc`                            | Go back to the previous screen, or close an overlay |
| `Ctrl+C`                         | Quit the TUI from anywhere                          |
| `/`                              | Search/filter, on any list screen                   |

Letter shortcuts (`C`, `E`, `D`, …) are case-insensitive — holding Shift doesn't change what they do. The one exception is the logs screen, where `g`/`G` are deliberately distinct (oldest/latest).

On any row that supports it, `Y` (or `Enter`) opens a copy-to-clipboard picker — select a field or the entire row and copy it without leaving the list:

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FqdklV5Fus88Jjh1lCmZ6%2Fcopy-to-clipboard.png?alt=media&amp;token=7f910007-9ef9-4142-8b66-380d07184ed1" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Home Menu</mark>

Launch `akinoncli` with no arguments (or with output not forced to `json`/`yaml`/`table`) and you land on the home menu — the hub for every resource the TUI manages. Jump straight to any section with its bracketed letter, or move the selection with `↑`/`↓` and press `Enter`.

| Key | Section          |
| --- | ---------------- |
| `P` | Projects         |
| `A` | Applications     |
| `D` | Domains          |
| `K` | Public keys      |
| `U` | Users            |
| `R` | Roles            |
| `E` | Email identities |
| `S` | Switch account   |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FBfvIP8R9fJcYueNWRFhF%2Fhome-menu.png?alt=media&amp;token=e53766dd-4486-485d-b7c5-6bafaa65c056" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Projects</mark>

This is the flow you'll use most: browsing projects, navigating into a project's apps, and deploying/inspecting them.

### <mark style="color:red;">Project List</mark>

`project list` opens a scrollable, searchable (`/`) list.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FL5FnNJL2MYJ89HoArCQQ%2Fproject-list.png?alt=media&amp;token=28f4310a-05fe-40ea-b8c1-6863f7ecf4d8" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Project Detail</mark>

Pressing `Enter` on a project opens its detail screen — the project's metadata plus a table of every ProjectApp installed in it.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FbwGKcgPaXIzxVp3POdqj%2Fproject-detail.png?alt=media&amp;token=ed8ed272-a643-4a49-94f0-adb6efd85425" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Project Create</mark>

Press `C` from the project list to open a form for creating a new project.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgzf7DDir0ntlgFGRRePX%2Fproject-create.png?alt=media&amp;token=42705d42-476c-464c-bd79-cc47ef78e639" alt="" width="563"><figcaption></figcaption></figure>

Selecting a ProjectApp row provides the following options:

| Key                             | Opens                                                |
| ------------------------------- | ---------------------------------------------------- |
| `D`                             | Confirm screen — redeploys the app's current version |
| `L`                             | **Logs** — shows the ProjectApp's logs               |
| `M`                             | **Monitoring** — shows CPU/memory history charts     |
| (from the app row)              | **Env vars** — add/remove environment variables      |
| `A` (in the certificate screen) | **Attach certificate**                               |

Press `Esc` to close any of these screens.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2F1hetA1x22Le9IqFJuMmF%2Fproject-app-logs.png?alt=media&amp;token=e5125e4d-65fa-4238-97e8-7b02546c414a" alt="" width="563"><figcaption></figcaption></figure>

In the environment screen:

| Key           | Action                                                             |
| ------------- | ------------------------------------------------------------------ |
| `A`           | Add one variable at a time                                         |
| `B`           | Open a bulk-add form for pasting several `KEY=VALUE` pairs at once |
| `E` / `Enter` | Edit the highlighted variable                                      |
| `D`           | Delete the highlighted variable                                    |

The add and edit forms have a **Secret** field: move to it with `Tab` and toggle it with `←` / `→`. A secret's value is never shown again after it is saved — the list shows it masked and marks it in the **Secret** column. A plain variable can be marked secret when you edit it; a secret one cannot be turned back, and its edit form starts empty because there is no value to show — saving replaces it. Bulk add creates plain variables, but a name that is already secret stays secret.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FP1K7hydVti8T992DmEEB%2Fproject-app-env.png?alt=media&amp;token=9848aaba-da23-429b-9f36-3eb15e6fceea" alt="" width="563"><figcaption></figcaption></figure>

In the monitoring screen:

| Key       | Action                                                          |
| --------- | --------------------------------------------------------------- |
| `T`       | Choose the time range to display                                |
| `S`       | Set the granularity — how many minutes apart each data point is |
| `R`       | Set how often the view refreshes, in minutes                    |
| `↑` / `↓` | Switch which pod's charts are shown                             |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FyA79eHuXmbQrKrtejVQ9%2Fproject-monitoring.png?alt=media&amp;token=7fe74a2a-4f4e-4d22-99b9-543787349910" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Applications</mark>

Lists the applications you've developed.

| Key     | Action                                           |
| ------- | ------------------------------------------------ |
| `Enter` | Open its detail screen                           |
| `E`     | Open its build variables                         |
| `R`     | Open its build reports                           |
| `L`     | Open the version/error logs for a specific build |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FnWEV4GahDJxB19lAnq94%2Fapplication-list.png?alt=media&amp;token=c1b72e0f-6e14-43b1-b7c8-4dd3b5ceac67" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Application Version</mark>

Shows an application's build versions on its detail screen. The lower panel has two tabs — Versions and Previews — and `T` switches between them.

| Key       | Action                                       |
| --------- | -------------------------------------------- |
| `S`       | Mark the selected version stable             |
| `B`       | Build a new version                          |
| `D`       | Deploy the selected version to a project app |
| `P`       | Start a preview of the selected version      |
| `L`       | Open the selected version's error logs       |
| `T`       | Switch to the Previews tab                   |
| `[` / `]` | Previous / next page                         |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FPfU8bY5PApbTjSuENi8B%2Fapplication-detail.png?alt=media&amp;token=be70becf-38b6-4c5d-916d-61bb80a5e715" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FT5DqNpqaHEjRbojYBzE7%2Fapplication-version-logs.png?alt=media&amp;token=a89eebc1-452e-41ae-a3d5-866ceb2a1e55" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">App Previews</mark>

The Previews tab lists this application's previews. A preview is one built version deployed into an isolated environment with its own shareable URL, and it leaves the project app's live deployment untouched. The list refreshes on its own while a preview is still deploying, and stops once every one of them has settled.

| Key       | Action                                            |
| --------- | ------------------------------------------------- |
| `X`       | Stop the selected preview (asks for confirmation) |
| `Y`       | Copy the selected preview's URL                   |
| `L`       | Show the selected preview's error logs            |
| `T`       | Switch back to the Versions tab                   |
| `[` / `]` | Previous / next page                              |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-69a58fee998ed67a9f426c0e268677df1e545f92%2Fapplication-previews.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

A preview URL is only there once the status reaches `deployed`, and can take a few minutes to resolve in DNS after that. Only a preview that is still running can be stopped — one that already failed, expired or was destroyed reports that instead.

#### <mark style="color:red;">Starting a Preview</mark>

`P` on a version opens the preview form. The first step is a set of environment variables the preview should run with — entirely optional, `Enter` continues without any. The application type's own automatic variables are added by ACC and override these.

| Key     | Action                                      |
| ------- | ------------------------------------------- |
| `A`     | Add a variable                              |
| `B`     | Bulk add variables from pasted JSON or YAML |
| `E`     | Edit the selected variable                  |
| `D`     | Remove the selected variable                |
| `Enter` | Continue to the project selection           |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-a1d3dda152d605bbd26419d02091cdc7eafadb00%2Fapplication-preview-create.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

The second step picks the project and then the project app to preview in. Only project apps that can host a preview of this version are listed; one that has reached its active preview limit is shown with a note and cannot be selected. Confirming starts the preview, and the screen switches to the Previews tab where it appears as `pending`.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-130cb4781c0b20410cee84024b95755db6c5fff3%2Fapplication-preview-target.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Build Variables</mark>

An application's build variables: the environment injected into the build process and included in every new build. These are not a project app's runtime environment variables — those live on the project app and take effect on redeploy, while these take effect on the application's next build.

Select an application in the list and press `E` to open them.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-4d6d61f6d58691afd526b873e63466082bbfcbaf%2Fapplication-list-build-env.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

The screen lists each variable with its value and whether it is secret. A secret variable's value is never returned by ACC, so it is shown masked, and the value field starts empty when you edit one — saving replaces the stored secret. A variable cannot be turned back from secret to plain.

| Key           | Action                                                           |
| ------------- | ---------------------------------------------------------------- |
| `A`           | Add a build variable (`←`/`→` toggles the Secret field)          |
| `B`           | Bulk add from pasted JSON or YAML (creates non-secret variables) |
| `E` / `Enter` | Edit the selected variable                                       |
| `D`           | Delete the selected variable                                     |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-9e9f15fb650dd34d9258e30c5dba347e1d68d61c%2Fapplication-build-env.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

A change here only reaches a deployment through the application's next build.

## <mark style="color:red;">Domains</mark>

### <mark style="color:red;">Domain List</mark>

A domain's list screen lists its domains.

| Key     | Action                                            |
| ------- | ------------------------------------------------- |
| `C`     | Create a new domain                               |
| `Enter` | Open the domain's detail and certificates screens |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FzVCgtDif1g5ZMHEOGBEw%2Fdomain-list.png?alt=media&amp;token=c14cd5e7-7b6b-4fc9-b495-d9a656c1311e" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Domain Detail</mark>

A domain's detail screen show its certificate and DNS records.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FKbv2kwLtt8CKocx3tTEq%2Fdomain-detail.png?alt=media&amp;token=a5e5fcbe-60ce-4e7e-80ee-b1d4d2bb37d8" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Domain Create</mark>

Press `C` for creating a new domain. The form asks for the hostname and whether the domain is managed by ACC or Client. If managed by ACC, the DNS records are automatically created and managed by ACC. If managed by Client, the DNS records must be manually created and managed by the client.

| Key               | Action                                            |
| ----------------- | ------------------------------------------------- |
| `Tab` / `↑` / `↓` | Switch between the hostname and managed-by fields |
| `←` / `→`         | Toggle managed-by while that field is focused     |
| `Enter`           | Create the domain                                 |
| `Esc`             | Cancel                                            |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FBTV8OzL9HX120IIsaMF7%2Fdomain-create.png?alt=media&amp;token=45df3060-d22f-4cf3-b3e3-248f0c724366" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Public Keys</mark>

`publickey list` lists the created public keys in your account.

| Key | Action                                         |
| --- | ---------------------------------------------- |
| `C` | Create a new public key                        |
| `D` | Delete the selected public key                 |
| `Y` | Copy a field or the whole row to the clipboard |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FxUyLkr82Jg5NAIsj9AEu%2Fpublickey-list.png?alt=media&amp;token=81d36dfd-0eaf-4be1-8356-f2921856a9ac" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Public Key Create</mark>

Press `C` from the public keys list to create a new public key.

| Key               | Action                                  |
| ----------------- | --------------------------------------- |
| `Tab` / `↑` / `↓` | Switch between the label and key fields |
| `Enter`           | Create the public key                   |
| `Esc`             | Cancel                                  |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FfPI6fvVGXrK9VcGt9go0%2Fpublickey-create.png?alt=media&amp;token=84276bca-ee44-4072-9478-4c8113f6dc54" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Users</mark>

`users list` lists the users on the active account.

| Key | Action                                         |
| --- | ---------------------------------------------- |
| `C` | Create a new user                              |
| `E` | Edit the selected user                         |
| `D` | Delete the selected user                       |
| `Y` | Copy a field or the whole row to the clipboard |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2F1egug0pi2FLsCzG5e6zf%2Fusers-list.png?alt=media&amp;token=a5135ac4-3f45-4a7f-95c0-a5f4a3e5290a" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">User Create and Edit</mark>

Press `C` on the users list to create a user, or `E` to edit the selected one. From the command line, `akinoncli users create` and `akinoncli users update <user_id>` open the same forms. The create form asks for the email, first and last name, and role; the edit form keeps the email fixed and adds the user's object permissions.

Object permissions use the same table as the role form — each row a permission group, each column an action — but a cell shows which objects the permission covers: `All`, how many of its objects are picked out of how many there are (`3/14`), or blank for none. `·` marks an action the group doesn't have. The line below the table names the objects picked for the cell under the cursor, and when the table doesn't fit, its heading shows which groups and actions are on screen, as on the role form. Press `Space` on a cell to choose its objects in a list (project apps are grouped under their project), or `A` to grant or revoke all of them. Dependencies follow per object: granting Deploy on a project app also grants Read on that app and on its project, and a line below the table names what else was selected or removed. Your own object permissions are shown read-only.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-b2d88f001dd448b91ca48738b58460e212c0384c%2Fuser-edit.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

| Key                   | Action                                             |
| --------------------- | -------------------------------------------------- |
| `Tab` / `↑` / `↓`     | Switch between fields                              |
| `←` / `→`             | Cycle the role while that field is focused         |
| `↑` / `↓` / `←` / `→` | Move between cells in the object permissions table |
| `Space`               | Choose the objects for the selected cell           |
| `A`                   | Grant or revoke all objects for the selected cell  |
| `Enter`               | Review the changes before saving                   |
| `Esc`                 | Cancel                                             |

In the object list:

| Key       | Action                                                                                             |
| --------- | -------------------------------------------------------------------------------------------------- |
| `↑` / `↓` | Move                                                                                               |
| `Space`   | Select or clear the object; on a project, all of its apps                                          |
| `A`       | Select or clear all objects (`All objects` is also checked once every object is picked one by one) |
| `/`       | Search by name                                                                                     |
| `Enter`   | Review the changes before saving; `Esc` there returns to the list                                  |
| `Esc`     | Back to the table                                                                                  |

`Enter` opens a confirmation listing every change: the fields that changed (`old → new`) and each object permission added (`+`) or removed (`−`) by its name and object (for example `Project Apps · Read Acme - web (#12)`), marking the ones changed as a `(dependency)`. Taking one object out of an `All` permission lists just that object. Long lists scroll with `↑`/`↓`. Press `Y` to save, or `N`/`Esc` to go back to where you pressed `Enter` — the form, or the object list on the same line. If nothing changed, the form says so instead.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FJrfyYvh1lgbfwARjaJer%2Fuser-create.png?alt=media&amp;token=c899c75c-e786-467a-bfda-a4cb856a63a4" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Roles</mark>

`roles list` lists the roles on the active account.

| Key | Action                                         |
| --- | ---------------------------------------------- |
| `C` | Create a role                                  |
| `E` | Edit the selected role                         |
| `D` | Delete the selected role                       |
| `Y` | Copy a field or the whole row to the clipboard |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FB8nUK4yKd6ZI4TD3iqoF%2Froles-list.png?alt=media&amp;token=bffbe248-4504-407b-b36f-44976d607702" alt="" width="563"><figcaption></figcaption></figure>

### <mark style="color:red;">Role Create and Edit</mark>

Press `C` on the roles list to create a role, or `E` to edit the selected one. From the command line, `akinoncli roles create` and `akinoncli roles update <role_id>` open the same forms. The form asks for a name, an optional description, and the role's permissions, shown as a table: each row is a permission group (for example Project App or Domain), each column an action (Read, Write, Edit, Delete, Deploy, …). `[x]` marks a granted permission, `[ ]` one that isn't, and `·` an action the group doesn't have.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2Fgit-blob-28b7d233689653dab32f694da356a4cd45c26a22%2Frole-form.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

| Key                   | Action                                                    |
| --------------------- | --------------------------------------------------------- |
| `Tab`                 | Switch between the name, description and permission table |
| `↑` / `↓` / `←` / `→` | Move around the permission table                          |
| `Space`               | Grant or revoke the permission under the cursor           |
| `A`                   | Grant every permission in the group, or revoke them all   |
| `Enter`               | Review the changes before saving                          |
| `Esc`                 | Cancel                                                    |

Permissions that depend on each other move together: granting one also grants the permissions it needs (Deploy on Project App also grants the Read permissions it relies on), and revoking one also revokes everything that needs it. A line under the table names the permissions that were added or removed this way.

When the columns don't fit the terminal they are split into pages, and `←` / `→` moves across them; when the groups don't fit, the rows scroll with `↑` / `↓`. Either way the heading shows which part is on screen, for example `↑↓ Groups 1–11 of 53 ←→ Actions 1–6 of 9`, and `‹` / `›` / `↑` / `↓` at the table's edges mark that more is there.

A new role starts with the console's default permissions selected; editing a role loads its current permissions, and saving replaces them with what is selected in the table.

`Enter` doesn't save straight away: it opens a confirmation that lists what will change — the name and description, and every permission added (`+`) or removed (`−`) by its name (for example `Project Apps · Deploy`), with `(dependency)` next to the ones you didn't toggle yourself. A new role simply lists the permissions it gets, defaults included. Press `Y` to save, or `N` / `Esc` to go back to the form without losing your changes. Use `↑` / `↓` to scroll a long list. If you edit a role without changing anything, the form says so instead.

## <mark style="color:red;">Email Identities</mark>

`emailidentities list` lists the verified email identities on the active account.

| Key     | Action                             |
| ------- | ---------------------------------- |
| `C`     | Create a new email identity        |
| `D`     | Delete the selected email identity |
| `Enter` | View email identity details        |

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FJP7TPwQAYzvIrRgEOoEn%2Femail-identities-list.png?alt=media&amp;token=4baf8e3f-fb44-48f1-a7ef-e0d63606ddc2" alt="" width="563"><figcaption></figcaption></figure>

## <mark style="color:red;">Switching Accounts</mark>

`S` from the home menu (or `account switch` from the CLI with no argument) opens an interactive picker over every account you're a member of.

<figure><img src="https://2911598027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlQinVPnOffBiOp126ldR%2Fuploads%2FlqkCJkeweYwK3SoKZbF5%2Faccount-switch.png?alt=media&amp;token=28b08d7b-cf96-4117-9c78-b74c5eafdfb8" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.akinon.com/technical-guides/acc/acc-cli/acc-cli-tui.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
