Skip to content

Commit abf4cca

Browse files
committed
chore(README): update for -r and -f flag changes
1 parent e2db12b commit abf4cca

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ To use a custom env filename or path, pass the `-f` flag. This is a major breaki
5757
Usage: env-cmd [options] -- <command> [...args]
5858
5959
Options:
60-
-v, --version output the version number
61-
-e, --environments [env1,env2,...] The rc file environment(s) to use
62-
-f, --file [path] Custom env file path (default path: ./.env)
63-
--fallback Fallback to default env file path, if custom env file path not found
64-
--no-override Do not override existing environment variables
65-
-r, --rc-file [path] Custom rc file path (default path: ./.env-cmdrc(|.js|.json)
66-
--silent Ignore any env-cmd errors and only fail on executed program failure.
67-
--use-shell Execute the command in a new shell with the given environment
68-
--verbose Print helpful debugging information
69-
-x, --expand-envs Replace $var in args and command with environment variables
70-
-h, --help output usage information
60+
-v, --version output the version number
61+
-e, --environments [envs...] The rc file environment(s) to use
62+
-f, --file [path] Custom env file path or .rc file path if '-e' used (default path: ./.env or
63+
./.env-cmdrc.(js|cjs|mjs|json))
64+
-x, --expand-envs Replace $var in args and command with environment variables
65+
--fallback Fallback to default env file path, if custom env file path not found
66+
--no-override Do not override existing environment variables
67+
--silent Ignore any env-cmd errors and only fail on executed program failure.
68+
--use-shell Execute the command in a new shell with the given environment
69+
--verbose Print helpful debugging information
70+
-h, --help display help for command
7171
```
7272

7373
## 🔬 Advanced Usage

0 commit comments

Comments
 (0)