Documentation
¶
Overview ¶
Package apply provides the apply command for the medic CLI
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DocsCmd = &cobra.Command{ Use: "docs", Short: "Generates documentation for the client", Long: `Generates documentation for the client.`, PreRun: func(cmd *cobra.Command, args []string) { err := viper.BindPFlags(cmd.Flags()) util.ExitNicelyOnError(err, "Error binding flags") }, Run: func(cmd *cobra.Command, args []string) { app.RootCmd.DisableAutoGenTag = true err := doc.GenMarkdownTree(app.RootCmd, "./docs/docs/cli") if err != nil { panic(err) } }, }
DocsCmd generates documentation
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.