aliases
This commit is contained in:
parent
d2af5d22e4
commit
de08c1891a
|
@ -34,6 +34,7 @@ type AllocFSCommand struct {
|
|||
func (f *AllocFSCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad alloc fs [options] <allocation> <path>
|
||||
Alias: nomad fs
|
||||
|
||||
fs displays either the contents of an allocation directory for the passed allocation,
|
||||
or displays the file at the given path. The path is relative to the root of the alloc
|
||||
|
|
|
@ -21,6 +21,7 @@ type AllocLogsCommand struct {
|
|||
func (l *AllocLogsCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad alloc logs [options] <allocation> <task>
|
||||
Alias: nomad logs
|
||||
|
||||
Streams the stdout/stderr of the given allocation and task.
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ type JobInitCommand struct {
|
|||
func (c *JobInitCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad job init
|
||||
Alias: nomad init
|
||||
|
||||
Creates an example job file that can be used as a starting
|
||||
point to customize further.
|
||||
|
|
|
@ -16,6 +16,7 @@ type JobInspectCommand struct {
|
|||
func (c *JobInspectCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad job inspect [options] <job>
|
||||
Alias: nomad inspect
|
||||
|
||||
Inspect is used to see the specification of a submitted job.
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ type JobPlanCommand struct {
|
|||
func (c *JobPlanCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad job plan [options] <path>
|
||||
Alias: nomad plan
|
||||
|
||||
Plan invokes a dry-run of the scheduler to determine the effects of submitting
|
||||
either a new or updated version of a job. The plan will not result in any
|
||||
|
|
|
@ -19,6 +19,7 @@ type JobValidateCommand struct {
|
|||
func (c *JobValidateCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad job validate [options] <path>
|
||||
Alias: nomad validate
|
||||
|
||||
Checks if a given HCL job file has a valid specification. This can be used to
|
||||
check for any syntax errors or validation problems with a job.
|
||||
|
|
Loading…
Reference in New Issue