togglog-cli

    1.0.0 • Public • Published

    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"

    Install

    npm i togglog-cli

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    11.6 kB

    Total Files

    19

    Last publish

    Collaborators

    • saintedlama