From f02cbaebf7b5a48175649a3c78834cf04a87f6c7 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 20 Jul 2024 18:45:22 +0200 Subject: [PATCH] Update README.org --- README.org | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index e350cec..fa76a5a 100644 --- a/README.org +++ b/README.org @@ -1,21 +1,45 @@ -* Worklog +#+TITLE: Worklog +#+AUTHOR: Riyyi +#+LANGUAGE: en +#+OPTIONS: toc:nil Register worklog entries to the Jira API. -* Download +** Getting started -** Clone +*** Clone #+BEGIN_SRC sh $ git clone https://github.com/riyyi/worklog #+END_SRC -* Build instructions +*** Build instructions #+BEGIN_SRC sh $ go build #+END_SRC -* Gitignore +*** Usage -git update-index --assume-unchanged src/secrets.go +#+BEGIN_SRC sh +$ worklog --help +worklog - process a worklog file + +Usage: worklog [--decl MONTH] [--process] [--issues] FILE + +Positional arguments: + FILE the file to perform the action on + +Options: + --decl MONTH, -d MONTH + Generate travel declaration table + --process, -p Process specified file and call Jira API + --issues, -i Store issues in specified file + --help, -h display this help and exit +#+END_SRC + +** Gitignore + +#+BEGIN_SRC sh +$ git update-index --assume-unchanged src/secrets.go +#+END_SRC