Stops the running time entry
Stops the running time entry.
If no value is set on --when
, then current time will be used.
When setting the end time you can use any of the following formats to set it:
Use clockify-cli edit current
to edit any properties before ending it.
Use clockify-cli report --help
for more information about printing time entries.
clockify-cli out [flags]
# stop running time entry with current time
$ clockify-cli out --md
ID: `62af6b0f4ebb4f143c94880e`
Billable: `yes`
Locked: `no`
Project: Clockify Cli (`621948458cb9606d934ebb1c`)
Task: Out Command (`62af66454ebb4f143c948263`)
Interval: `2022-06-19 18:29:32` until `2022-06-19 18:52:13`
Description:
> Adding examples
Tags:
* Development (`62ae28b72518aa18da2acb49`)
# clone last and stopping it in 10 minutes
$ clockify-cli clone last -i=0 -d 'More examples' -q
62af70d849445270d7c09fbd
$ clockify-cli out --when +10m --md
ID: `62af70d849445270d7c09fbd`
Billable: `yes`
Locked: `no`
Project: Clockify Cli (`621948458cb9606d934ebb1c`)
Task: Out Command (`62af666349445270d7c09285`)
Interval: `2022-06-19 18:54:12` until `2022-06-19 19:08:26`
Description:
> More examples
Tags:
* Development (`62ae28b72518aa18da2acb49`)
-v, --csv print as CSV
-F, --duration-float prints only the sum of duration as a "float hour"
-D, --duration-formatted prints only the sum of duration formatted
-f, --format string golang text/template format to be applied on each time entry
-h, --help help for out
-j, --json print as JSON
-m, --md print as Markdown
-q, --quiet print only ID
--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")
--when string when the entry should be closed, if not informed will use current time (default "2024-06-15 17:21:50")
--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