Skip to content

feat(cli): alias env-file and env options - #1037

Merged
antongolub merged 1 commit into
google:mainfrom
antongolub:cli-env-file-alias
Dec 25, 2024
Merged

feat(cli): alias env-file and env options#1037
antongolub merged 1 commit into
google:mainfrom
antongolub:cli-env-file-alias

Conversation

@antongolub

@antongolub antongolub commented Dec 25, 2024

Copy link
Copy Markdown
Collaborator

relates #461

A bit more consistency with nodejs
https://nodejs.org/en/learn/command-line/how-to-read-environment-variables-from-nodejs

zx --env-file='.env' script.mjs
  • Tests pass
  • Appropriate changes to README are included in PR

@antongolub
antongolub requested a review from antonmedv December 25, 2024 19:10
@antongolub
antongolub merged commit 95f8bfd into google:main Dec 25, 2024
@antongolub
antongolub deleted the cli-env-file-alias branch December 25, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant