mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Drain cli, api, http
This commit is contained in:
committed by
Michael Schurter
parent
1773de9e30
commit
2bdeacebff
19
command/node.go
Normal file
19
command/node.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user