Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exit codes to get commands #61

Open
miguelgmcs opened this issue Sep 20, 2022 · 0 comments
Open

Add exit codes to get commands #61

miguelgmcs opened this issue Sep 20, 2022 · 0 comments

Comments

@miguelgmcs
Copy link

miguelgmcs commented Sep 20, 2022

It would be nice to have exit codes to the get commands based on the matching like grep does.

$ hcledit block get module.namespace -f main.tf
module "namespace" {
  source = "git@github.com:xxxxxxxxx/platform_terraform_modules.git//k8s/namespace?ref=7.15.2"
  project_name = var.project_name
  env          = var.environment
  region       = var.region
  owners       = var.owners
}
$ echo $?
0
$ hcledit block get module.namasdfasdfasdespace -f main.tf
$ echo $?                                                 
0

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant