command
module
Version:
v0.0.0-...-567b0ef
Opens a new window with list of versions in this module.
Published: Apr 27, 2015
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
JSONenv
Instalation
go install https://github.com/assemblyline/json_env
Usage
JSONenv writes to stdout so its output can be redirected to a file or somesuch.
$ env
SHELL=/bin/bash
EDITOR=vim
TERM=xterm
HOME=/Users/ed
GOPATH=/Users/ed/go
FOO=fooming_at_the_mouth
BAR=bar_snacks
$ json_env -f json -v BAR -v FOO
{"BAR":"bar_snacks","FOO":"fooming_at_the_mouth"}
$ json_env -f js -v EDITOR
window.ENV = {"EDITOR":"vim"};
$ json_env -f js -e SHELL -e EDITOR -e TERM -e HOME -e GOPATH
window.ENV = {"FOO":"fooming_at_the_mouth","BAR":"bar_snacks"};
Licence
MIT see LICENCE
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.