From 7adfb75eae9085731dabe4fbe8a467f8c0147994 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sat, 20 Aug 2022 22:49:44 -0400 Subject: add summaries --- libexec/recit-add-entry | 3 ++- libexec/recit-add-project | 2 ++ libexec/recit-edit | 1 + libexec/recit-edit-entry | 1 + libexec/recit-entries | 2 +- libexec/recit-projects | 2 ++ libexec/recit-today | 1 + 7 files changed, 10 insertions(+), 2 deletions(-) (limited to 'libexec') diff --git a/libexec/recit-add-entry b/libexec/recit-add-entry index 603128a..93590e1 100755 --- a/libexec/recit-add-entry +++ b/libexec/recit-add-entry @@ -1,5 +1,6 @@ #!/usr/bin/env bash -# Usage: recit add-entry [time|"now"] "notes" (on 2nd argument opens $EDITOR) +# Usage: recit add-entry [-p project-name] [-t time|today|yesterday|tomorrow] [-m notes] +# Summary: Add entries, optionally for a project and/or a certain time set -e diff --git a/libexec/recit-add-project b/libexec/recit-add-project index 25627bc..aa60b9e 100755 --- a/libexec/recit-add-project +++ b/libexec/recit-add-project @@ -1,5 +1,7 @@ #!/usr/bin/env bash # Usage: recit add-project "notes" +# Summary: Add Project + # shellcheck source=/dev/null source lib/loader diff --git a/libexec/recit-edit b/libexec/recit-edit index f105bdc..cf3fc43 100755 --- a/libexec/recit-edit +++ b/libexec/recit-edit @@ -1,5 +1,6 @@ #!/usr/bin/env bash # Usage: recit edit +# Summary: Open DB in $EDITOR set -e diff --git a/libexec/recit-edit-entry b/libexec/recit-edit-entry index 0636bc6..47ca072 100755 --- a/libexec/recit-edit-entry +++ b/libexec/recit-edit-entry @@ -1,5 +1,6 @@ #!/usr/bin/env bash # Usage: recit edit-entry uuid +# Summary: Edit an entry given its UUID set -e diff --git a/libexec/recit-entries b/libexec/recit-entries index dd495d8..87fc8cb 100755 --- a/libexec/recit-entries +++ b/libexec/recit-entries @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Usage: recit entries [-p project-name] [-t time|today|yesterday|tomorrow] - +# Summary: Display entries, optionally for a project and/or a certain time set -xe # shellcheck source=/dev/null diff --git a/libexec/recit-projects b/libexec/recit-projects index efb323f..50aa485 100755 --- a/libexec/recit-projects +++ b/libexec/recit-projects @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Usage: recit projects +# Summary: List all Projects source lib/loader diff --git a/libexec/recit-today b/libexec/recit-today index a396e53..1c57797 100755 --- a/libexec/recit-today +++ b/libexec/recit-today @@ -1,4 +1,5 @@ #!/usr/bin/env bash # Usage: recit today +# Summary: Show all entries for today recit-entries -t today -- cgit v1.2.3