Hide dagger doc

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes 2022-03-09 16:37:26 -08:00
parent 355842faa5
commit acd44a55b2

View File

@ -246,9 +246,11 @@ func mdEscape(s string) string {
}
var docCmd = &cobra.Command{
Use: "doc [PACKAGE | PATH]",
Short: "document a package",
Args: cobra.MaximumNArgs(1),
// FIXME: this command is currently broken as of 0.2.
Hidden: true,
Use: "doc [PACKAGE | PATH]",
Short: "document a package",
Args: cobra.MaximumNArgs(1),
PreRun: func(cmd *cobra.Command, args []string) {
// Fix Viper bug for duplicate flags:
// https://github.com/spf13/viper/issues/233