Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DoctorCmd = &cobra.Command{ Use: "doctor", Short: "subcommands for webman doctor", Long: ` The "doctor" subcommand checks for potential issues. webman can attempt to automatically fix issues using --fix `, RunE: func(cmd *cobra.Command, args []string) error { cfg, err := config.Load() if err != nil { return err } for _, check := range checks { color.HiBlue("== %s", check.Name) if err := check.Func(cfg, fix); err != nil { return err } } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.