docopt.rb icon indicating copy to clipboard operation
docopt.rb copied to clipboard

Parse command line arguments from nothing more than a usage message

Results 9 docopt.rb issues
Sort by recently updated
recently updated
newest added

This is my simple code: #encoding: UTF-8 #!/usr/bin/env ruby require "net/http" require "docopt" require "uri" doc=

Hi, Awesome gem, thx. Can you release git tags for version 0.6.0 and 0.6.1 please. ![image](https://user-images.githubusercontent.com/16578570/74861837-4a27db00-534b-11ea-934e-2cef1cd4abdc.png) Also can you write a CHANGELOG.md to help people update their dependencies.

Exit should provide information as to why docopt raised it: for instance, exiting because of `--help` is a nominal scenario, while an illegal option should cause an exit with a...

Addresses https://github.com/docopt/docopt.rb/issues/18. This project appears to be unmaintained, but I figured this changeset could be useful for others even if it doesn't get merged.

`docopt.rb/examples/any_options_example.rb` Running `test.rb` with an option and a valid `` should not fail. ``` > test.rb -q 123 Usage: exe/test.rb [options] Options: -h --help show this help message and exit...

Although I am happy to see a new 0..6 version, it introduces what I assume is an unintended behavior. With the previous 0.5 version, when running the command with an...

I know this is not maintained (which is sad), but just in case someone picks up maintenance some day, here is a bug that caused me some headache. The below...