8e0be9f1f7
Fix: Allow to pass only UUIDs and automatically add "todo/" prefix
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:44:36 +01:00
82146e0c98
Fix: Ignore Broken Pipe errors when writing list
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:44:33 +01:00
49eb0c13e9
Merge branch 'imag-todo/ids-from-stdin' into master
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:09:43 +01:00
bd4a839cb9
Rewrite list_todos() to be able to read ids from stdin
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:00:00 +01:00
cadd9f8944
Rewrite show functionality of imag-todo
...
This implementation uses the handlebars crate so that the show format
can be specified in the configuration file.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 12:54:11 +01:00
c2d4ec5fef
imag-notes: Do not call exit() but propagate error to main function
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-23 20:16:28 +01:00
c5f0dc7b14
Add imag-tag-missing command for filtering entries
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:46:10 +01:00
cec4d93f3e
Add imag-tag-present command for filtering entries
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:46:10 +01:00
9e532f79dd
Transform the main function to get the subcommand object
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:38:39 +01:00
5a89a29b6d
Fix: Only view entry if output is not a pipe
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:21:28 +01:00
fae53aa134
Rewrite to accept ids from stdin
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-11 19:50:38 +01:00
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