@project-ajax/create 0.0.36 → 0.0.37

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @project-ajax/create
2
2
 
3
- A CLI for creating new Project Ajax workers projects.
3
+ A CLI for creating new Notion Workers projects.
4
4
 
5
5
  ## Usage
6
6
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@project-ajax/create",
3
- "version": "0.0.36",
4
- "description": "Initialize a new Notion Project Ajax extensions repo.",
3
+ "version": "0.0.37",
4
+ "description": "Initialize a new Notion Workers extensions repo.",
5
5
  "bin": {
6
6
  "create-ajax": "dist/index.js"
7
7
  },
@@ -264,6 +264,29 @@ Build and upload your worker bundle:
264
264
  npx workers deploy
265
265
  ```
266
266
 
267
+ ### Output format
268
+ Some commands support alternate output formats. When supported, these flags
269
+ are mutually exclusive:
270
+
271
+ - `--plain` for tab-separated output (default when stdout is piped)
272
+ - `--json` for JSON output
273
+ - `--human` for human-friendly output (default when stdout is a TTY)
274
+
275
+ List commands currently support these flags.
276
+
277
+ ```shell
278
+ npx workers list --plain
279
+ npx workers list --json
280
+ npx workers list --human
281
+ ```
282
+
283
+ ### `npx workers list`
284
+ List workers in the active space:
285
+
286
+ ```shell
287
+ npx workers list
288
+ ```
289
+
267
290
  ### `npx workers exec`
268
291
  Run a sync or tool capability:
269
292
 
@@ -340,12 +363,6 @@ List recent runs:
340
363
  npx workers runs list
341
364
  ```
342
365
 
343
- Use `--plain` for machine-readable tab-separated output:
344
-
345
- ```shell
346
- npx workers runs list --plain
347
- ```
348
-
349
366
  ### `npx workers runs logs`
350
367
  Fetch logs for a run:
351
368
 
@@ -12,7 +12,7 @@ const projectName = "Project 1";
12
12
  const sampleTasks = [
13
13
  {
14
14
  id: "task-1",
15
- title: "Welcome to Project Ajax",
15
+ title: "Welcome to Notion Workers",
16
16
  status: "Completed",
17
17
  description: "This is a simple hello world example",
18
18
  projectId,