aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-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