togglog-cli
v1.0.0
Published
Command line utility to log time entries and more using toggl
Downloads
1
Readme
Togglog Cli
Command line utility to log time entries and more using toggl
Installation
npm i togglog-cli -g
Before using togglog the TOGGL_API_TOKEN environment variable has to be set to a Toggl API token. You can get your token here.
Usage
togglog <command>
Commands:
togglog log <project> <duration> Logs a time entry
[description]
togglog projects <command> Access projects [aliases: pr]
togglog time <command> Access time entries
togglog workspaces <command> Access worspaces [aliases: ws]
Options:
--version Show version number [boolean]
--help Show help [boolean]
Log Time
togglog log <project> <duration> [description]
Positionals:
project Name or partial name of the project [required]
duration Duration in format hh:mm:ss or hh:mm or mm. To log 2 hours 2:00
or 120 can be provided as duration [required]
description Textual description of what you did
Example
togglog log Test 1:45 "Implement API client"