feedwarrior

Slim, portable tooling for creating and distributing decentralized append logs
git clone git://git.defalsify.org/logwarrior.git
Log | Files | Refs | README | LICENSE

commit adb42ec39ab4cc2215fbf10096b181b253d6e1f7
parent f1883ddcc890657f91e16b7a91b75213773ebbd1
Author: lash <dev@holbrook.no>
Date:   Sun, 30 Apr 2023 21:24:12 +0100

Add readme markdown

Diffstat:
AMakefile | 3+++
MREADME | 102++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
AREADME.md | 142+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 246 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,3 @@ +doc: + pandoc -f man -t markdown man/man1/feedwarrior.1 > README.md + echo -e "\n\n# ABOUT THIS DOCUMENT\n\nThis document was generated using \`pandoc -f man -t markdown ...\`" >> README.md diff --git a/README b/README @@ -1 +1,101 @@ -taskwarrior-inspired approach to append logs +feedwarrior(1) General Commands Manual feedwarrior(1) + +NAME + feedwarrior - Feeds, warrior style + +DESCRIPTION + Inspired by ⟨https//taskwarrior.org⟩, this project seeks to simplify the creation and maintenance of engineering work logs. + + Entries of each individual log has core text content. Additionally, every entry may have any number of file attachments associated with it. + +SYNOPSIS + feedwarrior add [ -c config_file] [ -z ] [ --task-id ] [ --task-uuid ] < -s subject > + + feedwarrior attach [ -c config_file] [ -z ] < -e entry > file + + feedwarrior create [ -c config_file] [ --alias name ] + + feedwarrior entry [ -c config_file] [ -z ] [ --task-id ] [ --task-uuid ] < -s subject > < path_to_content > + + feedwarrior list [ -c config_file] + + feedwarrior show [ -c config_file] < -l feed_id > + + Common options + -llog_id + Log id to operate on. May be the full uuid or the alias defined at creation time. + + -cconfig_file + Load configuration from file. + + Options for show + --headers + Include multipart-headers in output. + + Options for attach + -eentry_id + uuid of entry to attach file to. + + Options for create + --aliasalias_id + Create log id alias that may be used as argument to -l for future operations. + + Options for add and entry + -ssubject + Entry subject. + + --task-idid + Associate the log entry with the given taskwarrior numeric id. This is a quasi-magical instruction which will resolve to the actual taskwarrior uuid. + + --task-uuiduuid + Associate the log entry with the given taskwarrior numeric uuid. + +ATTACHMENTS + Both feedwarrior add and feedwarrior entry will return the created entry id. + + This id can be used further with the -e flag for attachments. + + Any file in any format may be an attachment. The feedwarrior tool imposes little if no restriction on what data qualifies as valid attachment data. + +INTERACTIVE ENTRIES + The feedwarrior add command enables interactive definition of textual update entry contents. + + It will open an editor (at the moment hardcoded to vim) to receive the contents. + +DATA STORE + Log entries are stored as email-like MIME Multipart messages, wrapped in a json metadata structure. + + Only the default, simple filesystem structure is currently available as storage backend. + +EXAMPLE + # create feed + feedwarrior create --alias myfeed + + ¤ add log entry + ENTRY=`feedwarrior -l myfeed entry -s "first update" /path/to/contents.txt + + # attach file to entry + feedwarrior attach -e $ENTRY <attachment_file> + + ¤ interactively add log entry contents + entry=`feedwarrior -l myfeed add -s "second update" + + # show current state of feed (chronologically) + feedwarrior -l myfeed show + +LICENSE + This documentation and its source is licensed under the Creative Commons Attribution-Sharealike 4.0 International license. + + The source code of the tool this documentation describes is licensed under the GNU General Public License 3.0. + +COPYRIGHT AND CONTACT + Louis Holbrook ⟨dev@holbrook.no⟩ + + ⟨https://holbrook.no⟩https://holbrook.no + + PGP: 59A844A484AC11253D3A3E9DCDCBD24DD1D0E001 + +SOURCE CODE + https://holbrook.no/src/feedwarrior/log.html + + feedwarrior(1) diff --git a/README.md b/README.md @@ -0,0 +1,142 @@ +# NAME + +feedwarrior - Feeds, warrior style + +# DESCRIPTION + +Inspired by [](https//taskwarrior.org), this project seeks to simplify +the creation and maintenance of engineering work logs. + +Entries of each individual log has core text content. Additionally, +every entry may have any number of file attachments associated with it. + +# SYNOPSIS + +**feedwarrior** add \[ -c config_file\] \[ -z \] \[ \--task-id \] \[ +\--task-uuid \] \< -s subject \> + +**feedwarrior** attach \[ -c config_file\] \[ -z \] \< -e entry \> file + +**feedwarrior** create \[ -c config_file\] \[ \--alias name \] + +**feedwarrior** entry \[ -c config_file\] \[ -z \] \[ \--task-id \] \[ +\--task-uuid \] \< -s subject \> \< path_to_content \> + +**feedwarrior** list \[ -c config_file\] + +**feedwarrior** show \[ -c config_file\] \< -l feed_id \> + +## Common options + +**-l***log_id* + +: Log id to operate on. May be the full uuid or the alias defined at + creation time. + +**-c***config_file* + +: Load configuration from file. + +## Options for show + +**\--headers** + +: Include multipart-headers in output. + +## Options for attach + +**-e***entry_id* + +: uuid of entry to attach file to. + +## Options for create + +**\--alias***alias_id* + +: Create log id alias that may be used as argument to **-l** for + future operations. + +## Options for add and entry + +**-s***subject* + +: Entry subject. + +**\--task-id***id* + +: Associate the log entry with the given taskwarrior numeric id. This + is a quasi-magical instruction which will resolve to the actual + taskwarrior uuid. + +**\--task-uuid***uuid* + +: Associate the log entry with the given taskwarrior numeric uuid. + +# ATTACHMENTS + +Both **feedwarrior add** and **feedwarrior entry** will return the +created entry id. + +This id can be used further with the **-e** flag for attachments. + +Any file in any format may be an attachment. The feedwarrior tool +imposes little if no restriction on what data qualifies as valid +attachment data. + +# INTERACTIVE ENTRIES + +The **feedwarrior add** command enables interactive definition of +textual update entry contents. + +It will open an editor (at the moment hardcoded to **vim**) to receive +the contents. + +# DATA STORE + +Log entries are stored as email-like MIME Multipart messages, wrapped in +a json metadata structure. + +Only the default, simple filesystem structure is currently available as +storage backend. + +# EXAMPLE + + # create feed + feedwarrior create --alias myfeed + + ¤ add log entry + ENTRY=`feedwarrior -l myfeed entry -s "first update" /path/to/contents.txt + + # attach file to entry + feedwarrior attach -e $ENTRY <attachment_file> + + ¤ interactively add log entry contents + entry=`feedwarrior -l myfeed add -s "second update" + + # show current state of feed (chronologically) + feedwarrior -l myfeed show + +# LICENSE + +This documentation and its source is licensed under the Creative Commons +Attribution-Sharealike 4.0 International license. + +The source code of the tool this documentation describes is licensed +under the GNU General Public License 3.0. + +# COPYRIGHT AND CONTACT + +[Louis Holbrook](mailto:dev@holbrook.no) + +[](https://holbrook.no)https://holbrook.no + +PGP: 59A844A484AC11253D3A3E9DCDCBD24DD1D0E001 + +# SOURCE CODE + +https://holbrook.no/src/feedwarrior/log.html + + +# ABOUT THIS DOCUMENT + +This document was generated using `pandoc -f man -t markdown ...`