mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Initial commit
This commit is contained in:
19
vendor/github.com/gobuffalo/buffalo-plugins/plugins/command.go
generated
vendored
Normal file
19
vendor/github.com/gobuffalo/buffalo-plugins/plugins/command.go
generated
vendored
Normal 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
|
||||
Reference in New Issue
Block a user