Hide dagger doc
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
parent
355842faa5
commit
acd44a55b2
@ -246,9 +246,11 @@ func mdEscape(s string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var docCmd = &cobra.Command{
|
var docCmd = &cobra.Command{
|
||||||
Use: "doc [PACKAGE | PATH]",
|
// FIXME: this command is currently broken as of 0.2.
|
||||||
Short: "document a package",
|
Hidden: true,
|
||||||
Args: cobra.MaximumNArgs(1),
|
Use: "doc [PACKAGE | PATH]",
|
||||||
|
Short: "document a package",
|
||||||
|
Args: cobra.MaximumNArgs(1),
|
||||||
PreRun: func(cmd *cobra.Command, args []string) {
|
PreRun: func(cmd *cobra.Command, args []string) {
|
||||||
// Fix Viper bug for duplicate flags:
|
// Fix Viper bug for duplicate flags:
|
||||||
// https://github.com/spf13/viper/issues/233
|
// https://github.com/spf13/viper/issues/233
|
||||||
|
Reference in New Issue
Block a user