-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add a cli #598
Comments
Sounds good, but I don't think |
yeah, we would need to extract the IDL by some other means (i.e., this would be spec-writing tool agnostic). But that's fine. |
https://github.com/w3c/reffy/blob/master/src/cli/extract-webidl.js is a tool that extract IDL fragments from specs independently of their authoring tool |
https://github.com/saschanaz/webidl-updater/blob/cabc499302214586f84c7186b4497a06793fc977/src/utils/extract-webidl.js is my tweaked version of it for rewriting. Sounds like it could be useful to have that logic here, probably in a separate package. |
Maybe we want a separate project for this (
-cli
) that allows for validation from the command line.This would be great for CI, to allow Bikeshed document's to be checked for errors (the WebIDL parse/processor in Bikeshed is a bit limited).
The text was updated successfully, but these errors were encountered: