Skip to content

v0.1.0

Compare
Choose a tag to compare
@lucassabreu lucassabreu released this 09 Apr 10:46
· 355 commits to main since this release

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