clockify-cli mark-invoiced

clockify-cli mark-invoiced

Marks times entries as invoiced

Synopsis

Marks times entries as invoiced

Use clockify-cli report --help for more information about printing time entries.

clockify-cli mark-invoiced { <time-entry-id> | last | current }... [flags]

Examples

# when the workspace does not allow invoicing
$ clockify-cli mark-invoiced 62b49641f4b27f4ed7d20e75
Forbidden (code: 403)

# set the running time entry as invoiced
$ clockify-cli mark-invoiced current --quiet
62b49641f4b27f4ed7d20e75

# setting multiple time entries as invoiced
$ clockify-cli mark-invoiced 62b5b51085815e619d7ae18d 62b5d55185815e619d7af928 --quiet
62b5b51085815e619d7ae18d
62b5d55185815e619d7af928

Options

  -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 mark-invoiced
  -j, --json                 print as JSON
  -m, --md                   print as Markdown
  -q, --quiet                print only ID
  -S, --with-totals          add a totals line at the end

Options inherited from parent commands

      --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

SEE ALSO

  • clockify-cli - Allow to integrate with Clockify through terminal
Auto generated by spf13/cobra on 29-Mar-2024