Netflix-Skunkworks / kmd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kmd

Installation

npm i -g kmd-script

Usage

kmd some-script.sh [another-script.sh]

Examples

On a Mac, try kmd examples/os.sh examples/mac-addresses.sh

Setting env vars (e.g. base file path when using pathResolve command)

const { run, compile, setKmdEnv } = require('kmd-script')

setKmdEnv({
  BASE_FILE_PATH: '/some/path'
})

compile(...)
run(...)

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%