Initial commit

This commit is contained in:
Stash Dev
2019-02-09 04:30:49 -08:00
commit 87eeed7e71
1093 changed files with 558731 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package plugins
// Command that the plugin supplies
type Command struct {
// Name "foo"
Name string `json:"name"`
// UseCommand "bar"
UseCommand string `json:"use_command"`
// BuffaloCommand "generate"
BuffaloCommand string `json:"buffalo_command"`
// Description "generates a foo"
Description string `json:"description,omitempty"`
Aliases []string `json:"aliases,omitempty"`
Binary string `json:"-"`
Flags []string `json:"flags,omitempty"`
}
// Commands is a slice of Command
type Commands []Command