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

Implement remaining input types in CLI when run in --interactive mode #255

Closed
kasperisager opened this issue Jun 9, 2020 · 2 comments · Fixed by #699
Closed

Implement remaining input types in CLI when run in --interactive mode #255

kasperisager opened this issue Jun 9, 2020 · 2 comments · Fixed by #699

Comments

@kasperisager
Copy link
Contributor

Currently, only boolean and Node inputs are supported, whereas Iterable<Node>, Iterable<Color>, and Color aren't yet supported.

@kasperisager
Copy link
Contributor Author

Thinking more about this, I want to move the concern of dealing with questions out of the CLI entirely and into a separate package similar to how it's done for formatters. This way, one could do something like the following...

$ alfa audit --interviewer default <url>

...which would load the @siteimprove/alfa-interviewer-default package and call it whenever a question needs answering. How to actually get an answer to a question would of course be entirely up to the interviewer.

@kasperisager
Copy link
Contributor Author

Pulling this back in todo due to #255 (comment), which needs more refinement.

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

Successfully merging a pull request may close this issue.

1 participant