@@ -81,14 +81,17 @@ Use this command to download a time report from Toggl in CSV format:
8181
8282` ` ` bash
8383$ compiler-admin time download -h
84- usage: compiler-admin time download [-h] [--start YYYY-MM-DD] [--end YYYY-MM-DD] [--output OUTPUT]
85- [--client CLIENT_ID] [--project PROJECT_ID] [--task TASK_ID] [--user USER_ID]
84+ usage: compiler-admin time download [-h] [--start YYYY-MM-DD] [--end YYYY-MM-DD]
85+ [--output OUTPUT] [--all] [--client CLIENT_ID]
86+ [--project PROJECT_ID] [--task TASK_ID]
87+ [--user USER_ID]
8688
8789options:
8890 -h, --help show this help message and exit
8991 --start YYYY-MM-DD The start date of the reporting period. Defaults to the beginning of the prior month.
9092 --end YYYY-MM-DD The end date of the reporting period. Defaults to the end of the prior month.
91- --output OUTPUT The path to the file where converted data should be written. Defaults to stdout.
93+ --output OUTPUT The path to the file where downloaded data should be written. Defaults to $TOGGL_DATA or stdout.
94+ --all Download all time entries. The default is to download only billable time entries.
9295 --client CLIENT_ID An ID for a Toggl Client to filter for in reports. Can be supplied more than once.
9396 --project PROJECT_ID An ID for a Toggl Project to filter for in reports. Can be supplied more than once.
9497 --task TASK_ID An ID for a Toggl Project Task to filter for in reports. Can be supplied more than once.
@@ -101,13 +104,18 @@ With a CSV exported from either Harvest or Toggl, use this command to convert to
101104
102105` ` ` bash
103106$ compiler-admin time convert -h
104- usage: compiler-admin time convert [-h] [--input INPUT] [--output OUTPUT] [--client CLIENT]
107+ usage: compiler-admin time convert [-h] [--input INPUT] [--output OUTPUT] [--from {harvest,toggl}]
108+ [--to {harvest,justworks,toggl}] [--client CLIENT]
105109
106110options:
107- -h, --help show this help message and exit
108- --input INPUT The path to the source data for conversion. Defaults to stdin.
109- --output OUTPUT The path to the file where converted data should be written. Defaults to stdout.
110- --client CLIENT The name of the client to use in converted data.
111+ -h, --help show this help message and exit
112+ --input INPUT The path to the source data for conversion. Defaults to $TOGGL_DATA or stdin.
113+ --output OUTPUT The path to the file where converted data should be written. Defaults to $HARVEST_DATA or stdout.
114+ --from {harvest,toggl}
115+ The format of the source data. Defaults to ' toggl' .
116+ --to {harvest,justworks,toggl}
117+ The format of the converted data. Defaults to ' harvest' .
118+ --client CLIENT The name of the client to use in converted data.
111119` ` `
112120
113121# # Working with users
0 commit comments