hashicorp / hashicorp/terraform-plugin-codegen-framework

Smooth handling of STDIN when `--input` field is not provided

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
57
Forks
29
Avg merge
2d 13h
Merged PRs (30d)
1

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.