Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ SilenceErrors: true, Use: "buffalo", Short: "Helps you build your Buffalo applications that much easier!", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { isFreeCommand := false for _, freeCmd := range anywhereCommands { if freeCmd == cmd.Name() { isFreeCommand = true } } if isFreeCommand { return nil } if !insideBuffaloProject() { return errors.New("you need to be inside your buffalo project path to run this command") } return nil }, }
RootCmd is the hook for all of the other commands in the buffalo binary.
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.