1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-07-18 16:57:21 +00:00
Commit graph

8 commits

Author SHA1 Message Date
Dominic Evans
e1ccee069d chore(deps): bump gopkg.in/yaml.v2 to v3.0.1
- CVE-2022-28948

- GHSA-hp87-p4gw-j4gq
2022-05-30 13:37:03 +01:00
Hugo
25f5bb5f97
Prefer ReplaceAll instead of Replace(..., -1) () 2022-05-14 14:10:36 -06:00
Alessandro (Ale) Segala
ed7b60e298
YAML documentation contains "Usage" () 2020-06-15 16:51:03 -06:00
Albert Nigmatzianov
ca57f0f5db doc: Ad help flag and cmd when generating docs 2017-05-20 19:28:06 +02:00
Albert Nigmatzianov
6dd90846ba doc: Use w.Write instead of fmt in yaml_docs
benchmark                        old ns/op     new ns/op     delta
BenchmarkGenYamlToFile-4         62488         61622         -1.39%

benchmark                        old allocs     new allocs     delta
BenchmarkGenYamlToFile-4         121            120            -0.83%

benchmark                        old bytes     new bytes     delta
BenchmarkGenYamlToFile-4         26706         26280         -1.60%
2017-04-26 21:30:17 +02:00
Albert Nigmatzianov
f95d58bdf3 Fix ()
* doc: Add and edit docs

* doc: Add tests
2017-04-19 14:39:58 +02:00
Albert Nigmatzianov
0960ff7fa9 Rename IsHelpCommand to IsAdditionalHelpTopicCommand ()
Fixes 
2017-03-09 10:37:15 -05:00
French Ben
35136c09d8 Added support for yaml ouptut in docs gen ()
Signed-off-by: French Ben <frenchben@docker.com>
2017-01-30 16:45:31 -05:00