boltops-tools / terraspace

Terraspace: The Terraform Framework
https://terraspace.cloud
Apache License 2.0
674 stars 46 forks source link

import usage text is missing argument #287

Open flexwie opened 1 year ago

flexwie commented 1 year ago

The help text for the import command is missing the stack part.

Is:

$ terraspace import
ERROR: "terraspace import" was called with no arguments
Usage: "terraspace import ADDR ID"

should be:

$ terraspace import
ERROR: "terraspace import" was called with no arguments
Usage: "terraspace import STACK ADDR ID"
a-jean commented 1 year ago

Hi there 👋🏾 I'd like to give this a try. From looking at this commit, it appears the update will take place in lib/terraspace/cli.rb and lib/terraspace/terraform/args/thor.rb. Does that seem correct? 🧐

tongueroo commented 1 year ago

Here you go https://github.com/boltops-tools/terraspace/blob/master/lib/terraspace/cli.rb#L112