open-nomad/command/node.go

20 lines
352 B
Go
Raw Normal View History

2018-02-23 23:56:36 +00:00
package command
import "github.com/mitchellh/cli"
type NodeCommand struct {
Meta
}
func (f *NodeCommand) Help() string {
return "This command is accessed by using one of the subcommands below."
}
func (f *NodeCommand) Synopsis() string {
return "Interact with nodes"
}
func (f *NodeCommand) Run(args []string) int {
return cli.RunResultHelp
}