y2e

command module
v0.0.0-...-1d3983e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 5 Imported by: 0

README

y2e

CircleCI Go Report Card

y2e sets environment variables from a YAML file.

Usage

Create a YAML file with the environment variable name as the key.

FOO: foo
BAR: 123
BAZ: true

Pass YAML file to y2e and execute it as a subcommand of eval command.
After execution, the value of the YAML file is set as an environment variable.

$ eval "$(y2e your_env_var.yaml)"
$ env | grep -e FOO -e BAR -e BAZ
FOO=foo
BAR=123
BAZ=true
Options
  • -verbose
    • Output detail log to the stderr.

Install

$ go get -u github.com/178inaba/y2e

License

MIT

Author

178inaba

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL