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

env-exec

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-exec

## Info

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

env-exec

Info

The spawn shell option is added from dotenv-cli.

Usage

env-exec [--help] [--debug] [-e <path>] [-p <constiable name>] [-c [environment]] [-- command]
  --help              print help
  --debug             output the files that would be processed but don't actually parse them or run the `command`
  -e <path>           parses the file <path> as a `.env` file and adds the constiables to the environment
  -e <path>           multiple -e flags are allowed
  -p <constiable>       print value of <constiable> to the console. If you specify this, you do not have to specify a `command`
  -c [environment]    support cascading env constiables from `.env`, `.env.local`, `.env.<environment>`, `.env.<environment>.local` files
  command             `command` is the actual command you want to run. Best practice is to precede this command with ` -- `. Everything after `--` is considered to be your command. So any flags will not be parsed by this tool but be passed to your command. If you do not do it, this tool will strip those flags 

FAQs

Package last updated on 20 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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