@togglhq/cli 1.8.3 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-DPg8sMeD.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Toggl CLI for Toggl 2.0 API operations.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@toggl/cli-core": "workspace:^",
|
|
58
58
|
"@toggl/operations": "workspace:^",
|
|
59
|
-
"@toggl/queries": "2.
|
|
59
|
+
"@toggl/queries": "2.2.9",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|
|
@@ -10,6 +10,18 @@ List time entries for a date range:
|
|
|
10
10
|
toggl --json time-entries list --date-from 2026-04-01 --date-to 2026-04-07
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
Log a completed activity. When `--payload-type` is omitted, the CLI defaults to `activity`:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
toggl --json time-entries create --task-id <task-id> --payload-start 2026-04-01T09:00:00Z --payload-duration 3600
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Log a completed break:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
toggl --json time-entries create --task-id <task-id> --payload-start 2026-04-01T10:00:00Z --payload-duration 900 --payload-type break
|
|
23
|
+
```
|
|
24
|
+
|
|
13
25
|
Start tracking a task. When `--type` is omitted, the CLI defaults to `activity`:
|
|
14
26
|
|
|
15
27
|
```bash
|