Commit Graph

5 Commits

Author SHA1 Message Date
David Simansky cb35f6a25a
Update core cli dependencies (#1851)
* Update core cli dependencies

* Update vendor dir
2023-08-23 17:44:55 +00:00
David Simansky be74c58ae0
Upgrade depedencies before next release (#1748)
* Upgrade spf13/cobra to 1.6

* Upgrade k8s.io/cli-runtime to matching version
2022-10-13 14:07:53 +00:00
David Simansky ee3514402f
Update spf13/cobra deps (#1734)
* Update spf13/cobra deps

* Update vendor & licences

* Fix codegen versions
2022-09-22 10:36:12 +00:00
Navid Shaikh 8232c9d16b
Upgrade spf13/cobra dep to current master (#944)
* Pin spf13/cobra dep at b95db644ed1c0e183a90d8509ef2f9a5d51cc29b

 which includes the zsh completion fix for https://github.com/spf13/cobra/pull/899
 and remove the fork of cobra with fix in `replace` section of go.mod

* Parse args without invoking a separate command

 Do not define and execute extractCommand before running actual root
 command to parse all the args without flags. This was creating issues
 with completion utils to generate additional shell completion directive.
 Now uses cobra's inbuilt utilities to parse the command args without flags.

* Return error from stripFlags if any

* Update unit tests
2020-07-22 14:46:57 -07:00
dr.max 95808278d4 Adds Cobra generated docs and means to generate them and first cut of other docs (#93)
* Added Cobra generated docs and ways to generate them

* Adds docs/README.md and first user's guide for Kn
2019-05-06 17:39:36 -07:00