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

replace stdin with unsatisfied inputs in root #2021

Open
andrewdavidmackenzie opened this issue Sep 4, 2023 · 1 comment
Open

replace stdin with unsatisfied inputs in root #2021

andrewdavidmackenzie opened this issue Sep 4, 2023 · 1 comment
Labels

Comments

@andrewdavidmackenzie
Copy link
Owner

If a flow is compiled/run, then the flow resolved/specified to flowc is considered the root.
If it has unsatisfied inputs, then read them from stdin, in the order defined, using "name" as the prompt.

Maybe chose between string or json input depending on the declared type?
(absence of a specific type being 'json')

e.g. then mandlebrot/generate_pixels.toml could be used directly as part of debug.
flowc mandlebrot/generate_pixels.toml will compile and run it, prompting for the missing stdin lines

unconnected outputs will be printed out to stdout, using "name" as a prefix to show what is being output

@andrewdavidmackenzie
Copy link
Owner Author

Prompt with the name of the input that is unsatisfied?
Maybe the route of the IO that is unsatisfied as the prompt?

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

No branches or pull requests

1 participant