Skip to content

Releases: lucassabreu/clockify-cli

v0.1.5

08 Jan 15:27
Compare
Choose a tag to compare

Fixed

  • fixed bug on the log commands, where the previews api url is not available
    anymore, now using v1/workspace/{workspace}/user/{user}/times-entries
  • spelling of some words fixed and improving some aspects of the code

Changed

  • go.mod updated

Added

  • seamless support for query parameters using the interface QueryAppender
  • support for retrieving the current user of the token (v1/user) in the API client.
  • .nvimrc added to provide spell check

v0.1.3

05 Aug 12:20
Compare
Choose a tag to compare

Changed

  • Set publish to true so it will be sent to snapcraft

v0.1.2

02 Aug 23:32
Compare
Choose a tag to compare

Added

  • Add release to snapcraft by the name clockify-cli
  • Add comand clockify-cli report implemented to generate bigger exports. CSV, JSON,
    gofmt and table formats allowed in this command.

v0.1.1

10 Jun 12:00
75f8b35
Compare
Choose a tag to compare

Changed

  • The list returned by the log command will the sorted starting from the oldest
    time entry.

v0.1.0

09 Apr 10:46
Compare
Choose a tag to compare

Added

  • Add goreleaser to manage binary and releases of the command
  • clockify-cli in asks user about new entry information when interactive is
    enabled
  • Command clockify-cli config init allows to start a fresh setup, creating a
    configuration file
  • Command clockify-cli config set updates/creates one config key into the
    config file
  • clockify-cli in commands now allow more flexible time format inputs, can be:
    hh:mm, hh:mm:ss, yyyy-mm-dd hh:mm or yyyy-mm-dd hh:mm:ss
  • Command clockify-cli out implemented, it will close any pending time entry,
    and show the last entry info when closing it with success
  • Command clockify-cli in clone implemented, to allow creation of new time
    entries based on existing ones, it also close pending ones, if any
  • Command clockify-cli project list was implemented, it allows to list the
    projects of a worspace, format the return to table, json, and just id. Helps
    with script automatation
  • Using https://github.com/spf13/viper to link enviroment variables and config
    files with the global flags. User can set variables CLOCKIFY_TOKEN,
    CLOCKIFY_WORKSPACE and CLOCKIFY_USER_ID instead of using the command flags
  • Command clockify-cli tags created, to list workspace tags
  • Command clockify-cli in implemented, to allow creation of new time entries,
    it also close pending ones, if any
  • Command clockify-cli edit <id> implemented, to allow updates on time entries,
    including the in-progress one using the id: "current
  • --debug option to allow better understanding of the requests
  • Command clockify-cli log in-progress implemented, with options to format the
    output, and in the TimeEntry format, instead of TimeEntryImpl
  • Command clockify-cli log implemented, with options to format the output,
    will require the user for now
  • Package dto created to hold all payload objects
  • Package api.Client to call Clockfy's API
  • Command clockify-cli workspaces created, with options to format the output
  • Command clockify-cli workspaces users created, with options to format the
    output to allow retriving the user's ID