mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
chore: update readme for new option
This commit is contained in:
parent
53f4549001
commit
f47b9f3c63
10
README.md
10
README.md
@ -58,16 +58,16 @@ Usage: env-cmd [options] -- <command> [...args]
|
|||||||
|
|
||||||
Options:
|
Options:
|
||||||
-v, --version output the version number
|
-v, --version output the version number
|
||||||
-e, --environments [envs...] The rc file environment(s) to use
|
-e, --environments [env1,env2,...] The rc file environment(s) to use
|
||||||
-f, --file [path] Custom env file path or .rc file path if '-e' used (default path: ./.env or
|
-f, --file [path] Custom env file path (default path: ./.env)
|
||||||
./.env-cmdrc.(js|cjs|mjs|json))
|
-x, --expand-envs Replace $var and ${var} in args and command with environment variables
|
||||||
-x, --expand-envs Replace $var in args and command with environment variables
|
|
||||||
--fallback Fallback to default env file path, if custom env file path not found
|
--fallback Fallback to default env file path, if custom env file path not found
|
||||||
--no-override Do not override existing environment variables
|
--no-override Do not override existing environment variables
|
||||||
--silent Ignore any env-cmd errors and only fail on executed program failure.
|
--silent Ignore any env-cmd errors and only fail on executed program failure.
|
||||||
--use-shell Execute the command in a new shell with the given environment
|
--use-shell Execute the command in a new shell with the given environment
|
||||||
--verbose Print helpful debugging information
|
--verbose Print helpful debugging information
|
||||||
-h, --help display help for command
|
--recursive Replace $var and ${var} in env file with the referenced environment variable
|
||||||
|
-h, --help output usage information
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🔬 Advanced Usage
|
## 🔬 Advanced Usage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user