---
url: https://docs.mochiexec.io/reference/cli/mochi_executable_add.md
description: Append executables to an existing flow file
---

# mochi executable add

Append executables to an existing flow file

## Synopsis

Appends the executables in a flow file YAML snippet (--content) to the flow file at --file, keeping the rest of the file and its comments as they are.

```shell
mochi executable add [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `--content` | `string` | Flow file YAML whose executables to append (required) |
| `--file` | `string` | Target flow file path (required) |
| `-h, --help` |  | help for add |
| `-o, --output` | `string` | Output format: text or json (default "text") |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi executable](mochi_executable.md) — Manage executables
