feat: Upgrade to cobra v1.8.1

Signed-off-by: John McBride <jpmmcbride@gmail.com>
This commit is contained in:
John McBride
2024-06-18 18:11:39 -06:00
parent 33829b68b5
commit 5aaff7d060
48 changed files with 254 additions and 188 deletions

View File

@@ -140,7 +140,7 @@ func GenReSTTree(cmd *cobra.Command, dir string) error {
return GenReSTTreeCustom(cmd, dir, emptyStr, defaultLinkHandler)
}
// GenReSTTreeCustom is the the same as GenReSTTree, but
// GenReSTTreeCustom is the same as GenReSTTree, but
// with custom filePrepender and linkHandler.
func GenReSTTreeCustom(cmd *cobra.Command, dir string, filePrepender func(string) string, linkHandler func(string, string) string) error {
for _, c := range cmd.Commands() {