Skip to content

Commit

Permalink
Merge pull request #184 from jrasell/f_gh_181
Browse files Browse the repository at this point in the history
Provide better command help for deploy and render commands.
  • Loading branch information
jrasell committed Jun 5, 2018
2 parents 667ceb4 + 08ae736 commit 7ff4a64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion command/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ func (c *DeployCommand) Help() string {
helpText := `
Usage: levant deploy [options] [TEMPLATE]
Deploy a Nomad job based on input templates and variable files.
Deploy a Nomad job based on input templates and variable files. The deploy
command supports passing variables individually on the command line. Multiple
commands can be passed in the format of -var 'key=value'. Variables passed
via the command line take precedence over the same variable declared within
a passed variable file.
Arguments:
Expand Down
6 changes: 5 additions & 1 deletion command/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ func (c *RenderCommand) Help() string {
helpText := `
Usage: levant render [options] [TEMPLATE]
Render a Nomad job template, useful for debugging.
Render a Nomad job template, useful for debugging. Like deploy, the render
command also supports passing variables individually on the command line.
Multiple vars can be passed in the format of -var 'key=value'. Variables
passed via the command line take precedence over the same variable declared
within a passed variable file.
Arguments:
Expand Down

0 comments on commit 7ff4a64

Please sign in to comment.