Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 616 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 616 Bytes

kubensure

Build Lint

Ensure consistency in Kubernetes cluster's resources

Additional commands cli-specific

dep ensure -add github.com/spf13/cobra/cobra
go get -u github.com/spf13/cobra/cobra
cd $GOPATH/src
cobra init github.com/PhilRanzato/kubensure/cli --pkg-name github.com/PhilRanzato/kubensure/cli
cd cli
go run main.go
# add a new command
cobra add test
go build -o $GOPATH/bin/kubensure.exe
kubensure -h
# add a new subcommand
cobra add subcmd -p cmd