Skip to content

Trap incorrect inputs #66

@petermr

Description

@petermr

Users will mistype data such as projectnames and dictionaries.
Trap this prettily and give simple error messages.

Action: after tomorrow create incorrect inputs for

ami-search-new -p myproject --dictionary country /some/where/dict

Typical errors:

  • ami-serach-new (misspelt)
  • omit -p
  • myproject does not exist
  • omit --dictionary
  • -dictionary (only one -)
  • --diktionary (misspelt)
  • --dictionary contry (non-existent)

NOTE: ami-search-cooccur is being replaced by ami-search-new

Metadata

Metadata

Labels

bugSomething isn't workingdocumentationdocument possible bugs

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions