Releases: lucassabreu/clockify-cli
Releases · lucassabreu/clockify-cli
v0.2.1
Fixed
clockify-cli reportparameter--fill-missing-dates, was not working
v0.2.0
Added
clockify-cli report --fill-missing-dateswhen 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
Added
api.Clientnow 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 reportwas not getting all pages from the period, implemented
support for pagination and to get "all pages" at once intoClient.Logand
Client.LogRange
Changed
- updated README, so it shows the
--helpoutput as it is now
v0.1.6
Fixed
- fixed bug after Clockify's API changed, where
userandprojectare not
automatically provided by the "time-entries" endpoint, unless sending
an extra parameterhydrated=true, anduseris not provided anymore, so
now we find it using the user id from the function filter
v0.1.5
Fixed
- fixed bug on the
logcommands, where the previews api url is not available
anymore, now usingv1/workspace/{workspace}/user/{user}/times-entries - spelling of some words fixed and improving some aspects of the code
Changed
go.modupdated
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. .nvimrcadded to provide spell check
v0.1.3
Changed
- Set
publishtotrueso it will be sent tosnapcraft
v0.1.2
Added
- Add release to snapcraft by the name
clockify-cli - Add comand
clockify-cli reportimplemented to generate bigger exports. CSV, JSON,
gofmtand table formats allowed in this command.
v0.1.1
Changed
- The list returned by the
logcommand will the sorted starting from the oldest
time entry.
v0.1.0
Added
- Add
goreleaserto manage binary and releases of the command clockify-cli inasks user about new entry information wheninteractiveis
enabled- Command
clockify-cli config initallows to start a fresh setup, creating a
configuration file - Command
clockify-cli config setupdates/creates one config key into the
config file clockify-cli incommands 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 outimplemented, it will close any pending time entry,
and show the last entry info when closing it with success - Command
clockify-cli in cloneimplemented, to allow creation of new time
entries based on existing ones, it also close pending ones, if any - Command
clockify-cli project listwas 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 variablesCLOCKIFY_TOKEN,
CLOCKIFY_WORKSPACEandCLOCKIFY_USER_IDinstead of using the command flags - Command
clockify-cli tagscreated, to list workspace tags - Command
clockify-cli inimplemented, 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 --debugoption to allow better understanding of the requests- Command
clockify-cli log in-progressimplemented, with options to format the
output, and in the TimeEntry format, instead of TimeEntryImpl - Command
clockify-cli logimplemented, with options to format the output,
will require the user for now - Package
dtocreated to hold all payload objects - Package
api.Clientto call Clockfy's API - Command
clockify-cli workspacescreated, with options to format the output - Command
clockify-cli workspaces userscreated, with options to format the
output to allow retriving the user's ID