From c6cbb163739692a0f50e4aea39a753517a6f6aca Mon Sep 17 00:00:00 2001 From: Abraham Toriz Date: Sat, 3 Jul 2021 17:02:34 -0500 Subject: [PATCH] readme --- README.md | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4dac15d..b405e32 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,20 @@ where the options are configurable (see configure) -m, --move Move to another sheet +You can remove an entry with + + t kill --id 123 + +or an entire timesheet with + + t kill somesheet + +check bellow to see how to get the ids. + ### Displaying entries -At any point in time you can check your time spent in the current timesheet with +At any point in time you can check your time spent in the current or other +timesheet with: t display [options] [SHEET | all | full] @@ -86,14 +97,32 @@ an existing one, then starting an activity: which will also create the timesheet if it doesn't exist. +List all existing timesheets using + + t list [all] + +(defaults to not showing archive timesheets with names preceded by an +underscore) + ### Advanced management -Finally you can arvhive entries from a timesheet using: +You can archive entries from a timesheet using: - t archive + t archive [--start DATE] [--end DATE] [SHEET] -which will move them to a hidden timesheet named `_[SHEET]` (the name of the -timesheet preceded by an underscore). +which defaults to archiving all entries in the current sheet, or you can be more +specific using these options: + + -s, --start Include entries that start on this date or later + -e, --end Include entries that start on this date or earlier + -g, --grep Include entries where the note matches this regexp. + +This subcommand will move the selected entries to a hidden timesheet named +`_[SHEET]` (the name of the timesheet preceded by an underscore). + +It is possible to access directly the sqlite database using + + t backend ## Specifying times