@c6o/kubefwd
v0.4.1
Published
CLI for codezero
Downloads
17
Readme
CodeZero Kubefwd
The node package downloads kubefwd and makes it available to other processes.
The binary is stored in the /bin folder of this reposiroty.
Add to project
yarn add @c6o/kubefwd
Usage
getKubefwdCmd()
- is an async command that will ensure kubefwd is available, and returns the path to the binary.
import { binaryName, getKubefwdCmd } from '@c6o/kubefwd'
//...
const kubefwd = await getKubefwdCmd()
spawn(`sudo -sE ${kubefwd} svc -n ${namespace}`, ...)