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

feat: plugin for terraform-docs #12138

Open
caerulescens opened this issue Dec 29, 2023 · 2 comments
Open

feat: plugin for terraform-docs #12138

caerulescens opened this issue Dec 29, 2023 · 2 comments
Labels
Feature New feature or request

Comments

@caerulescens
Copy link

caerulescens commented Dec 29, 2023

If the feature request is for a plugin or theme, specify it here.

terraform-docs

If the feature solves a problem you have, specify it here.

It would be nice if there was a ohmyzsh plugin for terraform-docs that has the goal of keeping completions up to date; see terraform plugin here for an example.

Describe the proposed feature.

To keep completions up to date; namely, performing the behavior of terraform-docs completion zsh > ~/.oh-my-zsh/completions/_terraform-docs

Describe alternatives you've considered

The alternative is to use terraform-docs completion zsh > ~/.oh-my-zsh/completions/_terraform-docs, which works perfectly fine.

Additional context

I've included instructions upstream in a pull request (terraform-docs/terraform-docs#741).

Related Issues

I've created an issue in terraform-docs (terraform-docs/terraform-docs#742) linked to the pull request (terraform-docs/terraform-docs#741).

@carlosala
Copy link
Member

carlosala commented Dec 30, 2023

We could use terraform plugin, and add the completions generation as well for terraform-docs.

@caerulescens
Copy link
Author

That sounds great. Since terraform-docs is not an official HashiCorp project, I was suggesting to separate it into terraform-docs. I think either works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants