eriks-mbp:variant-demo erik$ ./mycli terraform init --help
Run terraform init on a project
Usage:
mycli terraform init [flags]
mycli terraform init [command]
Available Commands:
all Init all projects
Flags:
-h, --help help for init
Global Flags:
--cachedir string Where to cache modules
--env string Environment to operate on
Use "mycli terraform init [command] --help" for more information about a command.
But terraform init has a positional parameter of project defined:
job "terraform init" {
description = "Run terraform init on a project"
parameter "project" {
type = string
description = "Project to provision"
}
variable "moduledir" {
type = string
value = try("${opt.cachedir}/${param.project}")
}
...
what
--help
e.g.
example
But
terraform init
has a positional parameter ofproject
defined: