# apps

> Every coline apps command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/apps

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Apps: build, push, publish, run, and every app action.

A copy of coline-app inside a project runs only once you trust it: run coline app trust there. Every `coline apps` command, 61 in all.

## apps create

Start a new app or site in a new folder, from a template, as npx create-coline-app does.

It runs create-coline-app from this project, or from the PATH, with your coline sign-in; its flags are create-coline-app's (`--help` shows them) and its exit code is create-coline-app's.

```text
coline apps create [name] [flags…]
```

**Built into coline.** · **Calls** nothing in Coline · **Effect** read, changes nothing · **Can wait for your approval** no

```bash
coline app create pets
coline app create standup --template integration
coline app create
```

## apps dev

Run the project while you build it. A site runs here with in-memory data and no account; open ?as=alice to be a signed-in visitor named alice. An app without a site is pushed again each time a file changes.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (`--help` shows them) and its exit code is coline-app's.

```text
coline apps dev [flags…]
```

**Built into coline.** · **Calls** `POST /api/v1/apps/[appKey]/versions` · **Effect** write · **Can wait for your approval** no

```bash
coline app dev
coline app dev --port 4000
coline app dev --dir ./pets
```

## apps check

Check the app's types, bundles and access rules without uploading anything.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (`--help` shows them) and its exit code is coline-app's.

```text
coline apps check [flags…]
```

**Built into coline.** · **Calls** nothing in Coline · **Effect** read, changes nothing · **Can wait for your approval** no

```bash
coline app check
coline app check --no-access-check
coline app check --json
```

## apps preview

Preview the app here with simulated data; --screenshots captures its states and reports browser errors.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (`--help` shows them) and its exit code is coline-app's.

```text
coline apps preview [flags…]
```

**Built into coline.** · **Calls** nothing in Coline · **Effect** read, changes nothing · **Can wait for your approval** no

```bash
coline app preview
coline app preview --pattern board
coline app preview --screenshots ./shots
```

## apps push

Build the app and upload a new version: for an app with its own packages, or one headed to the store. --internal makes it the workspace's own app, with no store review; that needs a workspace where you manage apps.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (`--help` shows them) and its exit code is coline-app's.

```text
coline apps push [flags…]
```

**Built into coline.** · **Calls** `POST /api/v1/apps/[appKey]/versions` · **Effect** write · **Can wait for your approval** no

```bash
coline app push
coline app push --internal -w acme
coline app push --version 1.2.0 --json
```

## apps publish

Build the app from its source and put it in the workspace in one step, just for you. `coline do apps.publish` is the action itself.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (`--help` shows them) and its exit code is coline-app's.

```text
coline apps publish [flags…]
```

**Built into coline.** · **Calls** `apps.publish` · **Effect** write · **Can wait for your approval** no

```bash
coline app publish
coline app publish -w acme --json
coline app publish --entry tools.ts --key standup
```

## apps run

Run a command an installed app adds to Coline, or one of its tools, by the app's key and the command's name or id (coline app run \<app> lists them). The input is the tool's own: --input \<file|->, --json '\{…}', -f key=value for text and -F key=value for typed values.

A tool that changes things may wait for your approval: then nothing has run, the link to approve it is printed and the exit code is 10. Run it again with --approval \<id> once you have.

```text
coline apps run <app> [command|tool] [flags]
```

**Built into coline.** · **Calls** `apps.commands.list`, `apps.tools.run` · **Effect** write · **Can wait for your approval** yes (exit code 10, with the link)

| Flag                          | What it does                                                          |
| ----------------------------- | --------------------------------------------------------------------- |
| `--input <file>`              | The tool's input as JSON from a file; - reads stdin.                  |
| `-f, --raw-field <key=value>` | Add a text field to the input; repeat for more.                       |
| `-F, --field <key=value>`     | Add a typed field: true, false, null, numbers, JSON, or @file.        |
| `--approval <id>`             | Run it again after you approved it in Coline, with the approval's id. |

```bash
coline app run standup
coline app run standup 'Add entry' -f text='Shipped the importer'
coline app run standup standup.add_entry --input entry.json --json
```

## apps trust

Trust the copy of coline-app inside this project (its node\_modules), as it is now, so app and site commands run it. It shows the copy's folder and version first. If the copy changes, you are asked again.

Only a person at a terminal can trust a project: it asks, and no flag answers for you (-y and --confirm don't count). Where nobody can be asked, install coline-app yourself instead, which needs no trust.

```text
coline apps trust [flags]
```

**Built into coline.** · **Calls** nothing in Coline · **Effect** read, changes nothing · **Can wait for your approval** no

| Flag           | What it does                             |
| -------------- | ---------------------------------------- |
| `--dir <path>` | The project's folder (default: this one) |

```bash
coline app trust
coline app trust --dir ./pets
```

## apps untrust

Forget that you trusted the copy of coline-app inside this project. App and site commands then ask again before they run it, or refuse where they can't ask.

```text
coline apps untrust [flags]
```

**Built into coline.** · **Calls** nothing in Coline · **Effect** read, changes nothing · **Can wait for your approval** no

| Flag           | What it does                             |
| -------------- | ---------------------------------------- |
| `--dir <path>` | The project's folder (default: this one) |

```bash
coline app untrust
coline app untrust --json
coline app untrust --dir ./pets
```

## apps ai-models list

The AI models an app can call through coline.ai, with each one's price per call, what it supports and its limits.

It changes nothing.

```text
coline apps ai-models list [flags]
```

**Action** `apps.aiModels.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps ai-models list
coline apps ai-models list --json '{}' --fields id
```

## apps analytics get

For an app you own: active installs, installs and runs by day, runs by kind, top errors and schedule health, and the health of each install.

It changes nothing.

```text
coline apps analytics get [flags]
```

**Action** `apps.analytics.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps analytics get --app-key "…"
coline apps analytics get --json '{"appKey":"…"}' --fields id
```

## apps commands list

The commands your installed apps add to Coline's command palette: the workspace's apps and your own, only from installs allowed to add commands. Each runs a tool, opens the app, or opens a link.

It changes nothing.

```text
coline apps commands list [flags]
```

**Action** `apps.commands.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps commands list -w acme
coline apps commands list -w acme --json '{}' --fields id
```

## apps connections disconnect

Disconnects one of an installed app's own sign-ins: your own, or the workspace's shared one for an admin. The app can't reach that service until someone connects it again in Coline.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps connections disconnect [flags]
```

**Action** `apps.connections.disconnect` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--key <text>`      | The connection's key, from apps.connections.list. Required.                                                                                |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps connections disconnect -w acme --app-key "…" --key "…" --confirm
coline apps connections disconnect -w acme --json '{"appKey":"…","key":"…"}' --fields id --confirm
```

## apps connections list

The services an installed app signs in to with its own sign-in, as its manifest declares them: whether each is connected for you or for the workspace, the account and scopes, and which you may disconnect.

It changes nothing.

```text
coline apps connections list [flags]
```

**Action** `apps.connections.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps connections list -w acme --app-key "…"
coline apps connections list -w acme --json '{"appKey":"…"}' --fields id
```

## apps deliveries list

An installed app's last 100 runs of events, endpoint calls and jobs, newest first, with status, attempts and errors. For the person who manages the install.

It changes nothing.

```text
coline apps deliveries list [flags]
```

**Action** `apps.deliveries.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps deliveries list -w acme --app-key "…"
coline apps deliveries list -w acme --json '{"appKey":"…"}' --fields id
```

## apps deliveries replay

Runs one of an installed app's past runs again. For the person who manages the install.

```text
coline apps deliveries replay [flags]
```

**Action** `apps.deliveries.replay` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                                                                                                               |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`   | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>`  | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--delivery-id <id>` | The run's id, from apps.deliveries.list. Required.                                                                                         |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps deliveries replay -w acme --app-key "…" --delivery-id <delivery-id>
coline apps deliveries replay -w acme --json '{"appKey":"…","deliveryId":"<delivery-id>"}' --fields id
```

## apps deliveries send

Sends an installed app one test event of a type you choose, with your payload marked test: true. It runs once, as you, through the app's real queue. For the person who manages the install.

Set payload with --json '\{…}' or --input.

```text
coline apps deliveries send [flags]
```

**Action** `apps.deliveries.send` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                  | What it does                                                                                                                               |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`    | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>`   | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--event-type <text>` | The event type, e.g. task.created. Required.                                                                                               |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps deliveries send -w acme --app-key "…" --event-type "…"
coline apps deliveries send -w acme --json '{"appKey":"…","eventType":"…"}' --fields id
```

## apps developer-secrets delete

For an app you own: deletes one developer secret by name. Every workspace's install stops getting it at once.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps developer-secrets delete [flags]
```

**Action** `apps.developerSecrets.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--key <text>`     | The secret's name, from apps.developerSecrets.list. Required.       |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps developer-secrets delete --app-key "…" --key "…" --confirm
coline apps developer-secrets delete --json '{"appKey":"…","key":"…"}' --fields id --confirm
```

## apps developer-secrets list

For an app you own: the names of the secrets you set once for every workspace (such as an OAuth client secret), with when each was set. Never their values; set one with apps.developerSecrets.set.

It changes nothing.

```text
coline apps developer-secrets list [flags]
```

**Action** `apps.developerSecrets.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps developer-secrets list --app-key "…"
coline apps developer-secrets list --json '{"appKey":"…"}' --fields id
```

## apps developer-secrets set

For an app you own: stores a secret every workspace's install of it gets (such as an OAuth client secret), replacing the value a secret of that name had. Nobody can read it back. Only a person sets one, never an agent.

value is secret: pass it with --value-file \<path> or --value-stdin, in --input, or type it when asked. Never as text on the command line or in --json.

```text
coline apps developer-secrets set [flags]
```

**Action** `apps.developerSecrets.set` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                  | What it does                                                                                                |
| --------------------- | ----------------------------------------------------------------------------------------------------------- |
| `--app-key <text>`    | The app's key, as in its app.config.ts or from apps.list. Required.                                         |
| `--key <text>`        | The secret's name, e.g. GITHUB\_CLIENT\_SECRET. Required.                                                   |
| `--value-file <path>` | Read value, a secret, from this file. The secret's value. Required; asked for at a terminal when not given. |
| `--value-stdin`       | Read value, a secret, from stdin.                                                                           |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.                                                          |

```bash
coline apps developer-secrets set --app-key "…" --key "…" --value-file value.txt
printenv VALUE | coline apps developer-secrets set --json '{"appKey":"…","key":"…"}' --value-stdin --fields id
```

## apps executions list

For an app you own, in every workspace it is installed in: its recent runs newest first, with errors already stripped of private data, and a 7-day summary. Filter by failures, kind, error code or text; follow nextCursor for older runs.

It changes nothing.

```text
coline apps executions list [flags]
```

**Action** `apps.executions.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag                  | What it does                                                                                           |
| --------------------- | ------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`    | The app's key, as in its app.config.ts or from apps.list. Required.                                    |
| `--failures-only`     | Only runs that failed.                                                                                 |
| `--search <text>`     | Only runs whose operation or error mentions this.                                                      |
| `--kind <text>`       | Only runs of this kind. One of `tool`, `render`, `schedule`, `capability`, `event`, `job`, `endpoint`. |
| `--error-code <text>` | Only runs that failed with this error code.                                                            |
| `--cursor <text>`     | nextCursor from the page before.                                                                       |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.                                                     |

```bash
coline apps executions list --app-key "…"
coline apps executions list --json '{"appKey":"…"}' --fields id
```

## apps files create

Makes a new file of an installed app's type in a drive, as the file tree's new-file button does. Name the type when the app has more than one.

Set document with --json '\{…}' or --input.

```text
coline apps files create [flags]
```

**Action** `apps.files.create` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                         |
| ------------------- | -------------------------------------------------------------------- |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.  |
| `--name <text>`     | The file's name. Required.                                           |
| `--type-key <text>` | The app's file type. Needed when the app has more than one.          |
| `--drive-id <id>`   | The drive to put it in. Default: your own drive.                     |
| `--parent-id <id>`  | The folder to put it in. Null or left out for the drive's top level. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                   |

```bash
coline apps files create -w acme --app-key "…" --name "…"
coline apps files create -w acme --json '{"appKey":"…","name":"…"}' --fields id
```

## apps files get

Reads one of an app's files in the workspace: its name, type and whole document, with its version. You need access to the file's drive.

It changes nothing.

```text
coline apps files get [flags]
```

**Action** `apps.files.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--file-id <id>`   | The file's id, from the drive. Required.                            |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps files get -w acme --app-key "…" --file-id <file-id>
coline apps files get -w acme --json '{"appKey":"…","fileId":"<file-id>"}' --fields id
```

## apps files update

Replaces the whole document of one of an app's files. What you leave out of the document is gone; there is no version check, so the last save wins. Read it with apps.files.get first.

Set document with --json '\{…}' or --input.

```text
coline apps files update [flags]
```

**Action** `apps.files.update` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--file-id <id>`   | The file's id, from the drive. Required.                            |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps files update -w acme --app-key "…" --file-id <file-id>
coline apps files update -w acme --json '{"appKey":"…","fileId":"<file-id>","document":"…"}' --fields id
```

## apps get

Reads one installed app: its version, status, and whether it's suspended.

It changes nothing.

```text
coline apps get [flags]
```

**Action** `apps.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--app-key <text>` | appKey from list\_apps. Required.                  |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps get -w acme --app-key "…"
coline apps get -w acme --json '{"appKey":"…"}' --fields id
```

## apps grants list

For a paid app you own: the workspaces you gave it to for free, up to 100. Giving or taking one away stays in the app.

It changes nothing.

```text
coline apps grants list [flags]
```

**Action** `apps.grants.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps grants list --app-key "…"
coline apps grants list --json '{"appKey":"…"}' --fields id
```

## apps install-links create

Makes a private install link for an app you own, pinned to one version (default: the newest approved one). Anyone with the link can ask to install the app; the workspace that installs it still approves its access. The link is shown only now.

```text
coline apps install-links create [flags]
```

**Action** `apps.installLinks.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                      | What it does                                                        |
| ------------------------- | ------------------------------------------------------------------- |
| `--app-key <text>`        | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--version-id <id>`       | The version to pin. Default: the newest approved one.               |
| `--label <text>`          | A name for the link, to tell links apart.                           |
| `--max-installs <number>` | How many installs it allows. Default: no limit.                     |
| `--expires-at <text>`     | When it stops working, ISO 8601 with a time zone. Default: never.   |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps install-links create --app-key "…"
coline apps install-links create --json '{"appKey":"…"}' --fields id
```

## apps install-links list

For an app you own: its private install links, newest first, with label, version, limits, uses and expiry. The links themselves are shown only when made.

It changes nothing.

```text
coline apps install-links list [flags]
```

**Action** `apps.installLinks.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps install-links list --app-key "…"
coline apps install-links list --json '{"appKey":"…"}' --fields id
```

## apps install-links revoke

Turns off one of an app's private install links; nobody can install with it any more. Apps already installed with it stay.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps install-links revoke [flags]
```

**Action** `apps.installLinks.revoke` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--link-id <id>`   | The link's id, from apps.installLinks.list. Required.               |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps install-links revoke --app-key "…" --link-id <link-id> --confirm
coline apps install-links revoke --json '{"appKey":"…","linkId":"<link-id>"}' --fields id --confirm
```

## apps integrations list

The services an app uses, what each is connected to, and the connections that could fill it.

It changes nothing.

```text
coline apps integrations list [flags]
```

**Action** `apps.integrations.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--app-key <text>`  | Required.                                          |
| `--install-id <id>` |                                                    |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps integrations list -w acme --app-key "…"
coline apps integrations list -w acme --json '{"appKey":"…"}' --fields id
```

## apps integrations unbind

Stops an app using a connection for one of the services it lists.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps integrations unbind [flags]
```

**Action** `apps.integrations.unbind` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--app-key <text>`  | Required.                                          |
| `--install-id <id>` |                                                    |
| `--slot <text>`     | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps integrations unbind -w acme --app-key "…" --slot "…" --confirm
coline apps integrations unbind -w acme --json '{"appKey":"…","slot":"…"}' --fields id --confirm
```

## apps inventory

Every app installed in the workspace that you may see: the workspace's and your own, or, for an admin, everyone's with whose each is. Each says who published it, how and when, what it can reach, what waits for approval, when it last ran and how many runs failed in the last 7 days.

It changes nothing.

```text
coline apps inventory [flags]
```

**Action** `apps.inventory` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps inventory -w acme
coline apps inventory -w acme --json '{}' --fields id
```

## apps list

Lists the Coline apps installed in a workspace and the apps it can install.

It changes nothing.

```text
coline apps list [flags]
```

**Action** `apps.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps list -w acme
coline apps list -w acme --json '{}' --fields id
```

## apps listing delist

Takes an app you own off the store. Nobody new finds or installs it there; installs keep working.

```text
coline apps listing delist [flags]
```

**Action** `apps.listing.delist` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps listing delist --app-key "…"
coline apps listing delist --json '{"appKey":"…"}' --fields id
```

## apps listing get

For an app you own: its store listing, with the published revision, the 20 newest revisions, the draft, and what is still missing before the draft can go to review.

It changes nothing.

```text
coline apps listing get [flags]
```

**Action** `apps.listing.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps listing get --app-key "…"
coline apps listing get --json '{"appKey":"…"}' --fields id
```

## apps listing relist

Puts an app you own that was taken off the store back on it, where anyone can find and install it again.

It reaches people outside Coline right away.

```text
coline apps listing relist [flags]
```

**Action** `apps.listing.relist` · **Effect** external, reaches people outside Coline · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps listing relist --app-key "…"
coline apps listing relist --json '{"appKey":"…"}' --fields id
```

## apps listing submit

Sends the store listing draft of an app you own to Coline's review. Refused while the checklist in apps.listing.get has anything missing. Nothing is public until a reviewer approves it.

```text
coline apps listing submit [flags]
```

**Action** `apps.listing.submit` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps listing submit --app-key "…"
coline apps listing submit --json '{"appKey":"…"}' --fields id
```

## apps listing update

Changes the store listing draft of an app you own. It changes only the fields you name and keeps the rest of the draft (or of the newest revision, when there is no draft). Nothing is public until you submit it and Coline's review approves it.

Set screenshots with --json '\{…}' or --input.

```text
coline apps listing update [flags]
```

**Action** `apps.listing.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                          | What it does                                                                                                                                                          |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--app-key <text>`            | The app's key, as in its app.config.ts or from apps.list. Required.                                                                                                   |
| `--tagline <text>`            | One line, up to 80 characters.                                                                                                                                        |
| `--description-md <text>`     | The full description, in markdown.                                                                                                                                    |
| `--category <text>`           | One of `productivity`, `crm_sales`, `project_management`, `developer_tools`, `finance`, `hr_recruiting`, `marketing`, `data_reporting`, `communication`, `utilities`. |
| `--tags <list>`               | Up to 5 tags. Replaces the tags.                                                                                                                                      |
| `--icon-url <text>`           | The store icon: uploaded store media or an https address. Null to remove it.                                                                                          |
| `--hero-url <text>`           | The wide image at the top of the listing. Null to remove it.                                                                                                          |
| `--website-url <text>`        | The app's website. Null to remove it.                                                                                                                                 |
| `--support-email <text>`      |                                                                                                                                                                       |
| `--privacy-policy-url <text>` |                                                                                                                                                                       |
| `--mobile-support <text>`     | How it works on a phone: mobile, web\_desktop or limited. One of `mobile`, `web_desktop`, `limited`.                                                                  |
| `--input <file>`              | Read the input as JSON from a file; - reads stdin.                                                                                                                    |

```bash
coline apps listing update --app-key "…"
coline apps listing update --json '{"appKey":"…"}' --fields id
```

## apps oauth-connections delete

Deletes one stored service token from an installed app; the app can't use that account until it is connected again. For the person who manages the install.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps oauth-connections delete [flags]
```

**Action** `apps.oauthConnections.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                                                                               |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`     | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>`    | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--connection-id <id>` | The token's id, from apps.oauthConnections.list. Required.                                                                                 |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps oauth-connections delete -w acme --app-key "…" --connection-id <connection-id> --confirm
coline apps oauth-connections delete -w acme --json '{"appKey":"…","connectionId":"<connection-id>"}' --fields id --confirm
```

## apps oauth-connections list

The service tokens stored for an installed app: the service, account, scopes and expiry, never the tokens. For the person who manages the install.

It changes nothing.

```text
coline apps oauth-connections list [flags]
```

**Action** `apps.oauthConnections.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps oauth-connections list -w acme --app-key "…"
coline apps oauth-connections list -w acme --json '{"appKey":"…"}' --fields id
```

## apps owned get

One app you own, as the Developer app shows it: every version newest first with its review state and what it asks for, the workspace it belongs to when it is internal, the workspaces you can install it in, and the developer secrets its newest version needs (names only).

It changes nothing.

```text
coline apps owned get [flags]
```

**Action** `apps.owned.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps owned get --app-key "…"
coline apps owned get --json '{"appKey":"…"}' --fields id
```

## apps owned list

The apps you own and build, newest change first, with each one's latest upload, its review state and the version the store has.

It changes nothing.

```text
coline apps owned list [flags]
```

**Action** `apps.owned.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps owned list
coline apps owned list --json '{}' --fields id
```

## apps permissions get

What an installed app declares it needs and what it has been granted. Granting more stays in the app. For the person who manages the install.

It changes nothing.

```text
coline apps permissions get [flags]
```

**Action** `apps.permissions.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps permissions get -w acme --app-key "…"
coline apps permissions get -w acme --json '{"appKey":"…"}' --fields id
```

## apps policy get

The workspace's rules for apps: who may install from the store, the apps allowed when only listed apps may be installed, the permissions no app may have, and whether members may publish apps just for themselves. Changing them stays in the app.

It changes nothing.

```text
coline apps policy get [flags]
```

**Action** `apps.policy.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps policy get -w acme
coline apps policy get -w acme --json '{}' --fields id
```

## apps prices list

For an app you own: its prices, newest first. Adding or retiring a price stays in the app.

It changes nothing.

```text
coline apps prices list [flags]
```

**Action** `apps.prices.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag               | What it does                                                        |
| ------------------ | ------------------------------------------------------------------- |
| `--app-key <text>` | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps prices list --app-key "…"
coline apps prices list --json '{"appKey":"…"}' --fields id
```

## apps resume

Lets an install an admin suspended run again. An app the workspace's app policy suspended resumes only when the policy allows it. Admins only.

```text
coline apps resume [flags]
```

**Action** `apps.resume` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--install-id <id>` | installId from apps.inventory. Required.           |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps resume -w acme --install-id <install-id>
coline apps resume -w acme --json '{"installId":"<install-id>"}' --fields id
```

## apps secrets create

Stores a secret value for an installed app under a name, replacing the value a secret of that name had. The app reads it; nobody can read it back. Only a person sets one, never an agent. For the person who manages the install.

value is secret: pass it with --value-file \<path> or --value-stdin, in --input, or type it when asked. Never as text on the command line or in --json.

```text
coline apps secrets create [flags]
```

**Action** `apps.secrets.create` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                  | What it does                                                                                                                               |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`    | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>`   | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--key <text>`        | The secret's name, e.g. STRIPE\_KEY. Required.                                                                                             |
| `--value-file <path>` | Read value, a secret, from this file. The secret's value. Required; asked for at a terminal when not given.                                |
| `--value-stdin`       | Read value, a secret, from stdin.                                                                                                          |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps secrets create -w acme --app-key "…" --key "…" --value-file value.txt
printenv VALUE | coline apps secrets create -w acme --json '{"appKey":"…","key":"…"}' --value-stdin --fields id
```

## apps secrets delete

Deletes one of an installed app's secrets; the app can't read it any more. For the person who manages the install.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps secrets delete [flags]
```

**Action** `apps.secrets.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--secret-id <id>`  | The secret's id, from apps.secrets.list. Required.                                                                                         |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps secrets delete -w acme --app-key "…" --secret-id <secret-id> --confirm
coline apps secrets delete -w acme --json '{"appKey":"…","secretId":"<secret-id>"}' --fields id --confirm
```

## apps secrets list

The names of an installed app's secrets, never their values. Set one with apps.secrets.create. For the person who manages the install.

It changes nothing.

```text
coline apps secrets list [flags]
```

**Action** `apps.secrets.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps secrets list -w acme --app-key "…"
coline apps secrets list -w acme --json '{"appKey":"…"}' --fields id
```

## apps sessions create

Makes a short-lived token for coline-app to build, push, publish and deploy apps and sites in one workspace, holding only the apps permissions this sign-in has there. `coline app` and `coline site` ask for one before each run and hand it to coline-app instead of your sign-in. It lasts an hour, can't be renewed, and shows under coline-app in Settings › Connections, where you can revoke it.

```text
coline apps sessions create [flags]
```

**Action** `apps.sessions.create` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag             | What it does                                                                                          |
| ---------------- | ----------------------------------------------------------------------------------------------------- |
| `--long-running` | For a command that keeps running, like `coline app dev`: the token lasts twelve hours instead of one. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                                                    |

```bash
coline apps sessions create -w acme
coline apps sessions create -w acme --json '{}' --fields id
```

## apps share preview

What sharing an app you published with the workspace grants, needs and removes, and whether you can confirm it or who can. For an admin, an app a member published works the same way.

It changes nothing.

```text
coline apps share preview [flags]
```

**Action** `apps.share.preview` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--app-key <text>` | appKey from list\_apps. Required.                  |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps share preview -w acme --app-key "…"
coline apps share preview -w acme --json '{"appKey":"…"}' --fields id
```

## apps source get

Reads the files of a version of an app published with apps.publish (the latest by default). Yours, or any a workspace admin can see; a shared app's for anyone who could install it. To make a copy, change its key and publish it.

It changes nothing.

```text
coline apps source get [flags]
```

**Action** `apps.source.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.publish` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--app-key <text>` | appKey from list\_apps. Required.                  |
| `--version <text>` | A version such as 0.0.3. Default: the latest.      |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps source get -w acme --app-key "…"
coline apps source get -w acme --json '{"appKey":"…"}' --fields id
```

## apps suspend

Stops one install from running until an admin resumes it: nothing it declares runs and its screens say it is suspended. Its data is kept. Admins only.

```text
coline apps suspend [flags]
```

**Action** `apps.suspend` · **Effect** write · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--install-id <id>` | installId from apps.inventory. Required.           |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps suspend -w acme --install-id <install-id>
coline apps suspend -w acme --json '{"installId":"<install-id>"}' --fields id
```

## apps tools describe

One installed app tool: what it does, its input as JSON Schema, its effect, and its app's guide (what the app is for, its other tools and what it can reach). Read it before the first run\_app\_tool call.

It changes nothing.

```text
coline apps tools describe [flags]
```

**Action** `apps.tools.describe` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                                                     |
| ---------------- | -------------------------------------------------------------------------------- |
| `--tool <text>`  | The tool's full name from list\_app\_tools, e.g. "standup.add\_entry". Required. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline apps tools describe -w acme --tool "…"
coline apps tools describe -w acme --json '{"tool":"…"}' --fields id
```

## apps tools list

Lists the tools of the apps installed in the workspace for everyone, and of the apps installed just for you, sorted by app and tool name. Call describe\_app\_tool for a tool's input and how its app is meant to be used, then run\_app\_tool to run it.

It changes nothing.

```text
coline apps tools list [flags]
```

**Action** `apps.tools.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline apps tools list -w acme
coline apps tools list -w acme --json '{}' --fields id
```

## apps tools run

Runs an installed app tool with its input. A tool that changes things may need the person's approval: then nothing runs, the answer is status "requires\_approval" with an approvalUrl to give the person, and after they approve you repeat the same call with its approvalId. A read tool never asks.

It can wait for your approval in Coline (exit code 10, with the link).

Set input with --json '\{…}' or --input.

```text
coline apps tools run [flags]
```

**Action** `apps.tools.run` · **Effect** write · **Can wait for your approval** yes (exit code 10, with the link) · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                                                              |
| -------------------- | ----------------------------------------------------------------------------------------- |
| `--tool <text>`      | The tool's full name from list\_app\_tools, e.g. "standup.add\_entry". Required.          |
| `--approval-id <id>` | From an earlier requires\_approval answer to this same call, once the person approved it. |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.                                        |

```bash
coline apps tools run -w acme --tool "…"
coline apps tools run -w acme --json '{"tool":"…"}' --fields id
```

## apps uninstall

Uninstalls an app. Its data is kept for 30 days unless purgeNow is set. Only when the person clearly asks for it.

It removes or overwrites something, so it runs only with --confirm.

```text
coline apps uninstall [flags]
```

**Action** `apps.uninstall` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `apps.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                                          |
| ------------------- | ------------------------------------------------------------------------------------- |
| `--app-key <text>`  | appKey from list\_apps. Required.                                                     |
| `--purge-now`       | Delete the app's data now instead of keeping it for 30 days. Default false.           |
| `--install-id <id>` | One install by id: how an admin removes an app someone installed just for themselves. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                    |

```bash
coline apps uninstall -w acme --app-key "…" --confirm
coline apps uninstall -w acme --json '{"appKey":"…"}' --fields id --confirm
```

## apps updates get

An installed app's update state: the version it is on, whether it updates by itself, the versions it could move to, what the newest would change in its access, and whether you may decide. Applying an update stays in the app.

It changes nothing.

```text
coline apps updates get [flags]
```

**Action** `apps.updates.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `apps.read` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                               |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required.                                                                        |
| `--install-id <id>` | One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                         |

```bash
coline apps updates get -w acme --app-key "…"
coline apps updates get -w acme --json '{"appKey":"…"}' --fields id
```

## apps versions deprecate

Stops new installs of an approved version of an app you own. Installs on it keep running and can still roll back to it.

```text
coline apps versions deprecate [flags]
```

**Action** `apps.versions.deprecate` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                | What it does                                                        |
| ------------------- | ------------------------------------------------------------------- |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--version-id <id>` | The version's id. Required.                                         |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps versions deprecate --app-key "…" --version-id <version-id>
coline apps versions deprecate --json '{"appKey":"…","versionId":"<version-id>"}' --fields id
```

## apps versions restore

Lets anyone install a version of an app you own that you stopped before. Only approved versions.

It reaches people outside Coline right away.

```text
coline apps versions restore [flags]
```

**Action** `apps.versions.restore` · **Effect** external, reaches people outside Coline · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                | What it does                                                        |
| ------------------- | ------------------------------------------------------------------- |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--version-id <id>` | The version's id. Required.                                         |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps versions restore --app-key "…" --version-id <version-id>
coline apps versions restore --json '{"appKey":"…","versionId":"<version-id>"}' --fields id
```

## apps versions submit

Sends one version of an app you own to Coline's store review. Nothing reaches the store until a reviewer approves it.

```text
coline apps versions submit [flags]
```

**Action** `apps.versions.submit` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                | What it does                                                        |
| ------------------- | ------------------------------------------------------------------- |
| `--app-key <text>`  | The app's key, as in its app.config.ts or from apps.list. Required. |
| `--version-id <id>` | The version's id. Required.                                         |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline apps versions submit --app-key "…" --version-id <version-id>
coline apps versions submit --json '{"appKey":"…","versionId":"<version-id>"}' --fields id
```
