mirror of https://github.com/knative/client.git
* Get revision and service listing skeletons in. This adds the kn program, with basic commands for service and revision listing in. kn service list kn revision list They use the genericclioptions library from kubernetes to support jsonpath, yaml, and json output. The default is to just list the names of the objects, for now, until we add in some of the kubectl-based libraries for creating tables in another commit. This is deliberately bare-bones; I am looking to get the basic skeletons of how this repository is laid out down. No tests yet. Soon. * Move commands to pkg, so cmd only contains minimalist main.go * RunE instead of Run. The defaults on Cobra command generation are weird. * Oops forgot to change types of stuff * Do not panic on bad config file * Make commands no longer global * Make configuration initialization not static in the module, but rather triggered by main.go init |
||
|---|---|---|
| .. | ||
| kn | ||