Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dotenv-flow-cli

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-flow-cli - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.idea/deployment.xml

3

cli.js

@@ -5,2 +5,3 @@ #!/usr/bin/env node

const dotenv = require('dotenv-flow');
const dotenvExpand = require('dotenv-expand');

@@ -23,3 +24,3 @@ function printHelp() {

const path = argv.p;
dotenv.config({ path });
dotenvExpand.expand(dotenv.config({ path }));

@@ -26,0 +27,0 @@ const command = argv._[0];

{
"name": "dotenv-flow-cli",
"version": "1.0.0",
"version": "1.1.0",
"description": "A cli executable to run commands with the ENV variables loaded by dotenv-flow",
"license": "MIT",
"repository": "github:ovos/dotenv-flow-cli",
"main": "index.js",
"bin": {

@@ -13,5 +12,6 @@ "dotenv-flow": "./cli.js"

"cross-spawn": "^7.0.3",
"dotenv-expand": "*",
"dotenv-flow": "*",
"minimist": "^1.2.5"
"minimist": "^1.2.6"
}
}

@@ -47,1 +47,12 @@ # dotenv-flow-cli

```
### Variable expansion
To allow it to be a drop-in replacement for [dotenv-cli](https://github.com/motdotla/dotenv-cli) variable interpolation (expanding) is automatically enabled using [dotenv-expand](https://github.com/motdotla/dotenv-expand) under the hood.
For example:
```
IP=127.0.0.1
PORT=1234
APP_URL=http://${IP}:${PORT}
```
Using the above example `.env` file, `process.env.APP_URL` will be resolved to `http://127.0.0.1:1234`.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc