aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-08-21 02:49:44 +0000
committerJulio Capote <jcapote@gmail.com>2022-08-21 02:49:44 +0000
commit7adfb75eae9085731dabe4fbe8a467f8c0147994 (patch)
treea85ef2080b2cad62279f0181f7e4cffa6316b9c5
parentbf922c47dedde37e3d97c4bf82f38e7d769fa267 (diff)
downloadrecit-7adfb75eae9085731dabe4fbe8a467f8c0147994.tar.gz
add summaries
Diffstat (limited to '')
-rwxr-xr-xlibexec/recit-add-entry3
-rwxr-xr-xlibexec/recit-add-project2
-rwxr-xr-xlibexec/recit-edit1
-rwxr-xr-xlibexec/recit-edit-entry1
-rwxr-xr-xlibexec/recit-entries2
-rwxr-xr-xlibexec/recit-projects2
-rwxr-xr-xlibexec/recit-today1
7 files changed, 10 insertions, 2 deletions
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