env-var-cli
v0.4.4
Published
Declare the temporary of environment variable at the command line
Downloads
3
Maintainers
Readme
env-var-cli
Declare the temporary of environment variable at the command line
Install
npm:
$ npm install -g env-var-cli
yarn:
$ yarn global add env-var-cli
Usage
dos:
$ env-var-cli config set npm_url https://registry.npmjs.org
$ env-var
$ echo %npm_url%
// => https://registry.npmjs.org
$ env-var-cli name var
$ var
$ echo %npm_url%
// => https://registry.npmjs.org
shell:
$ env-var-cli config set npm_url https://registry.npmjs.org
$ . env-var
$ echo $npm_url
// => https://registry.npmjs.org
$ env-var-cli name var
$ . var
$ echo $npm_url
// => https://registry.npmjs.org