imag/bin/core/imag-category
Leon Schuermann ed457495c8 Introduce proper error handling in IdPathProvider
Prior to this change, the IdPathProvider implementation would be
responsible for exiting the process on insufficient / wrong arguments.
However, such error handling should be performed together with the
business logic and not in CLI-parsing related code.

This change introduces a clear separation: both parsing errors and
insufficient id path arguments can now be return from inside the
`get_ids`-method, and get passed up to the application logic to be
handled.

This change is reflected in all instances of IdPathProvider and their
surrounding code.

Signed-off-by: Leon Schuermann <leon.git@is.currently.online>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-24 21:03:34 +02:00
..
src Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
Cargo.toml Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
README.md imag-category: Initial import 2018-05-04 11:09:20 +02:00

README.md

Category

A tool to create categories and set/get them for entries.

The difference between a category and a tag is that a category must exist before it can be used and all entries of a category are linked to the "category entry" internally.