/clockify-cli

Primary LanguageGoApache License 2.0Apache-2.0

clockify-cli

A simple cli to manage your time entries on Clockify from terminal

Features

  • List time entries from a day
    • List in progress entry
  • Report time entries using a date range
    • Inform date range as parameters
    • "auto filter" for last month
    • "auto filter" for this month
  • Start a new time entry
    • Using a GitHub issue
    • Using a Trello card
    • Cloning last time entry
    • Ask input interactively
  • Stop the last entry
  • List workspace projects
  • Link a Clockify Project with Github:Issues repository
  • Link a Clockify Project with Trello board
  • List Clockify Workspaces
  • List Clockify Workspaces Users
  • List Clockify Tags
  • Edit time entry
  • Configuration management
    • Initialize configuration
    • Update individual configuration
    • Show current configuration

Help

Allow to integrate with Clockify through terminal

Usage:
  clockify-cli [command]

Available Commands:
  clone       Copy a time entry and starts it (use "last" to copy the last one)
  config      Manages configuration file parameters
  edit        Edit a time entry, use id "current" to apply to time entry in progress
  help        Help about any command
  in          Create a new time entry and starts it
  log         List the entries from a specific day
  out         Stops the last time entry
  project     Allow project aliasing and integration of a project with GitHub:Issues or Trello
  tags        List tags of workspace
  workspaces  List user's workspaces

Flags:
      --config string         config file (default is $HOME/.clockify-cli.yaml)
      --debug                 show debug log (defaults to env $CLOCKIFY_DEBUG)
      --github-token string   gitHub's token (defaults to env $CLOCKIFY_GITHUB_TOKEN)
  -h, --help                  help for clockify-cli
  -i, --interactive           show interactive log (defaults to env $CLOCKIFY_INTERACTIVE)
  -t, --token string          clockify's token (defaults to env $CLOCKIFY_TOKEN)
                              	Can be generated here: https://clockify.me/user/settings#generateApiKeyBtn
      --trello-token string   trello's token (defaults to env $CLOCKIFY_TRELLO_TOKEN)
  -u, --user-id string        user id from the token (defaults to env $CLOCKIFY_USER_ID)
  -w, --workspace string      workspace to be used (defaults to env $CLOCKIFY_WROKSPACE)

Use "clockify-cli [command] --help" for more information about a command.