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

dotenv-to-consul

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-to-consul

Read .env file and populate consul directory with all key values

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dotenv-to-consul

Cli tool to parse key values from a .env file and populate consul key value store.

oclif Version CircleCI Codecov Downloads/week License

Usage

$ npm install -g dotenv-to-consul
$ dotenv-to-consul COMMAND
running command...
$ dotenv-to-consul (-v|--version|version)
dotenv-to-consul/0.0.1 darwin-x64 node-v8.11.1
$ dotenv-to-consul --help [COMMAND]
USAGE
  $ dotenv-to-consul COMMAND
...

.env to consul

dotenv-to-consul seed-consul -s http://consul.comany.net:8500 -t <EXAMPLE_TOKEN> -p EXAMPLE/1234
KEY1=value_1
KEY2=value_2
KEY3=value_3
KEY4=value_4
dotenv-to-consul purge-consul -s http://consul.comany.net:8500 -t <EXAMPLE_TOKEN> -p EXAMPLE/1234

Commands

dotenv-to-consul help [COMMAND]

display help for dotenv-to-consul

USAGE
  $ dotenv-to-consul help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

dotenv-to-consul purge-consul [FILE]

Read a .env file and purge its contents from consul kv store

USAGE
  $ dotenv-to-consul purge-consul [FILE]

OPTIONS
  -f, --force
  -h, --help           show CLI help
  -p, --path=path      path
  -s, --server=server  server
  -t, --token=token    token

See code: src/commands/purge-consul.ts

dotenv-to-consul read [FILE]

Read a .env file and print the corresponding key value pairs

USAGE
  $ dotenv-to-consul read [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/read.ts

dotenv-to-consul seed-consul [FILE]

Read a .env file and seed consul kv store

USAGE
  $ dotenv-to-consul seed-consul [FILE]

OPTIONS
  -f, --force
  -h, --help           show CLI help
  -p, --path=path      path
  -s, --server=server  server
  -t, --token=token    token

See code: src/commands/seed-consul.ts

Keywords

FAQs

Package last updated on 15 May 2019

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