Skip to content

Instantly share code, notes, and snippets.

@chaosoldier
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaosoldier/2fdd9e938b2c342834a7 to your computer and use it in GitHub Desktop.
Save chaosoldier/2fdd9e938b2c342834a7 to your computer and use it in GitHub Desktop.
drobertadams/toggl-cliをMacに導入する方法 ref: http://qiita.com/vicugna/items/31904bc143c60351684a
brew install python --framework
pip install iso8601
pip install pytz
pip install requests
pip install python-dateutil
cd /Applications/
git clone https://github.com/drobertadams/toggl-cli.git
alias toggl="/Applications/toggl-cli/toggl.py"
Usage: toggl [OPTIONS] [ACTION]
Options:
-h, --help show this help message and exit
-q, --quiet don't print anything
-v, --verbose print additional info
-d, --debug print debugging output
Actions:
add DESCR [@PROJECT] START_DATETIME ('d'DURATION | END_DATETIME)
creates a completed time entry
clients
lists all clients
continue DESCR
restarts the given entry
ls
list recent time entries
now
print what you're working on now
projects
lists all projects
rm ID
delete a time entry by id
start DESCR [@PROJECT] [DATETIME]
starts a new entry
stop [DATETIME]
stops the current entry
www
visits toggl.com
DURATION = [[Hours:]Minutes:]Seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment