Skip to content

Releases: lucassabreu/clockify-cli

v0.2.1

02 Mar 19:00

Choose a tag to compare

Fixed

  • clockify-cli report parameter --fill-missing-dates, was not working

v0.2.0

02 Mar 18:55
e34801d

Choose a tag to compare

Added

  • clockify-cli report --fill-missing-dates when this parameters is set, if there
    are dates from the range informed, will be created "stub" entries to better show
    that are missing entries.

v0.1.7

03 Feb 14:39
03264c3

Choose a tag to compare

Added

  • api.Client now supports getting one specific time entry from a workspace,
    without the need to paginate through all time entries to find it (GetTimeEntry
    function).

Fixed

  • clockify-cli report was not getting all pages from the period, implemented
    support for pagination and to get "all pages" at once into Client.Log and
    Client.LogRange

Changed

  • updated README, so it shows the --help output as it is now

v0.1.6

03 Feb 12:58
19100ac

Choose a tag to compare

Fixed

  • fixed bug after Clockify's API changed, where user and project are not
    automatically provided by the "time-entries" endpoint, unless sending
    an extra parameter hydrated=true, and user is not provided anymore, so
    now we find it using the user id from the function filter

v0.1.5

08 Jan 15:27

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

Choose a tag to compare

Changed

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

v0.1.2

02 Aug 23:32

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

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

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