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

[cli] Automatically add .hcl extension to generated var-files. #457

Merged
merged 3 commits into from
Oct 27, 2023

Conversation

angrycub
Copy link
Contributor

Description

Since the generate var-file command writes its output in HCL and the var-file flag requires them, we should probably go ahead and add the extension if it's not set properly. The second and third commits are a little cleanup that was missing and a fix to tighten up the help text and remove some copypasta.

  • Add .hcl extension to output filename
  • Add a success message
  • render -> generate

Reminders

  • Add CHANGELOG.md entry

@angrycub angrycub merged commit 4db2f70 into main Oct 27, 2023
19 checks passed
@angrycub angrycub deleted the cli/extension-for-varfile branch October 27, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants