1.0.0 • Published 5 years ago

togglog-cli v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Togglog Cli

Command line utility to log time entries and more using toggl

Heavy WIP

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"