11 Commits

Author SHA1 Message Date
Todd Bluhm
26f4dfb2f6
chore(pkg): new linter and updated typescript support 2024-11-30 04:42:45 -09:00
p0rth01998
9da35b5277 fix: typo update in test & ts lint update in ts 2020-05-15 08:48:45 +05:30
Todd Bluhm
020998a077
docs(readme): added expand env and silent docs
- Added some additional fun and helpful emoji to the docs
2020-02-10 00:43:27 -06:00
Todd Bluhm
27a2705706
feat(flags): add silent flag to ignore errors
- add silent flag to ignore env-cmd errors and missing file errors, but still terminate on signals and child process failures
2020-02-09 21:34:52 -06:00
Todd Bluhm
f92f8b51ff
feat(signal-termination): handle error codes in the signal value
- fix improper test case termination due to signal termination listener leakage
2019-12-29 02:40:32 -06:00
Todd Bluhm
fda25184a6
chore(package): update dependencies
- fixed lint errors
2019-12-28 23:41:14 -06:00
omeid matten
8318637c48 feat: Support env vars expansion in cmd and args
This pull request adds support for expanding environment variable
expansion support. Closes #91

Since the user controls the call site of cmd-env, it only supports
basic UNIX style $var format. `%var%` (windows) or `${var}` is not
supported. However, you can escape variable expansion by escaping
the dollar sign like so `\$`.

Signed-off-by: omeid matten <public@omeid.me>
2019-11-28 16:20:42 +11:00
Todd Bluhm
bec00aa094
Update package.json to be more permissive with minor/patch versions
- Fix lint/tsc errors
2019-05-30 19:46:04 -05:00
Todd Bluhm
09ffda4abf
Publish v9.0.2
- Updated test cases to bring coverage back to 100%
- Updated package.json version number
- Update changelog
2019-05-30 00:58:16 -05:00
Todd Bluhm
3534069ece Add --use-shell option
- Added test cases for new option
- Fixed up other test cases
- Fixed code coverage issue
2019-05-04 05:35:26 -05:00
Todd Bluhm
56ed009d7b
Convert EnvCmd to Typescript
- Complete rewrite and reorganization
- Expose a usable programmatic API
- Support Async .env files by accepting javascript files
- Update all libraries/dependencies
- Support for more options in the future by using commanderjs
- More thorough test cases and code-coverage
- Better handling of signal terminations for both parent and child
processes
- Use ESLint Standard with Typescript
2019-05-04 02:16:03 -05:00