mani env

An EnvSet is a single opaque encrypted blob, separate from your file tree — it leaks less structure than a many-file tree, so prefer it for secrets over plain .env files synced as regular files.

Usage

mani env [OPTIONS] <COMMAND>

Commands

  • push — Encrypt a .env file and upload it to a vault
  • pull — Download and decrypt a .env file from a vault
  • ls — List the .env files in a vault
  • rm — Remove a .env file from a vault
  • help — Print this message or the help of the given subcommand(s)

Options

mani env --timing

Print a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone

mani env --json

Output machine-readable JSON instead of the human table (for status, vault ls, device ls, env ls). Stable field names for scripting

mani env --quiet

Suppress progress and chatter — print only results and errors (alias: -q)

mani env --no-color

Never colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal

mani env --help

Print help (alias: -h)

mani env push

Encrypt a .env file and upload it to a vault

Usage

mani env push [OPTIONS] --vault <VAULT> <PATH>

Arguments

  • <PATH> — Path to the .env file to upload

Options

mani env push --timing

Print a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone

mani env push --vault <VAULT>

The vault to store it in

mani env push --json

Output machine-readable JSON instead of the human table (for status, vault ls, device ls, env ls). Stable field names for scripting

mani env push --name <NAME>

A name for this .env file [default: .env]

mani env push --quiet

Suppress progress and chatter — print only results and errors (alias: -q)

mani env push --no-color

Never colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal

mani env push --help

Print help (alias: -h)

mani env pull

Download and decrypt a .env file from a vault

Usage

mani env pull [OPTIONS] --vault <VAULT> <PATH>

Arguments

  • <PATH> — Where to write the decrypted file

Options

mani env pull --timing

Print a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone

mani env pull --vault <VAULT>

The vault it's stored in

mani env pull --json

Output machine-readable JSON instead of the human table (for status, vault ls, device ls, env ls). Stable field names for scripting

mani env pull --name <NAME>

The name of the .env file [default: .env]

mani env pull --force

Overwrite the destination if it already exists (a .bak copy of the prior file is kept). Without this, an existing file is not clobbered

mani env pull --quiet

Suppress progress and chatter — print only results and errors (alias: -q)

mani env pull --no-color

Never colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal

mani env pull --help

Print help (alias: -h)

mani env ls

List the .env files in a vault

Usage

mani env ls [OPTIONS] --vault <VAULT>

Options

mani env ls --timing

Print a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone

mani env ls --vault <VAULT>

The vault to list

mani env ls --json

Output machine-readable JSON instead of the human table (for status, vault ls, device ls, env ls). Stable field names for scripting

mani env ls --quiet

Suppress progress and chatter — print only results and errors (alias: -q)

mani env ls --no-color

Never colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal

mani env ls --help

Print help (alias: -h)

mani env rm

Remove a .env file from a vault

Usage

mani env rm [OPTIONS] --vault <VAULT>

Options

mani env rm --timing

Print a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone

mani env rm --vault <VAULT>

The vault it's stored in

mani env rm --json

Output machine-readable JSON instead of the human table (for status, vault ls, device ls, env ls). Stable field names for scripting

mani env rm --name <NAME>

The name of the .env file to remove [default: .env]

mani env rm --quiet

Suppress progress and chatter — print only results and errors (alias: -q)

mani env rm --yes

Skip the confirmation prompt (required when not running interactively) (alias: -y)

mani env rm --no-color

Never colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal

mani env rm --help

Print help (alias: -h)