|
|
|
|
|
by granra
2653 days ago
|
|
Oh I see. It looks like docli sets the flag as true if it was passed as a parameter to the program. So you do: var terraform Terraform args.Bind(&terraform) if terraform.Workspace { // do workspace stuff
}I think. EDIT: I don't know how hackernews formatting works :/ |
|
I guess for simple purposes this is fine though.