@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 +1 -1
- package/package.json +2 -2
- package/template/README.md +23 -6
- package/template/src/index.ts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@project-ajax/create",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Initialize a new Notion
|
|
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
|
},
|
package/template/README.md
CHANGED
|
@@ -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
|
|
package/template/src/index.ts
CHANGED