c84258da3d
Add flag to not print name of annotation
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-10 00:58:21 +01:00
ab5078f111
Rewrite "add annotation" command
...
Because before we created a new annotation for each ID to be annotated,
which is not the expected behaviour.
Now we create one annotation object and then link it to all IDs which
are provided on the commandline.
Also, the annotation name is printed.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-10 00:58:21 +01:00
9185abcfa5
Update copyright years
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-01-03 18:41:36 +01:00
9fca66aa89
Forbid unsafe code in all crates
2018-11-11 13:05:55 +01:00
4e516ee19d
Update version strings
...
...for the next release, which will be imag 0.10.0!
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-10 11:56:37 +01:00
17d4123898
Update dependencies from git versions to proper versions.
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 22:14:11 +01:00
35291d68ad
Make code more idomatic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
a2eae99a39
Rewrite debug calls with DebugOption extension
2018-11-09 21:48:26 +01:00
c767e6239e
Remove unused parameter
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
8d0ae1058e
Make code more functional by more function chaining
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 13:51:42 +01:00
07cbecc1ba
Make code more functional by more function chaining.
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 13:51:28 +01:00
d8a6e9ca9a
Rewrite iteration without collecting inbetween
...
Because why not?
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 12:48:35 +01:00
8e1768b424
Refactor code to be more idomatic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 11:52:31 +01:00
345970d36b
Import new dependencies
...
Because of the changes in the "src/ui.rs" files in the binary
implementations, we have new dependencies we need to import into the
build-script of the "imag" command, so that it can build the
commandline.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:35:18 +01:00
f6483f54db
Add ID reporting in imag-timetrack
2018-11-06 20:35:18 +01:00
be56f9fe75
Add ID reporting in imag-mail
2018-11-06 20:35:18 +01:00
f20298cbe8
Add ID reporting in imag-store
2018-11-06 20:35:18 +01:00
c616a5cfaf
Add ID reporting in imag-ref
2018-11-06 20:35:18 +01:00
502cdf5721
Add ID reporting in imag-habit
2018-11-06 20:35:18 +01:00
96ad41ea4c
Add ID reporting in imag-mv
2018-11-06 20:35:18 +01:00
f3a03efd5d
Add ID reporting in imag-wiki
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:35:18 +01:00
860c58cbdf
Add ID reporting in imag-log
2018-11-06 20:35:18 +01:00
eceae358f8
Add ID reporting in imag-notes
2018-11-06 20:35:18 +01:00
2ca6be8322
Add id reporting in imag-diary
2018-11-06 20:35:18 +01:00
8523ae2120
Add id reporting in imag-contact
2018-11-06 20:34:46 +01:00
344aae5f92
Add ID reporting in imag-bookmark
2018-11-06 20:33:30 +01:00
1e6d58bf4c
Add ID reporting in imag-view
2018-11-06 20:33:30 +01:00
d3400167df
Add ID reporting in imag-tag
2018-11-06 20:33:30 +01:00
aef969f8bb
Add ID reporting in imag-link
2018-11-06 20:33:30 +01:00
4e5315b0e5
Add ID reporting in imag-grep
2018-11-06 20:33:30 +01:00
ff809a3750
Add ID reporting in imag-gps
2018-11-06 20:33:30 +01:00
3a6443b3ef
Add ID reporting in imag-ids
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:33:30 +01:00
274811243f
Move imag-view to ID provider infrastructure
2018-11-06 20:33:30 +01:00
f83d72033f
Move imag-tag to ID provider infrastructure
2018-11-06 20:33:30 +01:00
527e0310ae
Move imag-link to ID provider infrastructure
2018-11-06 20:33:30 +01:00
4856541f5a
Move imag-gps to ID provider infrastructure
2018-11-06 20:33:30 +01:00
70014e04b1
Move imag-ids to ID provider infrastructure
2018-11-06 20:33:30 +01:00
a805db2a88
Move imag-edit to ID provider infrastructure
2018-11-06 20:33:30 +01:00
30036d5628
Move imag-category to ID provider infrastructure
2018-11-06 20:33:30 +01:00
01de94a387
Move imag-annotate to ID provider infrastructure
2018-11-06 20:33:30 +01:00
17913ae3fd
Optimize implementation: Less matches
...
This patch simplifies the code to be not three nested matches but rather
one match and then some function chaining.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 14:48:49 +01:00
1321f49428
Optimize implementation
...
Code-wise, the functionality was not changed. The changes only make the
code much more pretty.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 14:48:49 +01:00
d004c667fd
Optimize implementation
...
Code-wise, the functionality was not changed. The changes only make the
code much more pretty.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 14:48:49 +01:00
5210985bf4
Optimize implementation
...
This does optimize the implementation of the list command implementation
(code-structure wise, not performance wise).
Functionality not altered.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 14:48:49 +01:00
1347784898
Merge branch 'safe-output'
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-01 21:22:26 +01:00
3bf3a8890b
Add debugging output in test via logger
2018-11-01 20:36:46 +01:00
089d5b98cb
Use error output from runtime to print error
2018-11-01 20:36:34 +01:00
afeb4031ac
Use runtime provided error stream
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-01 20:34:58 +01:00
8223f846b4
Use new "ask" function interface with input/output stream params
...
In the imag-contact crate we had to rewrite the ask_continue!{} macro
as a function for less headache, but besides that this is a rather
straight-forward patch for adapting to the new interface.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-01 20:33:24 +01:00
32f38945f0
Fix tests: Do not pass "internal", subcommand does not exist anymore
2018-11-01 13:15:19 +01:00