Commit graph

891 commits

Author SHA1 Message Date
9f5b28ea11 Fix: Do not call exit(), but propagate error
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-10 01:53:09 +01:00
5cfbab8b8e Add import functionality for taskwarrior imports
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 17:35:19 +01:00
7873d99df5 Reimplement imag-todo
Parts of this commit were written by Leon, but in the process we needed
to squash. Here's his original commit message:

> Change todo listing behaviours
>
> This commit changes the todo binary to have the following behaviour:
> - `imag-todo`: Print all non-hidden pending todos
> - `imag-todo pending`: Print all non-hidden pending todos
> - `imag-todo list`: Print all non-hidden non-done todos
>   - `--done`: Include done
>   - `--no-pending`: Exclude pending
>
> Each and every command respects the hidden attribute only on the view
> layer, but still pipes the hidden entries to stdout.
>
> Internally, this introduces a black- and whitelist todo-state matcher,
> that can be configured to match only certain todos and thereby
> improves reusability of functions over the domain binary.

Signed-off-by: Leon Schuermann <leon@is.currently.online>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 17:35:06 +01:00
d51c1e99b9 Merge branch 'more-touching' into master 2019-11-02 17:50:28 +01:00
1f858cf4bd Merge branch 'imag-link-direction' into master 2019-11-02 17:50:08 +01:00
8270646283 Merge branch 'convert-id-in-collection-command' into master 2019-11-02 17:49:55 +01:00
a79f902d70 imag-link: Add option for directional linking
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-02 12:12:05 +01:00
fa7e8cc6b4 Merge branch 'imag-bookmark-noexit' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-27 18:44:54 +01:00
fe1885c8a9 Transform imag-calendar to not call exit() but propagate errors to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-27 11:29:47 +01:00
ee739e17fc Fix indention
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-27 10:52:18 +01:00
641c6c7761 Transform imag-bookmark to not call exit() but propagate errors to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-27 10:50:30 +01:00
18ec736503 Add id reporting in imag-grep
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:48:00 +02:00
57a8341b9c Add id reporting in imag-edit
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:48:00 +02:00
a5d006ef66 Add id reporting in imag-category
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:48:00 +02:00
cbbbbb59b5 Add id reporting in imag-create
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:48:00 +02:00
a6effe7ef3 Add id reporting in imag-annotate
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:48:00 +02:00
d8354ce6f3 Add id-in-collection command
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:19:19 +02:00
a0c5ea1fda Convert id-in-collection command to new binary crate layout
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 20:19:10 +02:00
434f84c80d Use resiter 0.4.0 for IterInnerOkOrElse extension 2019-10-26 18:16:37 +02:00
0529fcc7ad Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
e880fc3358 Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
c4e7dd482d Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
41323224f4 Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
8d4a5dade8 Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
9bcd99a1c0 Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
a92efdae40 Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
580320c496 Use resiter::IterInnerOkOrElse instead of libimagerror version
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
02b212feb3 update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
c9fb7f685f update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
72e2186d91 update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
99875785e5 update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
7680c538ae update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
6c842a9368 update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
de81e767d3 update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
7947221617 update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
e3afdf0c2f update: resiter v0.3.0 -> v0.4.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:16:27 +02:00
a3eccc0723 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:15:20 +02:00
58e303116d Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:15:20 +02:00
e67f5374be Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:15:20 +02:00
e740b2faaa Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:15:20 +02:00
ab39aa9353 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:15:20 +02:00
0e14f953ca Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 18:15:20 +02:00
2811ad3d4d Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
eb8912ffe6 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
9b8faec86e Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
0e74225094 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
f881f44d06 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
df2c5faf73 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
05685a6f2d Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00
4b8ca2b110 Remove calls to exit() and replace them with error propagation up to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-26 16:35:31 +02:00