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
Provide a CLI interface #87
Comments
👍 |
Perhaps using something like: https://www.npmjs.com/package/cli We could attempt to cross compile the cli from Ruby, though because of the widely varied environment, it may not work well. |
Just tried it and it works great. Nice work! |
Now that we've published the "asciidoctor-cli" package, it makes me wonder whether we should rename (or alias) the core package as "asciidoctor" instead of (or in addition to) "asciidoctor.js".
Is it possible to add a package alias? If not, I'm okay with renaming the package. I think we agreed that it's understood that this is a JavaScript package given that we are using npm. |
It would be amazing if Asciidoctor.js could provide the same CLI interface (or at the very least, a minimal CLI interface) just like Asciidoctor. That way, people could install Asciidoctor.js (perhaps using npm) and get the asciidoctor command (or perhaps the asciidoctorjs command, to be consistent with AsciidoctorJ and not cause conflicts).
The text was updated successfully, but these errors were encountered: