Commit Graph

10 Commits

Author SHA1 Message Date
Matthias Beyer 95a4816604 Implement imag-view argument to put seperator between shown entries 2018-04-24 22:49:53 +02:00
Matthias Beyer c2fd3fa94e Add support for formatted markdown output
This patch also removes the (unused) "compile" subcommand and replaces
it with a flag "-c" / "--compile" which prints the output in formatted
to the terminal.

Compiling the output from markdown to HTML and showing in the browser is
not yet possible.
2018-04-24 18:06:45 +02:00
Matthias Beyer e80bf7b57d Add feature for wrapping output 2018-04-19 21:55:27 +02:00
Matthias Beyer 5061faaa74 Add support for piping entry ids into command 2018-04-06 16:16:22 +02:00
Matthias Beyer f1cdb21430 Add support for viewing multiple entries 2018-04-06 15:30:12 +02:00
Matthias Beyer d5a9e4930d Update dates in license header
And add missing header in one file
2018-02-07 02:48:53 +01:00
Matthias Beyer ae4ced9587 Show content by default 2018-02-01 21:47:09 +01:00
Matthias Beyer 969211174a Rewrite imag-view
The imag-view command was redesigned with this change. It now looks up
view-templates in the config and calls them with the "in" subcommand.

This way, an entry can be viewed with editor, browser or whatever one
likes.

Compiling markdown is not supported yet.
2017-10-08 15:08:27 +02:00
Matthias Beyer d9add138d2 Use positional argument for id 2017-10-08 13:02:56 +02:00
Matthias Beyer 59a3662ac4 Reorganize code in subdirs 2017-08-27 15:12:09 +02:00