github.com/diptanu/nomad@v0.5.7-0.20170516172507-d72e86cbe3d9/command/job.go (about)

     1  package command
     2  
     3  import "github.com/mitchellh/cli"
     4  
     5  type JobCommand struct {
     6  	Meta
     7  }
     8  
     9  func (f *JobCommand) Help() string {
    10  	return "This command is accessed by using one of the subcommands below."
    11  }
    12  
    13  func (f *JobCommand) Synopsis() string {
    14  	return "Interact with jobs"
    15  }
    16  
    17  func (f *JobCommand) Run(args []string) int {
    18  	return cli.RunResultHelp
    19  }