Passing additional flags to terraspace

Hi, is it possible to pass additional flags that works with terraform to terraspace?

For example terraform plan -refresh=false?

When I do terraspace plan eks -refresh=false I get error:

ERROR: "terraspace plan" was called with arguments ["eks", "-refresh=false"]  
Usage: "terraspace plan STACK"

Also another such requirement:

If I want to get value of a specific output I can do:

terraform output <outpuput_name>

When I tried the same with terraspace it didn’t work. Got a similar error as above.

Maybe you’re running an older version? Tested and options get passed through.

$ terraspace plan demo -refresh=false
Building .terraspace-cache/us-west-2/dev/stacks/demo
Built in .terraspace-cache/us-west-2/dev/stacks/demo
Current directory: .terraspace-cache/us-west-2/dev/stacks/demo
=> terraform init -get -input=false >> /tmp/terraspace/log/init/demo.log
=> terraform plan -refresh=false -input=false

Notice: “terraform plan -refresh=false -input=false”

This specific feature was covered in Terraspace v1 Release | BoltOps Learn

FWIW, running versions

$ terraform --version
Terraform v1.1.7
$ terraspace version

Also tested several cases in the PR

Note, an output name is not currently pass through though. Will consider PRs. Of course. No sweat either way :+1: