imag/bin/core
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
..
imag Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-annotate Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-category Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-diagnostics Remove buildscripts 2019-05-22 22:18:57 +02:00
imag-edit Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-git Remove buildscripts 2019-05-22 22:18:57 +02:00
imag-gps Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-grep Remove buildscripts 2019-05-22 22:18:57 +02:00
imag-header Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-ids Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-init Remove buildscripts 2019-05-22 22:18:57 +02:00
imag-link Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-markdown Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-mv Remove buildscripts 2019-05-22 22:18:57 +02:00
imag-ref Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-store Remove buildscripts 2019-05-22 22:18:57 +02:00
imag-tag Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00
imag-view Introduce proper error handling in IdPathProvider 2019-05-24 21:03:34 +02:00