commit
ea684e39f7
@ -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