3b97db5c25
Fix: Duplicated printing of entries with "show --all"
...
The problem was that the used `Diary::diary_names()` iterator does not
call `unique()` on its output.
That decision was made because the return type would get more
complicated with that feature.
Now that rustc 1.26 with Impl Trait is out, we can refactor the return
types of these functions (so also with `Diary::diary_names()`) to
automatically do this.
2018-05-11 15:45:50 +02:00
ee75d2309c
Fix: imag-log show should order by datetime
2018-04-22 14:33:53 +02:00
51b9b5c0db
Fix: Use qualification
2018-04-14 00:58:40 +02:00
8c1b4124c0
Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommand
2018-04-04 19:34:13 +02:00
50461b839a
Use output stream from Runtime::stdout()
2018-03-04 13:57:44 +01:00
eccb52a85c
Fix imag-log for new Diary::entries() interface
2018-03-02 23:27:20 +01:00
6a341d3723
Abstract exit code as a type
2018-02-19 11:14:18 +01:00
013fc75d85
Fix output for broken pipe errors
2018-02-19 10:40:26 +01:00
9469693763
Use new make_imag_version!() macro for building version string
2018-02-13 11:38:34 +01:00
7f4cdced4a
Merge pull request #1262 from matthiasbeyer/do-not-print-ok
...
Do not print "Ok" after successful execution
2018-02-10 21:22:12 +01:00
9f48071e48
Do not print "Ok" after successful execution
2018-02-10 16:41:27 +01:00
2dfede240e
Alias subcommand "show" to "list"
2018-02-10 16:41:20 +01:00
d5a9e4930d
Update dates in license header
...
And add missing header in one file
2018-02-07 02:48:53 +01:00
864e457dce
Merge pull request #1259 from matthiasbeyer/imag-log/no-leading-space
...
Do not put a leading space in the log
2018-02-06 23:29:22 +01:00
88b7b43d2c
Do not put a leading space in the log
2018-02-06 20:54:11 +01:00
f44f13e23a
Do not list entries which are not "log" entries
2018-02-06 20:48:47 +01:00
55d97e565d
imag-log: Replace read with typed read
2018-01-13 01:14:03 +01:00
bfc35e0517
Remove dependency "version"
...
Because the "version" crate is licensed as GPL, which would us require
to release imag as GPL, we remove the crate now.
2018-01-12 13:33:40 +01:00
a6fd525c0f
Add "show" functionality
2018-01-03 21:09:03 +01:00
3cf1fd0baf
Add CLI implementation
2018-01-03 16:54:08 +01:00
7a364639ee
Initial import: imag-log
2018-01-03 16:54:08 +01:00