Skip to content

compiler-admin time

compiler-admin time

Work with Compiler time entries.

Usage:

compiler-admin time [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

Subcommands

  • convert: Convert a time report from one format into another.
  • download: Download a Toggl time report in CSV format.
  • lock: Lock Toggl time entries.
  • verify: Verify time entry CSV files.

compiler-admin time convert

Convert a time report from one format into another.

Usage:

compiler-admin time convert [OPTIONS]

Options:

  --input TEXT                    The path to the source data for conversion.
                                  Defaults to $TOGGL_DATA or stdin.
  --output TEXT                   The path to the file where converted data
                                  should be written. Defaults to $HARVEST_DATA
                                  or stdout.
  --from [harvest|toggl]          The format of the source data.  [default:
                                  toggl]
  --to [harvest|justworks|toggl]  The format of the converted data.  [default:
                                  harvest]
  --client TEXT                   The name of the client to use in converted
                                  data.
  --help                          Show this message and exit.

compiler-admin time download

Download a Toggl time report in CSV format.

Usage:

compiler-admin time download [OPTIONS]

Options:

  --start YYYY-MM-DD        The start date of the reporting period. Defaults
                            to the beginning of the prior month.
  --end YYYY-MM-DD          The end date of the reporting period. Defaults to
                            the end of the prior month.
  --output TEXT             The path to the file where downloaded data should
                            be written. Defaults to a path calculated from the
                            date range.
  --all                     Download all time entries. The default is to
                            download only billable time entries.
  -c, --client CLIENT_ID    An ID for a Toggl Client to filter for in reports.
                            Can be supplied more than once.
  -p, --project PROJECT_ID  An ID for a Toggl Project to filter for in
                            reports. Can be supplied more than once.
  -t, --task TASK_ID        An ID for a Toggl Project Task to filter for in
                            reports. Can be supplied more than once.
  -u, --user USER_ID        An ID for a Toggl User to filter for in reports.
                            Can be supplied more than once.
  --help                    Show this message and exit.

compiler-admin time lock

Lock Toggl time entries.

Usage:

compiler-admin time lock [OPTIONS]

Options:

  --date TEXT  The date to lock time entries, formatted as YYYY-MM-DD.
               Defaults to the last day of the previous month.
  --help       Show this message and exit.

compiler-admin time verify

Verify time entry CSV files.

Usage:

compiler-admin time verify [OPTIONS] [FILES]...

Options:

  --help  Show this message and exit.