clap/clap-tests
Sebastian Thiel 06e869b518 feat(did-you-mean): for subcommands
If an argument is not understood as subcommand, but has a
high-confidence match in the list of all known subcommands, we will use
this one to print a customized error message.

Previously, it would say that a positional argument wasn't understood,
now it will say that a subcommand was unknown, and if the user meant
`high-confidence-candidate`.

If the argument doesn't sufficiently match any subcommand, the default
handling will take over and try to treat it as positional argument.

* added dependency to `strsym` crate
* new `did_you_mean` function uses `strsim::jaro_winkler(...)` to look
  for good candidates.

Related to #103
2015-05-05 17:12:20 -04:00
..
src tests(main.rs): adds new features to tests 2015-05-04 22:01:28 -04:00
.gitignore chore(tests): rename claptests->clap-tests 2015-04-08 17:10:59 -04:00
Cargo.toml imp(clap-test): simplified make test invocation 2015-05-05 17:12:20 -04:00
Makefile imp(clap-test): simplified make test invocation 2015-05-05 17:12:20 -04:00
run_tests.py feat(did-you-mean): for subcommands 2015-05-05 17:12:20 -04:00