0.0.11 • Published 5 years ago

kmd-script v0.0.11

Weekly downloads
14
License
Apache-2.0
Repository
github
Last release
5 years ago

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(...)