doug-1.8.0 is not a library.
Visit the last successful build:
doug-1.10.0
Doug
A time tracking command-line utility
Why?
To have a time tracker that's not inhibited by slow language startup times.
Install
brew install getdoug/doug/doug
cargo install doug
Bash completions
doug generate-completions --shell bash > $(brew --prefix)/etc/bash_completion.d/doug.bash
Usage
USAGE:
doug <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
start Track new or existing project
status Display elapsed time, start time, and running project name
stop Stop any running projects
cancel Stop running project and remove most recent time interval
restart Track last running project
log Display time intervals across all projects
report Display aggregate time from projects
amend Change name of currently running project
edit Edit last frame or currently running frame
delete Delete all intervals for project
start
Track new or existing project
USAGE:
doug start <project>
FLAGS:
-h, --help Prints help information
ARGS:
<project> project to track
status
Display elapsed time, start time, and running project name
USAGE:
doug status [FLAGS]
FLAGS:
-h, --help Prints help information
-s, --simple Print running project name or nothing if there isn't a running project.
stop
Stop any running projects
USAGE:
doug stop
FLAGS:
-h, --help Prints help information
cancel
Stop running project and remove most recent time interval
USAGE:
doug cancel
FLAGS:
-h, --help Prints help information
restart
Track last running project
USAGE:
doug restart
FLAGS:
-h, --help Prints help information
log
Display time intervals across all projects
USAGE:
doug log
FLAGS:
-h, --help Prints help information
report
Display aggregate time from projects
USAGE:
doug report [FLAGS] [OPTIONS]
FLAGS:
-d, --day Limit report to past day. Use multiple to increase interval.
-h, --help Prints help information
-m, --month Limit report to past month. Use multiple to increase interval.
-w, --week Limit report to past week. Use multiple to increase interval.
-y, --year Limit report to past year. Use multiple to increase interval.
OPTIONS:
-f, --from <from> Date when report should start (e.g. 2018-1-1)
-t, --to <to> Date when report should end (e.g. 2018-1-20)
amend
Change name of currently running project
USAGE:
doug amend <project>
FLAGS:
-h, --help Prints help information
ARGS:
<project> new project name
edit
Edit last frame or currently running frame
USAGE:
doug edit [repo]
FLAGS:
-h, --help Prints help information
ARGS:
<repo> project to track
delete
Delete all intervals for project
USAGE:
doug delete <project>
FLAGS:
-h, --help Prints help information
ARGS:
<project> new project name