()
| 23 | ) |
| 24 | |
| 25 | func ExampleGenManTree() { |
| 26 | cmd := &cobra.Command{ |
| 27 | Use: "test", |
| 28 | Short: "my test program", |
| 29 | } |
| 30 | header := &doc.GenManHeader{ |
| 31 | Title: "MINE", |
| 32 | Section: "3", |
| 33 | } |
| 34 | cobra.CheckErr(doc.GenManTree(cmd, header, "/tmp")) |
| 35 | } |
| 36 | |
| 37 | func ExampleGenMan() { |
| 38 | cmd := &cobra.Command{ |
nothing calls this directly
no test coverage detected