@togglhq/cli 1.11.64 → 1.11.66
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/README.md +1 -19
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-C5GYCsU3.js → program-DfBQ3e83.js} +987 -960
- package/build/program.js +1 -1
- package/package.json +2 -2
- package/skills/toggl-cli/SKILL.md +2 -3
- package/skills/toggl-cli/reference/command-contract.md +1 -6
- package/skills/toggl-cli/reference/focus-concepts.md +1 -9
- package/skills/toggl-cli/reference/troubleshooting.md +1 -1
- package/skills/toggl-cli/workflows/common-workflows.md +0 -12
- package/skills/toggl-cli/reference/time-blocks.md +0 -43
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ Many endpoints use two segments (`toggl tasks list`). Some use nested groups, in
|
|
|
81
81
|
- **`toggl organization …`** — organization APIs (not `toggl org …`; there is no `org` top-level command). Examples: `toggl organization invitations list`, `toggl organization members get`, `toggl organization workspaces list`.
|
|
82
82
|
- **`toggl shared …`** — shared workspace/org data routed through `@toggl/queries` helpers (status, holidays, working hours, time off). Example: `toggl shared status get`.
|
|
83
83
|
|
|
84
|
-
Core resource groups still include `tasks`, `projects`, `time-
|
|
84
|
+
Core resource groups still include `tasks`, `projects`, `time-entries`, `statuses`, `users`, `tags`, `clients`, and others surfaced by the public command catalog. Some low-level endpoints are omitted from the CLI and MCP. Existing public command paths and operation IDs stay stable; use `toggl --help` and `toggl <group> --help` to explore what shipped.
|
|
85
85
|
|
|
86
86
|
**Typical entity commands:**
|
|
87
87
|
|
|
@@ -89,7 +89,6 @@ Core resource groups still include `tasks`, `projects`, `time-blocks`, `time-ent
|
|
|
89
89
|
| -------------- | -------------------------------------------------------- |
|
|
90
90
|
| `tasks` | `list` (alias `ls`), `get`, `create`, `update`, `delete` |
|
|
91
91
|
| `projects` | `list` (alias `ls`), `get`, `create`, `update`, `delete` |
|
|
92
|
-
| `time-blocks` | `list` (alias `ls`), `get`, `create`, `update`, `delete` |
|
|
93
92
|
| `time-entries` | `list` (alias `ls`), `start`, `stop` |
|
|
94
93
|
| `statuses` | `list` (alias `ls`) |
|
|
95
94
|
| `users` | `list` (alias `ls`) |
|
|
@@ -173,7 +172,6 @@ toggl tasks delete --task-id 12345 --dry-run
|
|
|
173
172
|
```bash
|
|
174
173
|
toggl tasks delete --task-id 12345 --yes
|
|
175
174
|
toggl projects delete --project-id 999 --yes
|
|
176
|
-
toggl time-blocks delete --task-id 12345 --time-block-id 67890 --yes
|
|
177
175
|
```
|
|
178
176
|
|
|
179
177
|
## Examples
|
|
@@ -223,22 +221,6 @@ toggl time-entries start --type break
|
|
|
223
221
|
toggl time-entries stop
|
|
224
222
|
```
|
|
225
223
|
|
|
226
|
-
**Time blocks**
|
|
227
|
-
|
|
228
|
-
```bash
|
|
229
|
-
# List scheduled blocks for a week
|
|
230
|
-
toggl time-blocks list --date-from 2025-01-01 --date-to 2025-01-07
|
|
231
|
-
|
|
232
|
-
# Create a time block
|
|
233
|
-
toggl time-blocks create --data '{
|
|
234
|
-
"task_id": 12345,
|
|
235
|
-
"payload": {"start": "2025-01-06T09:00:00Z", "end": "2025-01-06T11:00:00Z"}
|
|
236
|
-
}'
|
|
237
|
-
|
|
238
|
-
# Delete a time block
|
|
239
|
-
toggl time-blocks delete --task-id 12345 --time-block-id 67890 --yes
|
|
240
|
-
```
|
|
241
|
-
|
|
242
224
|
**Reference data**
|
|
243
225
|
|
|
244
226
|
```bash
|
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DfBQ3e83.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-DfBQ3e83.js";
|
|
2
2
|
export { createProgram };
|