apify-cli 0.21.0-beta.9 → 0.21.0-beta.91
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/CHANGELOG.md +41 -1
- package/README.md +631 -74
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/actor/get-input.js +1 -6
- package/dist/commands/actor/get-input.js.map +1 -1
- package/dist/commands/actor/get-value.js +7 -17
- package/dist/commands/actor/get-value.js.map +1 -1
- package/dist/commands/actor/index.js +1 -6
- package/dist/commands/actor/index.js.map +1 -1
- package/dist/commands/actor/push-data.d.ts.map +1 -1
- package/dist/commands/actor/push-data.js +20 -24
- package/dist/commands/actor/push-data.js.map +1 -1
- package/dist/commands/actor/set-value.js +27 -50
- package/dist/commands/actor/set-value.js.map +1 -1
- package/dist/commands/actors/build.d.ts +4 -0
- package/dist/commands/actors/build.d.ts.map +1 -0
- package/dist/commands/actors/build.js +4 -0
- package/dist/commands/actors/build.js.map +1 -0
- package/dist/commands/actors/call.d.ts +30 -0
- package/dist/commands/actors/call.d.ts.map +1 -0
- package/dist/commands/actors/call.js +221 -0
- package/dist/commands/actors/call.js.map +1 -0
- package/dist/commands/actors/index.js +1 -6
- package/dist/commands/actors/index.js.map +1 -1
- package/dist/commands/actors/info.d.ts +22 -0
- package/dist/commands/actors/info.d.ts.map +1 -0
- package/dist/commands/actors/info.js +201 -0
- package/dist/commands/actors/info.js.map +1 -0
- package/dist/commands/actors/ls.d.ts +15 -0
- package/dist/commands/actors/ls.d.ts.map +1 -0
- package/dist/commands/actors/ls.js +224 -0
- package/dist/commands/actors/ls.js.map +1 -0
- package/dist/commands/actors/pull.d.ts +13 -0
- package/dist/commands/actors/pull.d.ts.map +1 -0
- package/dist/commands/actors/pull.js +151 -0
- package/dist/commands/actors/pull.js.map +1 -0
- package/dist/commands/actors/push.d.ts +18 -0
- package/dist/commands/actors/push.d.ts.map +1 -0
- package/dist/commands/actors/push.js +306 -0
- package/dist/commands/actors/push.js.map +1 -0
- package/dist/commands/actors/rm.js +7 -17
- package/dist/commands/actors/rm.js.map +1 -1
- package/dist/commands/actors/start.d.ts +18 -0
- package/dist/commands/actors/start.d.ts.map +1 -0
- package/dist/commands/actors/start.js +124 -0
- package/dist/commands/actors/start.js.map +1 -0
- package/dist/commands/builds/create.d.ts +3 -1
- package/dist/commands/builds/create.d.ts.map +1 -1
- package/dist/commands/builds/create.js +35 -37
- package/dist/commands/builds/create.js.map +1 -1
- package/dist/commands/builds/index.js +1 -6
- package/dist/commands/builds/index.js.map +1 -1
- package/dist/commands/builds/info.js +11 -26
- package/dist/commands/builds/info.js.map +1 -1
- package/dist/commands/builds/log.d.ts.map +1 -1
- package/dist/commands/builds/log.js +12 -19
- package/dist/commands/builds/log.js.map +1 -1
- package/dist/commands/builds/ls.d.ts +3 -1
- package/dist/commands/builds/ls.d.ts.map +1 -1
- package/dist/commands/builds/ls.js +40 -45
- package/dist/commands/builds/ls.js.map +1 -1
- package/dist/commands/builds/rm.d.ts.map +1 -1
- package/dist/commands/builds/rm.js +11 -19
- package/dist/commands/builds/rm.js.map +1 -1
- package/dist/commands/call.d.ts +2 -18
- package/dist/commands/call.d.ts.map +1 -1
- package/dist/commands/call.js +2 -181
- package/dist/commands/call.js.map +1 -1
- package/dist/commands/check-version.js +8 -28
- package/dist/commands/check-version.js.map +1 -1
- package/dist/commands/create.js +29 -44
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/datasets/create.d.ts +10 -0
- package/dist/commands/datasets/create.d.ts.map +1 -0
- package/dist/commands/datasets/create.js +37 -0
- package/dist/commands/datasets/create.js.map +1 -0
- package/dist/commands/datasets/get-items.d.ts +17 -0
- package/dist/commands/datasets/get-items.d.ts.map +1 -0
- package/dist/commands/datasets/get-items.js +85 -0
- package/dist/commands/datasets/get-items.js.map +1 -0
- package/dist/commands/datasets/index.js +1 -6
- package/dist/commands/datasets/index.js.map +1 -1
- package/dist/commands/datasets/info.d.ts +29 -0
- package/dist/commands/datasets/info.d.ts.map +1 -0
- package/dist/commands/datasets/info.js +124 -0
- package/dist/commands/datasets/info.js.map +1 -0
- package/dist/commands/datasets/ls.d.ts +13 -0
- package/dist/commands/datasets/ls.d.ts.map +1 -0
- package/dist/commands/datasets/ls.js +72 -0
- package/dist/commands/datasets/ls.js.map +1 -0
- package/dist/commands/datasets/push-items.d.ts +10 -0
- package/dist/commands/datasets/push-items.d.ts.map +1 -0
- package/dist/commands/datasets/push-items.js +69 -0
- package/dist/commands/datasets/push-items.js.map +1 -0
- package/dist/commands/datasets/rename.d.ts +13 -0
- package/dist/commands/datasets/rename.d.ts.map +1 -0
- package/dist/commands/datasets/rename.js +69 -0
- package/dist/commands/datasets/rename.js.map +1 -0
- package/dist/commands/datasets/rm.d.ts +9 -0
- package/dist/commands/datasets/rm.d.ts.map +1 -0
- package/dist/commands/datasets/rm.js +47 -0
- package/dist/commands/datasets/rm.js.map +1 -0
- package/dist/commands/edit-input-schema.js +9 -29
- package/dist/commands/edit-input-schema.js.map +1 -1
- package/dist/commands/info.js +2 -7
- package/dist/commands/info.js.map +1 -1
- package/dist/commands/init-wrap-scrapy.js +9 -24
- package/dist/commands/init-wrap-scrapy.js.map +1 -1
- package/dist/commands/init.js +19 -34
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/key-value-stores/create.d.ts +11 -0
- package/dist/commands/key-value-stores/create.d.ts.map +1 -0
- package/dist/commands/key-value-stores/create.js +38 -0
- package/dist/commands/key-value-stores/create.js.map +1 -0
- package/dist/commands/key-value-stores/delete-value.d.ts +11 -0
- package/dist/commands/key-value-stores/delete-value.d.ts.map +1 -0
- package/dist/commands/key-value-stores/delete-value.js +61 -0
- package/dist/commands/key-value-stores/delete-value.js.map +1 -0
- package/dist/commands/key-value-stores/get-value.d.ts +14 -0
- package/dist/commands/key-value-stores/get-value.d.ts.map +1 -0
- package/dist/commands/key-value-stores/get-value.js +69 -0
- package/dist/commands/key-value-stores/get-value.js.map +1 -0
- package/dist/commands/key-value-stores/index.d.ts +1 -0
- package/dist/commands/key-value-stores/index.d.ts.map +1 -1
- package/dist/commands/key-value-stores/index.js +2 -6
- package/dist/commands/key-value-stores/index.js.map +1 -1
- package/dist/commands/key-value-stores/info.d.ts +27 -0
- package/dist/commands/key-value-stores/info.d.ts.map +1 -0
- package/dist/commands/key-value-stores/info.js +127 -0
- package/dist/commands/key-value-stores/info.js.map +1 -0
- package/dist/commands/key-value-stores/keys.d.ts +15 -0
- package/dist/commands/key-value-stores/keys.d.ts.map +1 -0
- package/dist/commands/key-value-stores/keys.js +60 -0
- package/dist/commands/key-value-stores/keys.js.map +1 -0
- package/dist/commands/key-value-stores/ls.d.ts +14 -0
- package/dist/commands/key-value-stores/ls.d.ts.map +1 -0
- package/dist/commands/key-value-stores/ls.js +71 -0
- package/dist/commands/key-value-stores/ls.js.map +1 -0
- package/dist/commands/key-value-stores/rename.d.ts +14 -0
- package/dist/commands/key-value-stores/rename.d.ts.map +1 -0
- package/dist/commands/key-value-stores/rename.js +70 -0
- package/dist/commands/key-value-stores/rename.js.map +1 -0
- package/dist/commands/key-value-stores/rm.d.ts +10 -0
- package/dist/commands/key-value-stores/rm.d.ts.map +1 -0
- package/dist/commands/key-value-stores/rm.js +48 -0
- package/dist/commands/key-value-stores/rm.js.map +1 -0
- package/dist/commands/key-value-stores/set-value.d.ts +15 -0
- package/dist/commands/key-value-stores/set-value.d.ts.map +1 -0
- package/dist/commands/key-value-stores/set-value.js +59 -0
- package/dist/commands/key-value-stores/set-value.js.map +1 -0
- package/dist/commands/login.js +16 -26
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +2 -7
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/pull.d.ts +2 -10
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/pull.js +2 -160
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.d.ts +2 -16
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +2 -323
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/request-queues/index.js +1 -6
- package/dist/commands/request-queues/index.js.map +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +67 -62
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/runs/abort.d.ts.map +1 -1
- package/dist/commands/runs/abort.js +21 -39
- package/dist/commands/runs/abort.js.map +1 -1
- package/dist/commands/runs/index.js +1 -6
- package/dist/commands/runs/index.js.map +1 -1
- package/dist/commands/runs/info.d.ts +2 -0
- package/dist/commands/runs/info.d.ts.map +1 -1
- package/dist/commands/runs/info.js +21 -41
- package/dist/commands/runs/info.js.map +1 -1
- package/dist/commands/runs/log.js +9 -19
- package/dist/commands/runs/log.js.map +1 -1
- package/dist/commands/runs/ls.d.ts +3 -1
- package/dist/commands/runs/ls.d.ts.map +1 -1
- package/dist/commands/runs/ls.js +36 -49
- package/dist/commands/runs/ls.js.map +1 -1
- package/dist/commands/runs/resurrect.d.ts.map +1 -1
- package/dist/commands/runs/resurrect.js +12 -25
- package/dist/commands/runs/resurrect.js.map +1 -1
- package/dist/commands/runs/rm.js +7 -17
- package/dist/commands/runs/rm.js.map +1 -1
- package/dist/commands/secrets/add.js +7 -17
- package/dist/commands/secrets/add.js.map +1 -1
- package/dist/commands/secrets/index.js +6 -11
- package/dist/commands/secrets/index.js.map +1 -1
- package/dist/commands/secrets/rm.js +7 -17
- package/dist/commands/secrets/rm.js.map +1 -1
- package/dist/commands/task/index.js +1 -6
- package/dist/commands/task/index.js.map +1 -1
- package/dist/commands/task/run.d.ts +0 -1
- package/dist/commands/task/run.d.ts.map +1 -1
- package/dist/commands/task/run.js +30 -30
- package/dist/commands/task/run.js.map +1 -1
- package/dist/commands/validate-schema.js +17 -32
- package/dist/commands/validate-schema.js.map +1 -1
- package/dist/lib/apify_command.d.ts.map +1 -1
- package/dist/lib/apify_command.js +3 -21
- package/dist/lib/apify_command.js.map +1 -1
- package/dist/lib/commands/confirm.d.ts +2 -2
- package/dist/lib/commands/confirm.d.ts.map +1 -1
- package/dist/lib/commands/confirm.js +1 -1
- package/dist/lib/commands/confirm.js.map +1 -1
- package/dist/lib/commands/pretty-print-bytes.d.ts +6 -1
- package/dist/lib/commands/pretty-print-bytes.d.ts.map +1 -1
- package/dist/lib/commands/pretty-print-bytes.js +6 -5
- package/dist/lib/commands/pretty-print-bytes.js.map +1 -1
- package/dist/lib/commands/read-stdin.d.ts +1 -1
- package/dist/lib/commands/read-stdin.d.ts.map +1 -1
- package/dist/lib/commands/read-stdin.js +13 -1
- package/dist/lib/commands/read-stdin.js.map +1 -1
- package/dist/lib/commands/resolve-input.js +1 -1
- package/dist/lib/commands/resolve-input.js.map +1 -1
- package/dist/lib/commands/responsive-table.d.ts +45 -6
- package/dist/lib/commands/responsive-table.d.ts.map +1 -1
- package/dist/lib/commands/responsive-table.js +89 -18
- package/dist/lib/commands/responsive-table.js.map +1 -1
- package/dist/lib/commands/run-on-cloud.d.ts +3 -2
- package/dist/lib/commands/run-on-cloud.d.ts.map +1 -1
- package/dist/lib/commands/run-on-cloud.js +42 -18
- package/dist/lib/commands/run-on-cloud.js.map +1 -1
- package/dist/lib/commands/storage-size.d.ts +6 -0
- package/dist/lib/commands/storage-size.d.ts.map +1 -0
- package/dist/lib/commands/storage-size.js +8 -0
- package/dist/lib/commands/storage-size.js.map +1 -0
- package/dist/lib/commands/storages.d.ts +10 -0
- package/dist/lib/commands/storages.d.ts.map +1 -0
- package/dist/lib/commands/storages.js +30 -0
- package/dist/lib/commands/storages.js.map +1 -0
- package/dist/lib/consts.d.ts.map +1 -1
- package/dist/lib/consts.js +11 -1
- package/dist/lib/consts.js.map +1 -1
- package/dist/lib/create-utils.d.ts +1 -1
- package/dist/lib/create-utils.d.ts.map +1 -1
- package/dist/lib/create-utils.js +1 -2
- package/dist/lib/create-utils.js.map +1 -1
- package/dist/lib/exec.d.ts.map +1 -1
- package/dist/lib/exec.js +3 -1
- package/dist/lib/exec.js.map +1 -1
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +1 -1
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.js +8 -22
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.js.map +1 -1
- package/dist/lib/projects/scrapy/Spider.js +4 -24
- package/dist/lib/projects/scrapy/Spider.js.map +1 -1
- package/dist/lib/projects/scrapy/SpiderFileAnalyzer.js +1 -6
- package/dist/lib/projects/scrapy/SpiderFileAnalyzer.js.map +1 -1
- package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +1 -1
- package/dist/lib/projects/scrapy/wrapScrapyProject.js +3 -2
- package/dist/lib/projects/scrapy/wrapScrapyProject.js.map +1 -1
- package/dist/lib/telemetry.d.ts.map +1 -1
- package/dist/lib/telemetry.js +1 -0
- package/dist/lib/telemetry.js.map +1 -1
- package/dist/lib/utils.d.ts +4 -2
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +3 -2
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/version_check.d.ts +1 -1
- package/dist/lib/version_check.d.ts.map +1 -1
- package/dist/lib/version_check.js +6 -0
- package/dist/lib/version_check.js.map +1 -1
- package/dist/typechecking.tsbuildinfo +1 -1
- package/oclif.manifest.json +1315 -203
- package/package.json +21 -20
package/README.md
CHANGED
|
@@ -288,20 +288,43 @@ This section contains printouts of `apify help` for all commands.
|
|
|
288
288
|
* [`apify actor push-data [ITEM]`](#apify-actor-push-data-item)
|
|
289
289
|
* [`apify actor set-value KEY [VALUE]`](#apify-actor-set-value-key-value)
|
|
290
290
|
* [`apify actors`](#apify-actors)
|
|
291
|
+
* [`apify actors build [ACTORID]`](#apify-actors-build-actorid)
|
|
292
|
+
* [`apify actors call [ACTORID]`](#apify-actors-call-actorid)
|
|
293
|
+
* [`apify actors info ACTORID`](#apify-actors-info-actorid)
|
|
294
|
+
* [`apify actors ls`](#apify-actors-ls)
|
|
295
|
+
* [`apify actors pull [ACTORID]`](#apify-actors-pull-actorid)
|
|
296
|
+
* [`apify actors push [ACTORID]`](#apify-actors-push-actorid)
|
|
291
297
|
* [`apify actors rm ACTORID`](#apify-actors-rm-actorid)
|
|
298
|
+
* [`apify actors start [ACTORID]`](#apify-actors-start-actorid)
|
|
292
299
|
* [`apify builds`](#apify-builds)
|
|
293
|
-
* [`apify builds create`](#apify-builds-create)
|
|
300
|
+
* [`apify builds create [ACTORID]`](#apify-builds-create-actorid)
|
|
294
301
|
* [`apify builds info BUILDID`](#apify-builds-info-buildid)
|
|
295
302
|
* [`apify builds log BUILDID`](#apify-builds-log-buildid)
|
|
296
|
-
* [`apify builds ls`](#apify-builds-ls)
|
|
303
|
+
* [`apify builds ls [ACTORID]`](#apify-builds-ls-actorid)
|
|
297
304
|
* [`apify builds rm BUILDID`](#apify-builds-rm-buildid)
|
|
298
305
|
* [`apify call [ACTORID]`](#apify-call-actorid)
|
|
299
306
|
* [`apify create [ACTORNAME]`](#apify-create-actorname)
|
|
300
307
|
* [`apify datasets`](#apify-datasets)
|
|
308
|
+
* [`apify datasets create [DATASETNAME]`](#apify-datasets-create-datasetname)
|
|
309
|
+
* [`apify datasets get-items DATASETID`](#apify-datasets-get-items-datasetid)
|
|
310
|
+
* [`apify datasets info STOREID`](#apify-datasets-info-storeid)
|
|
311
|
+
* [`apify datasets ls`](#apify-datasets-ls)
|
|
312
|
+
* [`apify datasets push-items NAMEORID [ITEM]`](#apify-datasets-push-items-nameorid-item)
|
|
313
|
+
* [`apify datasets rename NAMEORID [NEWNAME]`](#apify-datasets-rename-nameorid-newname)
|
|
314
|
+
* [`apify datasets rm DATASETNAMEORID`](#apify-datasets-rm-datasetnameorid)
|
|
301
315
|
* [`apify help [COMMAND]`](#apify-help-command)
|
|
302
316
|
* [`apify info`](#apify-info)
|
|
303
317
|
* [`apify init [ACTORNAME]`](#apify-init-actorname)
|
|
304
318
|
* [`apify key-value-stores`](#apify-key-value-stores)
|
|
319
|
+
* [`apify key-value-stores create [KEYVALUESTORENAME]`](#apify-key-value-stores-create-keyvaluestorename)
|
|
320
|
+
* [`apify key-value-stores delete-value STOREID ITEMKEY`](#apify-key-value-stores-delete-value-storeid-itemkey)
|
|
321
|
+
* [`apify key-value-stores get-value KEYVALUESTOREID ITEMKEY`](#apify-key-value-stores-get-value-keyvaluestoreid-itemkey)
|
|
322
|
+
* [`apify key-value-stores info STOREID`](#apify-key-value-stores-info-storeid)
|
|
323
|
+
* [`apify key-value-stores keys STOREID`](#apify-key-value-stores-keys-storeid)
|
|
324
|
+
* [`apify key-value-stores ls`](#apify-key-value-stores-ls)
|
|
325
|
+
* [`apify key-value-stores rename KEYVALUESTORENAMEORID [NEWNAME]`](#apify-key-value-stores-rename-keyvaluestorenameorid-newname)
|
|
326
|
+
* [`apify key-value-stores rm KEYVALUESTORENAMEORID`](#apify-key-value-stores-rm-keyvaluestorenameorid)
|
|
327
|
+
* [`apify key-value-stores set-value STOREID ITEMKEY [VALUE]`](#apify-key-value-stores-set-value-storeid-itemkey-value)
|
|
305
328
|
* [`apify login`](#apify-login)
|
|
306
329
|
* [`apify logout`](#apify-logout)
|
|
307
330
|
* [`apify pull [ACTORID]`](#apify-pull-actorid)
|
|
@@ -312,7 +335,7 @@ This section contains printouts of `apify help` for all commands.
|
|
|
312
335
|
* [`apify runs abort RUNID`](#apify-runs-abort-runid)
|
|
313
336
|
* [`apify runs info RUNID`](#apify-runs-info-runid)
|
|
314
337
|
* [`apify runs log RUNID`](#apify-runs-log-runid)
|
|
315
|
-
* [`apify runs ls`](#apify-runs-ls)
|
|
338
|
+
* [`apify runs ls [ACTORID]`](#apify-runs-ls-actorid)
|
|
316
339
|
* [`apify runs resurrect RUNID`](#apify-runs-resurrect-runid)
|
|
317
340
|
* [`apify runs rm RUNID`](#apify-runs-rm-runid)
|
|
318
341
|
* [`apify secrets`](#apify-secrets)
|
|
@@ -334,7 +357,7 @@ DESCRIPTION
|
|
|
334
357
|
Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.
|
|
335
358
|
```
|
|
336
359
|
|
|
337
|
-
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
360
|
+
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actor/index.ts)_
|
|
338
361
|
|
|
339
362
|
## `apify actor get-input`
|
|
340
363
|
|
|
@@ -348,7 +371,7 @@ DESCRIPTION
|
|
|
348
371
|
Gets the Actor input value from the default key-value store associated with the Actor run.
|
|
349
372
|
```
|
|
350
373
|
|
|
351
|
-
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
374
|
+
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actor/get-input.ts)_
|
|
352
375
|
|
|
353
376
|
## `apify actor get-value KEY`
|
|
354
377
|
|
|
@@ -365,7 +388,7 @@ DESCRIPTION
|
|
|
365
388
|
Gets a value from the default key-value store associated with the Actor run.
|
|
366
389
|
```
|
|
367
390
|
|
|
368
|
-
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
391
|
+
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actor/get-value.ts)_
|
|
369
392
|
|
|
370
393
|
## `apify actor push-data [ITEM]`
|
|
371
394
|
|
|
@@ -387,7 +410,7 @@ DESCRIPTION
|
|
|
387
410
|
$ cat ./test.json | apify actor push-data
|
|
388
411
|
```
|
|
389
412
|
|
|
390
|
-
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
413
|
+
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actor/push-data.ts)_
|
|
391
414
|
|
|
392
415
|
## `apify actor set-value KEY [VALUE]`
|
|
393
416
|
|
|
@@ -416,7 +439,7 @@ DESCRIPTION
|
|
|
416
439
|
$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain
|
|
417
440
|
```
|
|
418
441
|
|
|
419
|
-
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
442
|
+
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actor/set-value.ts)_
|
|
420
443
|
|
|
421
444
|
## `apify actors`
|
|
422
445
|
|
|
@@ -430,7 +453,174 @@ DESCRIPTION
|
|
|
430
453
|
Commands are designed to be used with Actors.
|
|
431
454
|
```
|
|
432
455
|
|
|
433
|
-
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
456
|
+
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/index.ts)_
|
|
457
|
+
|
|
458
|
+
## `apify actors build [ACTORID]`
|
|
459
|
+
|
|
460
|
+
Creates a new build of the Actor.
|
|
461
|
+
|
|
462
|
+
```
|
|
463
|
+
USAGE
|
|
464
|
+
$ apify actors build [ACTORID] [--json] [--tag <value>] [--version <value>] [--log]
|
|
465
|
+
|
|
466
|
+
ARGUMENTS
|
|
467
|
+
ACTORID Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current
|
|
468
|
+
directory.
|
|
469
|
+
|
|
470
|
+
FLAGS
|
|
471
|
+
--log Whether to print out the build log after the build is triggered.
|
|
472
|
+
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
473
|
+
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
474
|
+
required when multiple versions have the same tag.
|
|
475
|
+
|
|
476
|
+
GLOBAL FLAGS
|
|
477
|
+
--json Format output as json.
|
|
478
|
+
|
|
479
|
+
DESCRIPTION
|
|
480
|
+
Creates a new build of the Actor.
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
_See code: [src/commands/actors/build.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/build.ts)_
|
|
484
|
+
|
|
485
|
+
## `apify actors call [ACTORID]`
|
|
486
|
+
|
|
487
|
+
Runs a specific Actor remotely on the Apify cloud platform.
|
|
488
|
+
|
|
489
|
+
```
|
|
490
|
+
USAGE
|
|
491
|
+
$ apify actors call [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
492
|
+
<value>] [-s] [-o]
|
|
493
|
+
|
|
494
|
+
ARGUMENTS
|
|
495
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
496
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
497
|
+
|
|
498
|
+
FLAGS
|
|
499
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
500
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
501
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
502
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
503
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
504
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
505
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
506
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
507
|
+
|
|
508
|
+
GLOBAL FLAGS
|
|
509
|
+
--json Format output as json.
|
|
510
|
+
|
|
511
|
+
DESCRIPTION
|
|
512
|
+
Runs a specific Actor remotely on the Apify cloud platform.
|
|
513
|
+
The Actor is run under your current Apify account. Therefore you need to be logged in by calling "apify login". It
|
|
514
|
+
takes input for the Actor from the default local key-value store by default.
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
_See code: [src/commands/actors/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/call.ts)_
|
|
518
|
+
|
|
519
|
+
## `apify actors info ACTORID`
|
|
520
|
+
|
|
521
|
+
Get information about an Actor.
|
|
522
|
+
|
|
523
|
+
```
|
|
524
|
+
USAGE
|
|
525
|
+
$ apify actors info ACTORID [--json] [--readme | --input]
|
|
526
|
+
|
|
527
|
+
ARGUMENTS
|
|
528
|
+
ACTORID The ID of the Actor to return information about.
|
|
529
|
+
|
|
530
|
+
FLAGS
|
|
531
|
+
--input Return the Actor input schema.
|
|
532
|
+
--readme Return the Actor README.
|
|
533
|
+
|
|
534
|
+
GLOBAL FLAGS
|
|
535
|
+
--json Format output as json.
|
|
536
|
+
|
|
537
|
+
DESCRIPTION
|
|
538
|
+
Get information about an Actor.
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
_See code: [src/commands/actors/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/info.ts)_
|
|
542
|
+
|
|
543
|
+
## `apify actors ls`
|
|
544
|
+
|
|
545
|
+
Lists all recently ran Actors or your own Actors.
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
USAGE
|
|
549
|
+
$ apify actors ls [--json] [--my] [--offset <value>] [--limit <value>] [--desc]
|
|
550
|
+
|
|
551
|
+
FLAGS
|
|
552
|
+
--desc Sort Actors in descending order.
|
|
553
|
+
--limit=<value> [default: 20] Number of Actors that will be listed.
|
|
554
|
+
--my Whether to list Actors made by the logged in user.
|
|
555
|
+
--offset=<value> Number of Actors that will be skipped.
|
|
556
|
+
|
|
557
|
+
GLOBAL FLAGS
|
|
558
|
+
--json Format output as json.
|
|
559
|
+
|
|
560
|
+
DESCRIPTION
|
|
561
|
+
Lists all recently ran Actors or your own Actors.
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
_See code: [src/commands/actors/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/ls.ts)_
|
|
565
|
+
|
|
566
|
+
## `apify actors pull [ACTORID]`
|
|
567
|
+
|
|
568
|
+
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be cloned. If it is defined as Web IDE, it will fetch the files.
|
|
569
|
+
|
|
570
|
+
```
|
|
571
|
+
USAGE
|
|
572
|
+
$ apify actors pull [ACTORID] [-v <value>] [--dir <value>]
|
|
573
|
+
|
|
574
|
+
ARGUMENTS
|
|
575
|
+
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
576
|
+
command will update the Actor in the current directory based on its name in ".actor/actor.json" file.
|
|
577
|
+
|
|
578
|
+
FLAGS
|
|
579
|
+
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
580
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
581
|
+
|
|
582
|
+
DESCRIPTION
|
|
583
|
+
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
584
|
+
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
_See code: [src/commands/actors/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/pull.ts)_
|
|
588
|
+
|
|
589
|
+
## `apify actors push [ACTORID]`
|
|
590
|
+
|
|
591
|
+
Uploads the Actor to the Apify platform and builds it there.
|
|
592
|
+
|
|
593
|
+
```
|
|
594
|
+
USAGE
|
|
595
|
+
$ apify actors push [ACTORID] [-v <value>] [-b <value>] [-w <value>] [--no-prompt] [--force] [--dir <value>]
|
|
596
|
+
|
|
597
|
+
ARGUMENTS
|
|
598
|
+
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
599
|
+
command will create or modify the Actor with the name specified in ".actor/actor.json" file.
|
|
600
|
+
|
|
601
|
+
FLAGS
|
|
602
|
+
-b, --build-tag=<value> Build tag to be applied to the successful Actor build. By default, it is taken from the
|
|
603
|
+
".actor/actor.json" file
|
|
604
|
+
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
605
|
+
the ".actor/actor.json" file.
|
|
606
|
+
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
607
|
+
--dir=<value> Directory where the Actor is located
|
|
608
|
+
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
609
|
+
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
610
|
+
browser automatically.
|
|
611
|
+
|
|
612
|
+
DESCRIPTION
|
|
613
|
+
Uploads the Actor to the Apify platform and builds it there.
|
|
614
|
+
The Actor settings are read from the ".actor/actor.json" file in the current directory, but they can be overridden
|
|
615
|
+
using command-line options.
|
|
616
|
+
NOTE: If the source files are smaller than 3 MB then they are uploaded as
|
|
617
|
+
"Multiple source files", otherwise they are uploaded as "Zip file".
|
|
618
|
+
|
|
619
|
+
When there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be
|
|
620
|
+
overwritten with --force flag.
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
_See code: [src/commands/actors/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/push.ts)_
|
|
434
624
|
|
|
435
625
|
## `apify actors rm ACTORID`
|
|
436
626
|
|
|
@@ -447,7 +637,39 @@ DESCRIPTION
|
|
|
447
637
|
Deletes an Actor.
|
|
448
638
|
```
|
|
449
639
|
|
|
450
|
-
_See code: [src/commands/actors/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
640
|
+
_See code: [src/commands/actors/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/rm.ts)_
|
|
641
|
+
|
|
642
|
+
## `apify actors start [ACTORID]`
|
|
643
|
+
|
|
644
|
+
Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.
|
|
645
|
+
|
|
646
|
+
```
|
|
647
|
+
USAGE
|
|
648
|
+
$ apify actors start [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
649
|
+
<value>]
|
|
650
|
+
|
|
651
|
+
ARGUMENTS
|
|
652
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
653
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
654
|
+
|
|
655
|
+
FLAGS
|
|
656
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
657
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
658
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
659
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
660
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
661
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
662
|
+
|
|
663
|
+
GLOBAL FLAGS
|
|
664
|
+
--json Format output as json.
|
|
665
|
+
|
|
666
|
+
DESCRIPTION
|
|
667
|
+
Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.
|
|
668
|
+
The Actor is run under your current Apify account. Therefore you need to be logged in by calling "apify login". It
|
|
669
|
+
takes input for the Actor from the default local key-value store by default.
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
_See code: [src/commands/actors/start.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/actors/start.ts)_
|
|
451
673
|
|
|
452
674
|
## `apify builds`
|
|
453
675
|
|
|
@@ -461,19 +683,21 @@ DESCRIPTION
|
|
|
461
683
|
Commands are designed to be used with Actor Builds.
|
|
462
684
|
```
|
|
463
685
|
|
|
464
|
-
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
686
|
+
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/builds/index.ts)_
|
|
465
687
|
|
|
466
|
-
## `apify builds create`
|
|
688
|
+
## `apify builds create [ACTORID]`
|
|
467
689
|
|
|
468
690
|
Creates a new build of the Actor.
|
|
469
691
|
|
|
470
692
|
```
|
|
471
693
|
USAGE
|
|
472
|
-
$ apify builds create [
|
|
694
|
+
$ apify builds create [ACTORID] [--json] [--tag <value>] [--version <value>] [--log]
|
|
695
|
+
|
|
696
|
+
ARGUMENTS
|
|
697
|
+
ACTORID Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current
|
|
698
|
+
directory.
|
|
473
699
|
|
|
474
700
|
FLAGS
|
|
475
|
-
--actor=<value> Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the
|
|
476
|
-
current directory.
|
|
477
701
|
--log Whether to print out the build log after the build is triggered.
|
|
478
702
|
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
479
703
|
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
@@ -486,7 +710,7 @@ DESCRIPTION
|
|
|
486
710
|
Creates a new build of the Actor.
|
|
487
711
|
```
|
|
488
712
|
|
|
489
|
-
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
713
|
+
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/builds/create.ts)_
|
|
490
714
|
|
|
491
715
|
## `apify builds info BUILDID`
|
|
492
716
|
|
|
@@ -506,7 +730,7 @@ DESCRIPTION
|
|
|
506
730
|
Prints information about a specific build.
|
|
507
731
|
```
|
|
508
732
|
|
|
509
|
-
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
733
|
+
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/builds/info.ts)_
|
|
510
734
|
|
|
511
735
|
## `apify builds log BUILDID`
|
|
512
736
|
|
|
@@ -523,20 +747,21 @@ DESCRIPTION
|
|
|
523
747
|
Prints the log of a specific build.
|
|
524
748
|
```
|
|
525
749
|
|
|
526
|
-
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
750
|
+
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/builds/log.ts)_
|
|
527
751
|
|
|
528
|
-
## `apify builds ls`
|
|
752
|
+
## `apify builds ls [ACTORID]`
|
|
529
753
|
|
|
530
754
|
Lists all builds of the Actor.
|
|
531
755
|
|
|
532
756
|
```
|
|
533
757
|
USAGE
|
|
534
|
-
$ apify builds ls [
|
|
758
|
+
$ apify builds ls [ACTORID] [--json] [--offset <value>] [--limit <value>] [--desc] [-c]
|
|
759
|
+
|
|
760
|
+
ARGUMENTS
|
|
761
|
+
ACTORID Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.
|
|
535
762
|
|
|
536
763
|
FLAGS
|
|
537
764
|
-c, --compact Display a compact table.
|
|
538
|
-
--actor=<value> Optional Actor ID or Name to list builds for. By default, it will use the Actor from the current
|
|
539
|
-
directory.
|
|
540
765
|
--desc Sort builds in descending order.
|
|
541
766
|
--limit=<value> [default: 10] Number of builds that will be listed.
|
|
542
767
|
--offset=<value> Number of builds that will be skipped.
|
|
@@ -548,7 +773,7 @@ DESCRIPTION
|
|
|
548
773
|
Lists all builds of the Actor.
|
|
549
774
|
```
|
|
550
775
|
|
|
551
|
-
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
776
|
+
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/builds/ls.ts)_
|
|
552
777
|
|
|
553
778
|
## `apify builds rm BUILDID`
|
|
554
779
|
|
|
@@ -565,7 +790,7 @@ DESCRIPTION
|
|
|
565
790
|
Deletes an Actor Build.
|
|
566
791
|
```
|
|
567
792
|
|
|
568
|
-
_See code: [src/commands/builds/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
793
|
+
_See code: [src/commands/builds/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/builds/rm.ts)_
|
|
569
794
|
|
|
570
795
|
## `apify call [ACTORID]`
|
|
571
796
|
|
|
@@ -573,7 +798,7 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
573
798
|
|
|
574
799
|
```
|
|
575
800
|
USAGE
|
|
576
|
-
$ apify call [ACTORID] [-b <value>] [-t <value>] [-m <value>] [-
|
|
801
|
+
$ apify call [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
577
802
|
<value>] [-s] [-o]
|
|
578
803
|
|
|
579
804
|
ARGUMENTS
|
|
@@ -581,15 +806,17 @@ ARGUMENTS
|
|
|
581
806
|
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
582
807
|
|
|
583
808
|
FLAGS
|
|
584
|
-
-b, --build=<value>
|
|
585
|
-
-i, --input=<value>
|
|
586
|
-
-m, --memory=<value>
|
|
587
|
-
-o, --output-dataset
|
|
588
|
-
-s, --silent
|
|
589
|
-
-t, --timeout=<value>
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
809
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
810
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
811
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
812
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
813
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
814
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
815
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
816
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
817
|
+
|
|
818
|
+
GLOBAL FLAGS
|
|
819
|
+
--json Format output as json.
|
|
593
820
|
|
|
594
821
|
DESCRIPTION
|
|
595
822
|
Runs a specific Actor remotely on the Apify cloud platform.
|
|
@@ -597,7 +824,7 @@ DESCRIPTION
|
|
|
597
824
|
takes input for the Actor from the default local key-value store by default.
|
|
598
825
|
```
|
|
599
826
|
|
|
600
|
-
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
827
|
+
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/call.ts)_
|
|
601
828
|
|
|
602
829
|
## `apify create [ACTORNAME]`
|
|
603
830
|
|
|
@@ -622,7 +849,7 @@ DESCRIPTION
|
|
|
622
849
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
623
850
|
```
|
|
624
851
|
|
|
625
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
852
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/create.ts)_
|
|
626
853
|
|
|
627
854
|
## `apify datasets`
|
|
628
855
|
|
|
@@ -636,7 +863,149 @@ DESCRIPTION
|
|
|
636
863
|
Commands are designed to be used with Datasets.
|
|
637
864
|
```
|
|
638
865
|
|
|
639
|
-
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
866
|
+
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/index.ts)_
|
|
867
|
+
|
|
868
|
+
## `apify datasets create [DATASETNAME]`
|
|
869
|
+
|
|
870
|
+
Creates a new Dataset on your account
|
|
871
|
+
|
|
872
|
+
```
|
|
873
|
+
USAGE
|
|
874
|
+
$ apify datasets create [DATASETNAME] [--json]
|
|
875
|
+
|
|
876
|
+
ARGUMENTS
|
|
877
|
+
DATASETNAME Optional name for the Dataset
|
|
878
|
+
|
|
879
|
+
GLOBAL FLAGS
|
|
880
|
+
--json Format output as json.
|
|
881
|
+
|
|
882
|
+
DESCRIPTION
|
|
883
|
+
Creates a new Dataset on your account
|
|
884
|
+
```
|
|
885
|
+
|
|
886
|
+
_See code: [src/commands/datasets/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/create.ts)_
|
|
887
|
+
|
|
888
|
+
## `apify datasets get-items DATASETID`
|
|
889
|
+
|
|
890
|
+
Exports the items present in a Dataset.
|
|
891
|
+
|
|
892
|
+
```
|
|
893
|
+
USAGE
|
|
894
|
+
$ apify datasets get-items DATASETID [--limit <value>] [--offset <value>] [--format json|jsonl|csv|html|rss|xml|xlsx]
|
|
895
|
+
|
|
896
|
+
ARGUMENTS
|
|
897
|
+
DATASETID The ID of the Dataset to export the items for
|
|
898
|
+
|
|
899
|
+
FLAGS
|
|
900
|
+
--format=<option> [default: json] The format of the returned output. By default, it is set to 'json'
|
|
901
|
+
<options: json|jsonl|csv|html|rss|xml|xlsx>
|
|
902
|
+
--limit=<value> The amount of elements to get from the dataset. By default, it will return all available items.
|
|
903
|
+
--offset=<value> The offset in the dataset where to start getting items.
|
|
904
|
+
|
|
905
|
+
DESCRIPTION
|
|
906
|
+
Exports the items present in a Dataset.
|
|
907
|
+
```
|
|
908
|
+
|
|
909
|
+
_See code: [src/commands/datasets/get-items.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/get-items.ts)_
|
|
910
|
+
|
|
911
|
+
## `apify datasets info STOREID`
|
|
912
|
+
|
|
913
|
+
Shows information about a dataset.
|
|
914
|
+
|
|
915
|
+
```
|
|
916
|
+
USAGE
|
|
917
|
+
$ apify datasets info STOREID [--json]
|
|
918
|
+
|
|
919
|
+
ARGUMENTS
|
|
920
|
+
STOREID The dataset store ID to print information about.
|
|
921
|
+
|
|
922
|
+
GLOBAL FLAGS
|
|
923
|
+
--json Format output as json.
|
|
924
|
+
|
|
925
|
+
DESCRIPTION
|
|
926
|
+
Shows information about a dataset.
|
|
927
|
+
```
|
|
928
|
+
|
|
929
|
+
_See code: [src/commands/datasets/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/info.ts)_
|
|
930
|
+
|
|
931
|
+
## `apify datasets ls`
|
|
932
|
+
|
|
933
|
+
Lists all Datasets on your account.
|
|
934
|
+
|
|
935
|
+
```
|
|
936
|
+
USAGE
|
|
937
|
+
$ apify datasets ls [--json] [--offset <value>] [--limit <value>] [--desc] [--unnamed]
|
|
938
|
+
|
|
939
|
+
FLAGS
|
|
940
|
+
--desc Sorts Datasets in descending order.
|
|
941
|
+
--limit=<value> [default: 20] Number of Datasets that will be listed.
|
|
942
|
+
--offset=<value> Number of Datasets that will be skipped.
|
|
943
|
+
--unnamed Lists Datasets that don't have a name set.
|
|
944
|
+
|
|
945
|
+
GLOBAL FLAGS
|
|
946
|
+
--json Format output as json.
|
|
947
|
+
|
|
948
|
+
DESCRIPTION
|
|
949
|
+
Lists all Datasets on your account.
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
_See code: [src/commands/datasets/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/ls.ts)_
|
|
953
|
+
|
|
954
|
+
## `apify datasets push-items NAMEORID [ITEM]`
|
|
955
|
+
|
|
956
|
+
Pushes an object or an array of objects to the provided Dataset.
|
|
957
|
+
|
|
958
|
+
```
|
|
959
|
+
USAGE
|
|
960
|
+
$ apify datasets push-items NAMEORID [ITEM]
|
|
961
|
+
|
|
962
|
+
ARGUMENTS
|
|
963
|
+
NAMEORID The Dataset ID or name to push the objects to
|
|
964
|
+
ITEM The object or array of objects to be pushed.
|
|
965
|
+
|
|
966
|
+
DESCRIPTION
|
|
967
|
+
Pushes an object or an array of objects to the provided Dataset.
|
|
968
|
+
```
|
|
969
|
+
|
|
970
|
+
_See code: [src/commands/datasets/push-items.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/push-items.ts)_
|
|
971
|
+
|
|
972
|
+
## `apify datasets rename NAMEORID [NEWNAME]`
|
|
973
|
+
|
|
974
|
+
Renames a Dataset, or removes its unique name
|
|
975
|
+
|
|
976
|
+
```
|
|
977
|
+
USAGE
|
|
978
|
+
$ apify datasets rename NAMEORID [NEWNAME] [--unname]
|
|
979
|
+
|
|
980
|
+
ARGUMENTS
|
|
981
|
+
NAMEORID The Dataset ID or name to delete
|
|
982
|
+
NEWNAME The new name for the Dataset
|
|
983
|
+
|
|
984
|
+
FLAGS
|
|
985
|
+
--unname Removes the unique name of the Dataset
|
|
986
|
+
|
|
987
|
+
DESCRIPTION
|
|
988
|
+
Renames a Dataset, or removes its unique name
|
|
989
|
+
```
|
|
990
|
+
|
|
991
|
+
_See code: [src/commands/datasets/rename.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/rename.ts)_
|
|
992
|
+
|
|
993
|
+
## `apify datasets rm DATASETNAMEORID`
|
|
994
|
+
|
|
995
|
+
Deletes a Dataset
|
|
996
|
+
|
|
997
|
+
```
|
|
998
|
+
USAGE
|
|
999
|
+
$ apify datasets rm DATASETNAMEORID
|
|
1000
|
+
|
|
1001
|
+
ARGUMENTS
|
|
1002
|
+
DATASETNAMEORID The Dataset ID or name to delete
|
|
1003
|
+
|
|
1004
|
+
DESCRIPTION
|
|
1005
|
+
Deletes a Dataset
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
_See code: [src/commands/datasets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/datasets/rm.ts)_
|
|
640
1009
|
|
|
641
1010
|
## `apify help [COMMAND]`
|
|
642
1011
|
|
|
@@ -656,7 +1025,7 @@ DESCRIPTION
|
|
|
656
1025
|
Display help for apify.
|
|
657
1026
|
```
|
|
658
1027
|
|
|
659
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
1028
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.21/src/commands/help.ts)_
|
|
660
1029
|
|
|
661
1030
|
## `apify info`
|
|
662
1031
|
|
|
@@ -671,7 +1040,7 @@ DESCRIPTION
|
|
|
671
1040
|
The information is printed to the console.
|
|
672
1041
|
```
|
|
673
1042
|
|
|
674
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1043
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/info.ts)_
|
|
675
1044
|
|
|
676
1045
|
## `apify init [ACTORNAME]`
|
|
677
1046
|
|
|
@@ -699,7 +1068,7 @@ DESCRIPTION
|
|
|
699
1068
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
700
1069
|
```
|
|
701
1070
|
|
|
702
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1071
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/init.ts)_
|
|
703
1072
|
|
|
704
1073
|
## `apify key-value-stores`
|
|
705
1074
|
|
|
@@ -711,9 +1080,198 @@ USAGE
|
|
|
711
1080
|
|
|
712
1081
|
DESCRIPTION
|
|
713
1082
|
Commands are designed to be used with Key Value Stores.
|
|
1083
|
+
|
|
1084
|
+
Aliases: kvs
|
|
1085
|
+
```
|
|
1086
|
+
|
|
1087
|
+
_See code: [src/commands/key-value-stores/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/index.ts)_
|
|
1088
|
+
|
|
1089
|
+
## `apify key-value-stores create [KEYVALUESTORENAME]`
|
|
1090
|
+
|
|
1091
|
+
Creates a new Key-value store on your account
|
|
1092
|
+
|
|
1093
|
+
```
|
|
1094
|
+
USAGE
|
|
1095
|
+
$ apify key-value-stores create [KEYVALUESTORENAME] [--json]
|
|
1096
|
+
|
|
1097
|
+
ARGUMENTS
|
|
1098
|
+
KEYVALUESTORENAME Optional name for the Key-value store
|
|
1099
|
+
|
|
1100
|
+
GLOBAL FLAGS
|
|
1101
|
+
--json Format output as json.
|
|
1102
|
+
|
|
1103
|
+
DESCRIPTION
|
|
1104
|
+
Creates a new Key-value store on your account
|
|
1105
|
+
```
|
|
1106
|
+
|
|
1107
|
+
_See code: [src/commands/key-value-stores/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/create.ts)_
|
|
1108
|
+
|
|
1109
|
+
## `apify key-value-stores delete-value STOREID ITEMKEY`
|
|
1110
|
+
|
|
1111
|
+
Delete a value from a key-value store.
|
|
1112
|
+
|
|
1113
|
+
```
|
|
1114
|
+
USAGE
|
|
1115
|
+
$ apify key-value-stores delete-value STOREID ITEMKEY
|
|
1116
|
+
|
|
1117
|
+
ARGUMENTS
|
|
1118
|
+
STOREID The key-value store ID to delete the value from.
|
|
1119
|
+
ITEMKEY The key of the item in the key-value store.
|
|
1120
|
+
|
|
1121
|
+
DESCRIPTION
|
|
1122
|
+
Delete a value from a key-value store.
|
|
1123
|
+
```
|
|
1124
|
+
|
|
1125
|
+
_See code: [src/commands/key-value-stores/delete-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/delete-value.ts)_
|
|
1126
|
+
|
|
1127
|
+
## `apify key-value-stores get-value KEYVALUESTOREID ITEMKEY`
|
|
1128
|
+
|
|
1129
|
+
Gets a value by key in the given key-value store.
|
|
1130
|
+
|
|
714
1131
|
```
|
|
1132
|
+
USAGE
|
|
1133
|
+
$ apify key-value-stores get-value KEYVALUESTOREID ITEMKEY [--only-content-type]
|
|
1134
|
+
|
|
1135
|
+
ARGUMENTS
|
|
1136
|
+
KEYVALUESTOREID The key-value store ID to get the value from.
|
|
1137
|
+
ITEMKEY The key of the item in the key-value store.
|
|
1138
|
+
|
|
1139
|
+
FLAGS
|
|
1140
|
+
--only-content-type Only return the content type of the specified key
|
|
1141
|
+
|
|
1142
|
+
DESCRIPTION
|
|
1143
|
+
Gets a value by key in the given key-value store.
|
|
1144
|
+
```
|
|
1145
|
+
|
|
1146
|
+
_See code: [src/commands/key-value-stores/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/get-value.ts)_
|
|
1147
|
+
|
|
1148
|
+
## `apify key-value-stores info STOREID`
|
|
1149
|
+
|
|
1150
|
+
Shows information about a key-value store.
|
|
1151
|
+
|
|
1152
|
+
```
|
|
1153
|
+
USAGE
|
|
1154
|
+
$ apify key-value-stores info STOREID [--json]
|
|
1155
|
+
|
|
1156
|
+
ARGUMENTS
|
|
1157
|
+
STOREID The key-value store ID to print information about.
|
|
1158
|
+
|
|
1159
|
+
GLOBAL FLAGS
|
|
1160
|
+
--json Format output as json.
|
|
1161
|
+
|
|
1162
|
+
DESCRIPTION
|
|
1163
|
+
Shows information about a key-value store.
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
_See code: [src/commands/key-value-stores/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/info.ts)_
|
|
715
1167
|
|
|
716
|
-
|
|
1168
|
+
## `apify key-value-stores keys STOREID`
|
|
1169
|
+
|
|
1170
|
+
Lists all keys in a key-value store.
|
|
1171
|
+
|
|
1172
|
+
```
|
|
1173
|
+
USAGE
|
|
1174
|
+
$ apify key-value-stores keys STOREID [--json] [--limit <value>] [--exclusive-start-key <value>]
|
|
1175
|
+
|
|
1176
|
+
ARGUMENTS
|
|
1177
|
+
STOREID The key-value store ID to list keys for.
|
|
1178
|
+
|
|
1179
|
+
FLAGS
|
|
1180
|
+
--exclusive-start-key=<value> The key to start the list from.
|
|
1181
|
+
--limit=<value> [default: 20] The maximum number of keys to return.
|
|
1182
|
+
|
|
1183
|
+
GLOBAL FLAGS
|
|
1184
|
+
--json Format output as json.
|
|
1185
|
+
|
|
1186
|
+
DESCRIPTION
|
|
1187
|
+
Lists all keys in a key-value store.
|
|
1188
|
+
```
|
|
1189
|
+
|
|
1190
|
+
_See code: [src/commands/key-value-stores/keys.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/keys.ts)_
|
|
1191
|
+
|
|
1192
|
+
## `apify key-value-stores ls`
|
|
1193
|
+
|
|
1194
|
+
Lists all Key-value stores on your account.
|
|
1195
|
+
|
|
1196
|
+
```
|
|
1197
|
+
USAGE
|
|
1198
|
+
$ apify key-value-stores ls [--json] [--offset <value>] [--limit <value>] [--desc] [--unnamed]
|
|
1199
|
+
|
|
1200
|
+
FLAGS
|
|
1201
|
+
--desc Sorts Key-value stores in descending order.
|
|
1202
|
+
--limit=<value> [default: 20] Number of Key-value stores that will be listed.
|
|
1203
|
+
--offset=<value> Number of Key-value stores that will be skipped.
|
|
1204
|
+
--unnamed Lists Key-value stores that don't have a name set.
|
|
1205
|
+
|
|
1206
|
+
GLOBAL FLAGS
|
|
1207
|
+
--json Format output as json.
|
|
1208
|
+
|
|
1209
|
+
DESCRIPTION
|
|
1210
|
+
Lists all Key-value stores on your account.
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
_See code: [src/commands/key-value-stores/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/ls.ts)_
|
|
1214
|
+
|
|
1215
|
+
## `apify key-value-stores rename KEYVALUESTORENAMEORID [NEWNAME]`
|
|
1216
|
+
|
|
1217
|
+
Renames a Key-value store, or removes its unique name
|
|
1218
|
+
|
|
1219
|
+
```
|
|
1220
|
+
USAGE
|
|
1221
|
+
$ apify key-value-stores rename KEYVALUESTORENAMEORID [NEWNAME] [--unname]
|
|
1222
|
+
|
|
1223
|
+
ARGUMENTS
|
|
1224
|
+
KEYVALUESTORENAMEORID The Key-value store ID or name to delete
|
|
1225
|
+
NEWNAME The new name for the Key-value store
|
|
1226
|
+
|
|
1227
|
+
FLAGS
|
|
1228
|
+
--unname Removes the unique name of the Key-value store
|
|
1229
|
+
|
|
1230
|
+
DESCRIPTION
|
|
1231
|
+
Renames a Key-value store, or removes its unique name
|
|
1232
|
+
```
|
|
1233
|
+
|
|
1234
|
+
_See code: [src/commands/key-value-stores/rename.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/rename.ts)_
|
|
1235
|
+
|
|
1236
|
+
## `apify key-value-stores rm KEYVALUESTORENAMEORID`
|
|
1237
|
+
|
|
1238
|
+
Deletes a Key-value store
|
|
1239
|
+
|
|
1240
|
+
```
|
|
1241
|
+
USAGE
|
|
1242
|
+
$ apify key-value-stores rm KEYVALUESTORENAMEORID
|
|
1243
|
+
|
|
1244
|
+
ARGUMENTS
|
|
1245
|
+
KEYVALUESTORENAMEORID The Key-value store ID or name to delete
|
|
1246
|
+
|
|
1247
|
+
DESCRIPTION
|
|
1248
|
+
Deletes a Key-value store
|
|
1249
|
+
```
|
|
1250
|
+
|
|
1251
|
+
_See code: [src/commands/key-value-stores/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/rm.ts)_
|
|
1252
|
+
|
|
1253
|
+
## `apify key-value-stores set-value STOREID ITEMKEY [VALUE]`
|
|
1254
|
+
|
|
1255
|
+
Sets a value in a key-value store.
|
|
1256
|
+
|
|
1257
|
+
```
|
|
1258
|
+
USAGE
|
|
1259
|
+
$ apify key-value-stores set-value STOREID ITEMKEY [VALUE] [--content-type <value>]
|
|
1260
|
+
|
|
1261
|
+
ARGUMENTS
|
|
1262
|
+
STOREID The key-value store ID to set the value in.
|
|
1263
|
+
ITEMKEY The key of the item in the key-value store.
|
|
1264
|
+
VALUE The value to set.
|
|
1265
|
+
|
|
1266
|
+
FLAGS
|
|
1267
|
+
--content-type=<value> [default: application/json] The MIME content type of the value. By default, "application/json"
|
|
1268
|
+
is assumed.
|
|
1269
|
+
|
|
1270
|
+
DESCRIPTION
|
|
1271
|
+
Sets a value in a key-value store.
|
|
1272
|
+
```
|
|
1273
|
+
|
|
1274
|
+
_See code: [src/commands/key-value-stores/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/key-value-stores/set-value.ts)_
|
|
717
1275
|
|
|
718
1276
|
## `apify login`
|
|
719
1277
|
|
|
@@ -734,7 +1292,7 @@ DESCRIPTION
|
|
|
734
1292
|
"apify" commands. To log out, call "apify logout".
|
|
735
1293
|
```
|
|
736
1294
|
|
|
737
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1295
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/login.ts)_
|
|
738
1296
|
|
|
739
1297
|
## `apify logout`
|
|
740
1298
|
|
|
@@ -750,7 +1308,7 @@ DESCRIPTION
|
|
|
750
1308
|
call "apify login".
|
|
751
1309
|
```
|
|
752
1310
|
|
|
753
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1311
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/logout.ts)_
|
|
754
1312
|
|
|
755
1313
|
## `apify pull [ACTORID]`
|
|
756
1314
|
|
|
@@ -758,7 +1316,7 @@ Pulls an Actor from the Apify platform to the current directory. If it is define
|
|
|
758
1316
|
|
|
759
1317
|
```
|
|
760
1318
|
USAGE
|
|
761
|
-
$ apify pull [ACTORID] [-v <value>]
|
|
1319
|
+
$ apify pull [ACTORID] [-v <value>] [--dir <value>]
|
|
762
1320
|
|
|
763
1321
|
ARGUMENTS
|
|
764
1322
|
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -766,13 +1324,14 @@ ARGUMENTS
|
|
|
766
1324
|
|
|
767
1325
|
FLAGS
|
|
768
1326
|
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
1327
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
769
1328
|
|
|
770
1329
|
DESCRIPTION
|
|
771
1330
|
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
772
1331
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
773
1332
|
```
|
|
774
1333
|
|
|
775
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1334
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/pull.ts)_
|
|
776
1335
|
|
|
777
1336
|
## `apify push [ACTORID]`
|
|
778
1337
|
|
|
@@ -780,8 +1339,7 @@ Uploads the Actor to the Apify platform and builds it there.
|
|
|
780
1339
|
|
|
781
1340
|
```
|
|
782
1341
|
USAGE
|
|
783
|
-
$ apify push [ACTORID] [
|
|
784
|
-
[--force]
|
|
1342
|
+
$ apify push [ACTORID] [-v <value>] [-b <value>] [-w <value>] [--no-prompt] [--force] [--dir <value>]
|
|
785
1343
|
|
|
786
1344
|
ARGUMENTS
|
|
787
1345
|
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -793,11 +1351,10 @@ FLAGS
|
|
|
793
1351
|
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
794
1352
|
the ".actor/actor.json" file.
|
|
795
1353
|
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
1354
|
+
--dir=<value> Directory where the Actor is located
|
|
796
1355
|
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
797
1356
|
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
798
1357
|
browser automatically.
|
|
799
|
-
--version-number=<value> DEPRECATED: Use flag version instead. Actor version number to which the files should be
|
|
800
|
-
pushed. By default, it is taken from the ".actor/actor.json" file.
|
|
801
1358
|
|
|
802
1359
|
DESCRIPTION
|
|
803
1360
|
Uploads the Actor to the Apify platform and builds it there.
|
|
@@ -810,7 +1367,7 @@ DESCRIPTION
|
|
|
810
1367
|
overwritten with --force flag.
|
|
811
1368
|
```
|
|
812
1369
|
|
|
813
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1370
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/push.ts)_
|
|
814
1371
|
|
|
815
1372
|
## `apify request-queues`
|
|
816
1373
|
|
|
@@ -824,7 +1381,7 @@ DESCRIPTION
|
|
|
824
1381
|
Commands are designed to be used with Request Queues.
|
|
825
1382
|
```
|
|
826
1383
|
|
|
827
|
-
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1384
|
+
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/request-queues/index.ts)_
|
|
828
1385
|
|
|
829
1386
|
## `apify run`
|
|
830
1387
|
|
|
@@ -860,7 +1417,7 @@ DESCRIPTION
|
|
|
860
1417
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
861
1418
|
```
|
|
862
1419
|
|
|
863
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1420
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/run.ts)_
|
|
864
1421
|
|
|
865
1422
|
## `apify runs`
|
|
866
1423
|
|
|
@@ -874,7 +1431,7 @@ DESCRIPTION
|
|
|
874
1431
|
Commands are designed to be used with Actor Runs.
|
|
875
1432
|
```
|
|
876
1433
|
|
|
877
|
-
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1434
|
+
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/index.ts)_
|
|
878
1435
|
|
|
879
1436
|
## `apify runs abort RUNID`
|
|
880
1437
|
|
|
@@ -897,7 +1454,7 @@ DESCRIPTION
|
|
|
897
1454
|
Aborts an Actor Run.
|
|
898
1455
|
```
|
|
899
1456
|
|
|
900
|
-
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1457
|
+
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/abort.ts)_
|
|
901
1458
|
|
|
902
1459
|
## `apify runs info RUNID`
|
|
903
1460
|
|
|
@@ -920,7 +1477,7 @@ DESCRIPTION
|
|
|
920
1477
|
Prints information about an Actor Run.
|
|
921
1478
|
```
|
|
922
1479
|
|
|
923
|
-
_See code: [src/commands/runs/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1480
|
+
_See code: [src/commands/runs/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/info.ts)_
|
|
924
1481
|
|
|
925
1482
|
## `apify runs log RUNID`
|
|
926
1483
|
|
|
@@ -937,20 +1494,21 @@ DESCRIPTION
|
|
|
937
1494
|
Prints the log of a specific run.
|
|
938
1495
|
```
|
|
939
1496
|
|
|
940
|
-
_See code: [src/commands/runs/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1497
|
+
_See code: [src/commands/runs/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/log.ts)_
|
|
941
1498
|
|
|
942
|
-
## `apify runs ls`
|
|
1499
|
+
## `apify runs ls [ACTORID]`
|
|
943
1500
|
|
|
944
1501
|
Lists all runs of the Actor.
|
|
945
1502
|
|
|
946
1503
|
```
|
|
947
1504
|
USAGE
|
|
948
|
-
$ apify runs ls [
|
|
1505
|
+
$ apify runs ls [ACTORID] [--json] [--offset <value>] [--limit <value>] [--desc] [-c]
|
|
1506
|
+
|
|
1507
|
+
ARGUMENTS
|
|
1508
|
+
ACTORID Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.
|
|
949
1509
|
|
|
950
1510
|
FLAGS
|
|
951
1511
|
-c, --compact Display a compact table.
|
|
952
|
-
--actor=<value> Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current
|
|
953
|
-
directory.
|
|
954
1512
|
--desc Sort runs in descending order.
|
|
955
1513
|
--limit=<value> [default: 10] Number of runs that will be listed.
|
|
956
1514
|
--offset=<value> Number of runs that will be skipped.
|
|
@@ -962,7 +1520,7 @@ DESCRIPTION
|
|
|
962
1520
|
Lists all runs of the Actor.
|
|
963
1521
|
```
|
|
964
1522
|
|
|
965
|
-
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1523
|
+
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/ls.ts)_
|
|
966
1524
|
|
|
967
1525
|
## `apify runs resurrect RUNID`
|
|
968
1526
|
|
|
@@ -982,7 +1540,7 @@ DESCRIPTION
|
|
|
982
1540
|
Resurrects an aborted or finished Actor Run.
|
|
983
1541
|
```
|
|
984
1542
|
|
|
985
|
-
_See code: [src/commands/runs/resurrect.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1543
|
+
_See code: [src/commands/runs/resurrect.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/resurrect.ts)_
|
|
986
1544
|
|
|
987
1545
|
## `apify runs rm RUNID`
|
|
988
1546
|
|
|
@@ -999,7 +1557,7 @@ DESCRIPTION
|
|
|
999
1557
|
Deletes an Actor Run.
|
|
1000
1558
|
```
|
|
1001
1559
|
|
|
1002
|
-
_See code: [src/commands/runs/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1560
|
+
_See code: [src/commands/runs/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/runs/rm.ts)_
|
|
1003
1561
|
|
|
1004
1562
|
## `apify secrets`
|
|
1005
1563
|
|
|
@@ -1029,7 +1587,7 @@ DESCRIPTION
|
|
|
1029
1587
|
of the Actor.
|
|
1030
1588
|
```
|
|
1031
1589
|
|
|
1032
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1590
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/secrets/index.ts)_
|
|
1033
1591
|
|
|
1034
1592
|
## `apify secrets add NAME VALUE`
|
|
1035
1593
|
|
|
@@ -1048,7 +1606,7 @@ DESCRIPTION
|
|
|
1048
1606
|
The secrets are stored to a file at ~/.apify
|
|
1049
1607
|
```
|
|
1050
1608
|
|
|
1051
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1609
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/secrets/add.ts)_
|
|
1052
1610
|
|
|
1053
1611
|
## `apify secrets rm NAME`
|
|
1054
1612
|
|
|
@@ -1065,7 +1623,7 @@ DESCRIPTION
|
|
|
1065
1623
|
Removes the secret.
|
|
1066
1624
|
```
|
|
1067
1625
|
|
|
1068
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1626
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/secrets/rm.ts)_
|
|
1069
1627
|
|
|
1070
1628
|
## `apify task`
|
|
1071
1629
|
|
|
@@ -1079,7 +1637,7 @@ DESCRIPTION
|
|
|
1079
1637
|
Commands are designed to be used to interact with Tasks.
|
|
1080
1638
|
```
|
|
1081
1639
|
|
|
1082
|
-
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1640
|
+
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/task/index.ts)_
|
|
1083
1641
|
|
|
1084
1642
|
## `apify task run TASKID`
|
|
1085
1643
|
|
|
@@ -1087,16 +1645,15 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
1087
1645
|
|
|
1088
1646
|
```
|
|
1089
1647
|
USAGE
|
|
1090
|
-
$ apify task run TASKID [-b <value>] [-t <value>] [-m <value>]
|
|
1648
|
+
$ apify task run TASKID [-b <value>] [-t <value>] [-m <value>]
|
|
1091
1649
|
|
|
1092
1650
|
ARGUMENTS
|
|
1093
1651
|
TASKID Name or ID of the Task to run (e.g. "my-task" or "E2jjCZBezvAZnX8Rb").
|
|
1094
1652
|
|
|
1095
1653
|
FLAGS
|
|
1096
|
-
-b, --build=<value>
|
|
1097
|
-
-m, --memory=<value>
|
|
1098
|
-
-t, --timeout=<value>
|
|
1099
|
-
-w, --wait-for-finish=<value> Seconds for waiting to run to finish, if no value passed, it waits forever.
|
|
1654
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
1655
|
+
-m, --memory=<value> Amount of memory allocated for the Task run, in megabytes.
|
|
1656
|
+
-t, --timeout=<value> Timeout for the Task run in seconds. Zero value means there is no timeout.
|
|
1100
1657
|
|
|
1101
1658
|
DESCRIPTION
|
|
1102
1659
|
Runs a specific Actor remotely on the Apify cloud platform.
|
|
@@ -1104,7 +1661,7 @@ DESCRIPTION
|
|
|
1104
1661
|
takes input for the Actor from the default local key-value store by default.
|
|
1105
1662
|
```
|
|
1106
1663
|
|
|
1107
|
-
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1664
|
+
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/task/run.ts)_
|
|
1108
1665
|
|
|
1109
1666
|
## `apify validate-schema [PATH]`
|
|
1110
1667
|
|
|
@@ -1129,6 +1686,6 @@ DESCRIPTION
|
|
|
1129
1686
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
1130
1687
|
```
|
|
1131
1688
|
|
|
1132
|
-
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1689
|
+
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.91/src/commands/validate-schema.ts)_
|
|
1133
1690
|
<!-- commandsstop -->
|
|
1134
1691
|
<!-- prettier-ignore-end -->
|