func GenManTree(cmd *cobra.Command, header *GenManHeader, dir string) error { … }
func GenManTreeFromOpts(cmd *cobra.Command, opts GenManTreeOptions) error { … }
type GenManTreeOptions …
type GenManHeader …
func GenMan(cmd *cobra.Command, header *GenManHeader, w io.Writer) error { … }
func fillHeader(header *GenManHeader, name string, disableAutoGen bool) error { … }
func manPreamble(buf io.StringWriter, header *GenManHeader, cmd *cobra.Command, dashedName string) { … }
func manPrintFlags(buf io.StringWriter, flags *pflag.FlagSet) { … }
func manPrintOptions(buf io.StringWriter, command *cobra.Command) { … }
func genMan(cmd *cobra.Command, header *GenManHeader) []byte { … }