feat(CLI): did you mean for struct values

* functionality is cursor-aware, and fixes the actual string the user
  passed in. That way, it is made very clear how the suggested value
  is to be used.
* it's a known weakness of the implementation that it operates on a
  flattened list of field names, and thus may make nonsensical
  suggestions.
* added punctuation to all errors

Fixes #67
[skip ci]
This commit is contained in:
Sebastian Thiel
2015-05-02 14:03:35 +02:00
parent d2a4e2ff8b
commit 96415d17ca
6 changed files with 117 additions and 30 deletions

View File

@@ -27,6 +27,7 @@ cargo:
is_executable: YES
dependencies:
- clap = "*"
- strsim = "*"
- yup-hyper-mock = "*"
- serde = ">= 0.3.0"
- serde_macros = "*"