Open mojavelinux opened 10 years ago
Perhaps we can use a (simple) cli library like:
Once this is done, I think we can close https://github.com/asciidoctor/asciidoctor/issues/168.
I would like to help this. Do you have any preference among the three options?
Some data for analysis can be found on Ruby Toolbox:
By the way, the category Command Line Option Parsers and Scripting Frameworks may have some interesting choices.
I don't like dependencies, so I prefer it be done with Ruby's stdlib. You can find an example to draw from in the kramdown-asciidoc project. See https://github.com/asciidoctor/kramdown-asciidoc/blob/main/lib/kramdown-asciidoc/cli.rb
Create a proper command-line interface to give the user greater control of the script.
Features should include: