List all time entries created yesterday
List all time entries created yesterday
To be able to use names of resources instead of its IDs you must enable the feature ‘allow-name-for-id’, to do that run the command (the commands may take longer to look for the resource id):
$ clockify-cli config set allow-name-for-id true
Use clockify-cli report --help
for more information about printing time entries.
clockify-cli report yesterday [flags]
--billable Will filter time entries that are billable
-c, --client string Will filter projects from this client
-v, --csv print as CSV
-d, --description string will filter time entries that contains this on the description field
-F, --duration-float prints only the sum of duration as a "float hour"
-D, --duration-formatted prints only the sum of duration formatted
-e, --fill-missing-dates add empty lines for dates without time entries
-f, --format string golang text/template format to be applied on each time entry
-h, --help help for yesterday
-j, --json print as JSON
-m, --md print as Markdown
--not-billable Will filter time entries that are not billable
-p, --project strings Will filter time entries using this project
-q, --quiet print only ID
-T, --tag strings Will filter time entries using these tags
--tz string time zone to be used on the time entries can be 'Local' to use the systems timezone, UTC or valid TZ identifier from the IANA TZ database https://en.wikipedia.org/wiki/List_of_tz_database_time_zones (default "Local")
-S, --with-totals add a totals line at the end
--allow-name-for-id allow use of project/client/tag's name when id is asked
-i, --interactive will prompt you to confirm/complement commands input before executing the action
-L, --interactive-page-size int will set how many items will be shown on interactive mode (default 7)
--log-level string { none | debug | info } set log level (default "none")
-t, --token string clockify's token
Can be generated here: https://clockify.me/user/settings#generateApiKeyBtn
-u, --user-id string user id from the token
-w, --workspace string workspace to be used