@krodak/clickup-cli 1.19.4 → 1.20.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "clickup-cli",
3
3
  "description": "ClickUp CLI skills for managing tasks, sprints, comments, checklists, custom fields, tags, and time tracking via the cup command",
4
- "version": "1.19.4",
4
+ "version": "1.20.0",
5
5
  "author": {
6
6
  "name": "Krzysztof Rodak"
7
7
  },
package/README.md CHANGED
@@ -66,6 +66,7 @@ You need Node 22+ and a ClickUp personal API token (`pk_...` from [ClickUp Setti
66
66
  ```bash
67
67
  npm install -g @krodak/clickup-cli
68
68
  cup init
69
+ cup auth # verify setup
69
70
  ```
70
71
 
71
72
  </details>
@@ -77,6 +78,7 @@ cup init
77
78
  brew tap krodak/tap
78
79
  brew install clickup-cli
79
80
  cup init
81
+ cup auth # verify setup
80
82
  ```
81
83
 
82
84
  </details>
@@ -226,6 +228,23 @@ Environment variables override config file values:
226
228
 
227
229
  When both `CU_API_TOKEN` and `CU_TEAM_ID` are set, the config file is not required. Useful for CI/CD and containerized agents.
228
230
 
231
+ ```bash
232
+ cup auth # verify setup
233
+ ```
234
+
235
+ ### Non-interactive setup
236
+
237
+ For CI, scripts, and AI agents, you can skip the interactive prompts:
238
+
239
+ ```bash
240
+ # Write config directly
241
+ cup init --token pk_YOUR_TOKEN --team YOUR_TEAM_ID
242
+
243
+ # Or use environment variables (no config file needed)
244
+ export CU_API_TOKEN=pk_YOUR_TOKEN
245
+ export CU_TEAM_ID=YOUR_TEAM_ID
246
+ ```
247
+
229
248
  ## Troubleshooting
230
249
 
231
250
  **"No config file found"** - Run `cup init` to set up your API token and workspace.