common commands

This commit is contained in:
Alex Dadgar
2018-03-20 17:46:24 -07:00
parent c7fc6571d8
commit 683e271069
3 changed files with 101 additions and 48 deletions

View File

@@ -27,6 +27,7 @@ type JobRunCommand struct {
func (c *JobRunCommand) Help() string {
helpText := `
Usage: nomad job run [options] <path>
Alias: nomad run
Starts running a new job or updates an existing job using
the specification located at <path>. This is the main command

View File

@@ -15,6 +15,7 @@ type JobStopCommand struct {
func (c *JobStopCommand) Help() string {
helpText := `
Usage: nomad job stop [options] <job>
Alias: nomad stop
Stop an existing job. This command is used to signal allocations
to shut down for the given job ID. Upon successful deregistration,