Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EmitCollateral (0.28 sec)

  1. pkg/collateral/cobra_noagent.go

    				c.EmitBashCompletion = true
    				c.EmitZshCompletion = true
    				c.EmitManPages = true
    				c.EmitMarkdown = true
    				c.EmitHTMLFragmentWithFrontMatter = true
    				c.ManPageInfo = *hdr
    			}
    
    			return EmitCollateral(root, &c)
    		},
    	}
    
    	cmd.Flags().StringVarP(&c.OutputDir, "outputDir", "o", c.OutputDir, "Directory where to generate the collateral files")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. pkg/collateral/control.go

    	Predicates Predicates
    }
    
    // EmitCollateral produces a set of collateral files for a CLI command. You can
    // 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 {
    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