CLI reference
storeenv link
Point this folder at an existing project (writes .storeenv.json).
zsh
$ cd ~/code/bea-my-app$ storeenv link ada/my-appLinked this folder to ada/my-app prj_2e9c6fff13445929678925f6Wrote .storeenv.json. Your role: editor.
$ storeenv link [project]
Arguments
<project> | namespace/name or a project id; omitted, your project linked to this repository is used. |
Flags
--remote | Also add this repository's remotes as links (project managers only). |
--force | Replace a different project in .storeenv.json. |
Good to know
- Without a name, your one project linked to this repository's remotes is used.
- Linking a folder never changes the project. --remote also adds this repository's remotes to the project's links (owners and admins only).
Related commands
Global flags
--project <value> | Project as <namespace/name> or its id (default: .storeenv.json, then this repository's remotes). |
--env <value> | Environment name. |
--json | Machine readable output. |
--yes, -y | Skip confirmations. |
--color | Coloured output (--no-color to turn off). Default: true. |
--verbose | Show 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-unsigned | pull 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. |