Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GenManTree (0.1 sec)

  1. pkg/collateral/control.go

    // select to emit markdown to describe a command's function, man pages, YAML
    // descriptions, and bash completion files.
    func EmitCollateral(root *cobra.Command, c *Control) error {
    	if c.EmitManPages {
    		if err := doc.GenManTree(root, &c.ManPageInfo, c.OutputDir); err != nil {
    			return fmt.Errorf("unable to output manpage tree: %v", err)
    		}
    	}
    
    	if c.EmitMarkdown {
    		if err := doc.GenMarkdownTree(root, c.OutputDir); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top