Usage¶
rdial¶
Minimal time tracking for maximal benefit.
rdial [OPTIONS] COMMAND [ARGS]...
Options
-
--version¶ Show the version and exit.
-
-d,--directory<directory>¶ Directory to read/write to.
-
--backup,--no-backup¶ Do not write data file backups.
-
--cache,--no-cache¶ Do not write cache files.
-
--config<config>¶ File to read configuration data from.
-
-i,--interactive,--no-interactive¶ Support interactive message editing.
-
--colour,--no-colour¶ Output colourised informational text.
Environment variables
-
RDIAL_COLOUR Provide a default for
--colour
bug-data¶
fsck¶
Check storage consistency.
rdial fsck [OPTIONS]
Options
-
-p,--progress,-q,--no-progress¶ Display progress bar.
ledger¶
Generate ledger compatible data file.
rdial ledger [OPTIONS] [TASK]
Options
-
-x,--from-dir¶ Use directory name as task name.
-
-d,--duration<duration>¶ Filter events for specified time period.
- Options
day|week|month|year|all
-
-r,--rate<rate>¶ Hourly rate for task output.
Arguments
-
TASK¶ Optional argument
Environment variables
-
RDIAL_TASK Provide a default for
TASK
-
RDIAL_RATE Provide a default for
-r
report¶
Report time tracking data.
rdial report [OPTIONS] [TASK]
Options
-
-x,--from-dir¶ Use directory name as task name.
-
--stats¶ Display database statistics.
-
-d,--duration<duration>¶ Filter events for specified time period.
- Options
day|week|month|year|all
-
-s,--sort<sort>¶ Field to sort by.
- Options
task|time
-
-r,--reverse,--no-reverse¶ Reverse sort order.
-
--style<style>¶ Table output style.
- Options
simple|plain|grid|fancy_grid|github|pipe|orgtbl|jira|presto|psql|rst|mediawiki|moinmoin|youtrack|html|latex|latex_raw|latex_booktabs|tsv|textile
Arguments
-
TASK¶ Optional argument
Environment variables
-
RDIAL_TASK Provide a default for
TASK
-
RDIAL_SORT Provide a default for
-s
-
RDIAL_REVERSE Provide a default for
-r
run¶
Run command with timer.
rdial run [OPTIONS] [TASK]
Options
-
-x,--from-dir¶ Use directory name as task name.
-
-n,--new¶ Start a new task.
-
-t,--time<time>¶ Set start time.
-
-F,--file<fname>¶ Read closing message from file.
-
-m,--message<message>¶ Closing message.
-
-c,--command<command>¶ Command to run.
Arguments
-
TASK¶ Optional argument
Environment variables
-
RDIAL_TASK Provide a default for
TASK
start¶
Start task.
rdial start [OPTIONS] [TASK]
Options
-
-x,--from-dir¶ Use directory name as task name.
-
-c,--continue¶ Restart previous task.
-
-n,--new¶ Start a new task.
-
-t,--time<time>¶ Set start time.
Arguments
-
TASK¶ Optional argument
Environment variables
-
RDIAL_TASK Provide a default for
TASK
stop¶
Stop task.
rdial stop [OPTIONS]
Options
-
-F,--file<fname>¶ Read closing message from file.
-
-m,--message<message>¶ Closing message.
-
--amend¶ Amend previous stop entry.
switch¶
Complete last task and start new one.
rdial switch [OPTIONS] [TASK]
Options
-
-x,--from-dir¶ Use directory name as task name.
-
-n,--new¶ Start a new task.
-
-t,--time<time>¶ Set start time.
-
-F,--file<fname>¶ Read closing message from file.
-
-m,--message<message>¶ Closing message.
-
--amend¶ Amend previous stop entry.
Arguments
-
TASK¶ Optional argument
Environment variables
-
RDIAL_TASK Provide a default for
TASK
timeclock¶
Generate ledger compatible timeclock file.
rdial timeclock [OPTIONS] [TASK]
Options
-
-x,--from-dir¶ Use directory name as task name.
-
-d,--duration<duration>¶ Filter events for specified time period.
- Options
day|week|month|year|all
Arguments
-
TASK¶ Optional argument
Environment variables
-
RDIAL_TASK Provide a default for
TASK