github.com/ilhicas/nomad@v0.11.8/command/plugin.go (about) 1 package command 2 3 import "github.com/mitchellh/cli" 4 5 type PluginCommand struct { 6 Meta 7 } 8 9 func (c *PluginCommand) Help() string { 10 helpText := ` 11 Usage nomad plugin status [options] [plugin] 12 13 This command groups subcommands for interacting with plugins. 14 ` 15 return helpText 16 } 17 18 func (c *PluginCommand) Synopsis() string { 19 return "Inspect plugins" 20 } 21 22 func (c *PluginCommand) Name() string { return "plugin" } 23 24 func (c *PluginCommand) Run(args []string) int { 25 return cli.RunResultHelp 26 }