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

Smooth handling of STDIN when --input field is not provided #22

Open
austinvalle opened this issue Jun 27, 2023 · 0 comments
Open

Smooth handling of STDIN when --input field is not provided #22

austinvalle opened this issue Jun 27, 2023 · 0 comments

Comments

@austinvalle
Copy link
Member

Steps to recreate

  1. make build
  2. mkdir output
  3. Run ./terraform-plugin-codegen-framework generate all

I was expecting an error that no --input path was provided and no path provided on STDIN, instead the program will wait for input (I'm also not able to provide it input after, not sure why that is). I think there might be another bug I'm running into after splitting the commands in #18, but I ran into this issue first.

Possible idea using Scan: https://stackoverflow.com/a/49704981

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