Documentation

Install the CLI, learn the model and look up every command.

CLI reference

storeenv commit

Save a version of your env files on this machine. Works offline; storeenv push uploads it later.

Global flags Offline
zsh
$ cd ~/code/my-app
$ storeenv commit -m "Turn the flag on"
[local fdab642] Turn the flag on
.env + FEATURE_FLAG
1 local commit not pushed. Upload with storeenv push, undo with storeenv commit --undo.
$ storeenv commit

Flags

--message <value>, -mCommit message.
--undoDrop the last local commit (your files are not touched).

Good to know

  • Snapshots are encrypted with a key that never leaves this device.
  • storeenv push uploads local commits first, in order, each as its own version.
  • --undo drops the last local commit; your files are not touched.

Global flags

--project <value>Project as <namespace/name> or its id (default: .storeenv.json, then this repository's remotes).
--env <value>Environment name.
--jsonMachine readable output.
--yes, -ySkip confirmations.
--colorColoured output (--no-color to turn off). Default: true.
--verboseShow debug details.
--api <value>API base URL of a self-hosted StoreEnv.
--trust-writer <value>Trust a writer for this run: @login=SE:XXXX-XXXX-XXXX.
--allow-unsignedpull and diff: use values that aren't signed by a trusted writer, after you confirm on a terminal (or with STOREENV_ALLOW_UNSIGNED=1). Never applies to run or copy.