Skip to main content

envshed branch

Show the current environment context from .envshed.json.

Usage

envshed branch

Options

None.

Example

$ envshed branch
org: my-org
project: my-project
env: development

Values not set in .envshed.json display as (not set).

Does not require authentication — reads only from the local config file.

Monorepo behavior

In a monorepo with workspaces configured, branch shows all workspaces in a table. The current workspace (based on your CWD) is highlighted with *:

$ envshed branch
org: my-company

Path Project Env File
* apps/web web-frontend development .env.local
apps/api backend-api development .env
packages/db backend-api development .env