CLI `env`
Subcommands
Section titled “Subcommands”| Command | Purpose | Important options / arguments |
|---|---|---|
hike env init | Create a commented environment file. | --force, --example |
hike env show | Display the current environment file contents. | --reveal to show raw values |
hike env list | List supported environment variables. | No extra options. |
hike env get | Get a value from the environment file. | <VARIABLE> |
hike env set | Set a value in the environment file. | <VARIABLE> <VALUE> |
hike env unset | Unset a value in the environment file. | <VARIABLE> |
hike env validate | Validate the current environment file. | No extra options. |
hike env path | Print the effective environment-file path. | No extra options. |
Common workflows
Section titled “Common workflows”hike env inithike env listhike env showhike env validateThe two most important top-level overrides are:
HIKE_CONFIG_PATHfor the active YAML configuration fileHIKE_ENV_PATHfor the active runtime.envfile