apify-cli 0.21.0-beta.8 → 0.21.0-beta.80
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 +40 -1
- package/README.md +589 -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 +168 -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/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/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.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 +34 -45
- 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 +5 -4
- 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 +15 -1
- package/dist/lib/commands/responsive-table.d.ts.map +1 -1
- package/dist/lib/commands/responsive-table.js +36 -14
- 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/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 +2 -2
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +1 -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 +1206 -166
- package/package.json +19 -18
package/README.md
CHANGED
|
@@ -288,20 +288,41 @@ 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 ls`](#apify-datasets-ls)
|
|
311
|
+
* [`apify datasets push-items NAMEORID [ITEM]`](#apify-datasets-push-items-nameorid-item)
|
|
312
|
+
* [`apify datasets rename NAMEORID [NEWNAME]`](#apify-datasets-rename-nameorid-newname)
|
|
313
|
+
* [`apify datasets rm DATASETNAMEORID`](#apify-datasets-rm-datasetnameorid)
|
|
301
314
|
* [`apify help [COMMAND]`](#apify-help-command)
|
|
302
315
|
* [`apify info`](#apify-info)
|
|
303
316
|
* [`apify init [ACTORNAME]`](#apify-init-actorname)
|
|
304
317
|
* [`apify key-value-stores`](#apify-key-value-stores)
|
|
318
|
+
* [`apify key-value-stores create [KEYVALUESTORENAME]`](#apify-key-value-stores-create-keyvaluestorename)
|
|
319
|
+
* [`apify key-value-stores delete-value STOREID ITEMKEY`](#apify-key-value-stores-delete-value-storeid-itemkey)
|
|
320
|
+
* [`apify key-value-stores get-value KEYVALUESTOREID ITEMKEY`](#apify-key-value-stores-get-value-keyvaluestoreid-itemkey)
|
|
321
|
+
* [`apify key-value-stores keys STOREID`](#apify-key-value-stores-keys-storeid)
|
|
322
|
+
* [`apify key-value-stores ls`](#apify-key-value-stores-ls)
|
|
323
|
+
* [`apify key-value-stores rename KEYVALUESTORENAMEORID [NEWNAME]`](#apify-key-value-stores-rename-keyvaluestorenameorid-newname)
|
|
324
|
+
* [`apify key-value-stores rm KEYVALUESTORENAMEORID`](#apify-key-value-stores-rm-keyvaluestorenameorid)
|
|
325
|
+
* [`apify key-value-stores set-value STOREID ITEMKEY [VALUE]`](#apify-key-value-stores-set-value-storeid-itemkey-value)
|
|
305
326
|
* [`apify login`](#apify-login)
|
|
306
327
|
* [`apify logout`](#apify-logout)
|
|
307
328
|
* [`apify pull [ACTORID]`](#apify-pull-actorid)
|
|
@@ -312,7 +333,7 @@ This section contains printouts of `apify help` for all commands.
|
|
|
312
333
|
* [`apify runs abort RUNID`](#apify-runs-abort-runid)
|
|
313
334
|
* [`apify runs info RUNID`](#apify-runs-info-runid)
|
|
314
335
|
* [`apify runs log RUNID`](#apify-runs-log-runid)
|
|
315
|
-
* [`apify runs ls`](#apify-runs-ls)
|
|
336
|
+
* [`apify runs ls [ACTORID]`](#apify-runs-ls-actorid)
|
|
316
337
|
* [`apify runs resurrect RUNID`](#apify-runs-resurrect-runid)
|
|
317
338
|
* [`apify runs rm RUNID`](#apify-runs-rm-runid)
|
|
318
339
|
* [`apify secrets`](#apify-secrets)
|
|
@@ -334,7 +355,7 @@ DESCRIPTION
|
|
|
334
355
|
Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.
|
|
335
356
|
```
|
|
336
357
|
|
|
337
|
-
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
358
|
+
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actor/index.ts)_
|
|
338
359
|
|
|
339
360
|
## `apify actor get-input`
|
|
340
361
|
|
|
@@ -348,7 +369,7 @@ DESCRIPTION
|
|
|
348
369
|
Gets the Actor input value from the default key-value store associated with the Actor run.
|
|
349
370
|
```
|
|
350
371
|
|
|
351
|
-
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
372
|
+
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actor/get-input.ts)_
|
|
352
373
|
|
|
353
374
|
## `apify actor get-value KEY`
|
|
354
375
|
|
|
@@ -365,7 +386,7 @@ DESCRIPTION
|
|
|
365
386
|
Gets a value from the default key-value store associated with the Actor run.
|
|
366
387
|
```
|
|
367
388
|
|
|
368
|
-
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
389
|
+
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actor/get-value.ts)_
|
|
369
390
|
|
|
370
391
|
## `apify actor push-data [ITEM]`
|
|
371
392
|
|
|
@@ -387,7 +408,7 @@ DESCRIPTION
|
|
|
387
408
|
$ cat ./test.json | apify actor push-data
|
|
388
409
|
```
|
|
389
410
|
|
|
390
|
-
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
411
|
+
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actor/push-data.ts)_
|
|
391
412
|
|
|
392
413
|
## `apify actor set-value KEY [VALUE]`
|
|
393
414
|
|
|
@@ -416,7 +437,7 @@ DESCRIPTION
|
|
|
416
437
|
$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain
|
|
417
438
|
```
|
|
418
439
|
|
|
419
|
-
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
440
|
+
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actor/set-value.ts)_
|
|
420
441
|
|
|
421
442
|
## `apify actors`
|
|
422
443
|
|
|
@@ -430,7 +451,174 @@ DESCRIPTION
|
|
|
430
451
|
Commands are designed to be used with Actors.
|
|
431
452
|
```
|
|
432
453
|
|
|
433
|
-
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
454
|
+
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/index.ts)_
|
|
455
|
+
|
|
456
|
+
## `apify actors build [ACTORID]`
|
|
457
|
+
|
|
458
|
+
Creates a new build of the Actor.
|
|
459
|
+
|
|
460
|
+
```
|
|
461
|
+
USAGE
|
|
462
|
+
$ apify actors build [ACTORID] [--json] [--tag <value>] [--version <value>] [--log]
|
|
463
|
+
|
|
464
|
+
ARGUMENTS
|
|
465
|
+
ACTORID Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current
|
|
466
|
+
directory.
|
|
467
|
+
|
|
468
|
+
FLAGS
|
|
469
|
+
--log Whether to print out the build log after the build is triggered.
|
|
470
|
+
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
471
|
+
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
472
|
+
required when multiple versions have the same tag.
|
|
473
|
+
|
|
474
|
+
GLOBAL FLAGS
|
|
475
|
+
--json Format output as json.
|
|
476
|
+
|
|
477
|
+
DESCRIPTION
|
|
478
|
+
Creates a new build of the Actor.
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
_See code: [src/commands/actors/build.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/build.ts)_
|
|
482
|
+
|
|
483
|
+
## `apify actors call [ACTORID]`
|
|
484
|
+
|
|
485
|
+
Runs a specific Actor remotely on the Apify cloud platform.
|
|
486
|
+
|
|
487
|
+
```
|
|
488
|
+
USAGE
|
|
489
|
+
$ apify actors call [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
490
|
+
<value>] [-s] [-o]
|
|
491
|
+
|
|
492
|
+
ARGUMENTS
|
|
493
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
494
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
495
|
+
|
|
496
|
+
FLAGS
|
|
497
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
498
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
499
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
500
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
501
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
502
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
503
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
504
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
505
|
+
|
|
506
|
+
GLOBAL FLAGS
|
|
507
|
+
--json Format output as json.
|
|
508
|
+
|
|
509
|
+
DESCRIPTION
|
|
510
|
+
Runs a specific Actor remotely on the Apify cloud platform.
|
|
511
|
+
The Actor is run under your current Apify account. Therefore you need to be logged in by calling "apify login". It
|
|
512
|
+
takes input for the Actor from the default local key-value store by default.
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
_See code: [src/commands/actors/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/call.ts)_
|
|
516
|
+
|
|
517
|
+
## `apify actors info ACTORID`
|
|
518
|
+
|
|
519
|
+
Get information about an Actor.
|
|
520
|
+
|
|
521
|
+
```
|
|
522
|
+
USAGE
|
|
523
|
+
$ apify actors info ACTORID [--json] [--readme | --input]
|
|
524
|
+
|
|
525
|
+
ARGUMENTS
|
|
526
|
+
ACTORID The ID of the Actor to return information about.
|
|
527
|
+
|
|
528
|
+
FLAGS
|
|
529
|
+
--input Return the Actor input schema.
|
|
530
|
+
--readme Return the Actor README.
|
|
531
|
+
|
|
532
|
+
GLOBAL FLAGS
|
|
533
|
+
--json Format output as json.
|
|
534
|
+
|
|
535
|
+
DESCRIPTION
|
|
536
|
+
Get information about an Actor.
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
_See code: [src/commands/actors/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/info.ts)_
|
|
540
|
+
|
|
541
|
+
## `apify actors ls`
|
|
542
|
+
|
|
543
|
+
Lists all recently ran Actors or your own Actors.
|
|
544
|
+
|
|
545
|
+
```
|
|
546
|
+
USAGE
|
|
547
|
+
$ apify actors ls [--json] [--my] [--offset <value>] [--limit <value>] [--desc]
|
|
548
|
+
|
|
549
|
+
FLAGS
|
|
550
|
+
--desc Sort Actors in descending order.
|
|
551
|
+
--limit=<value> [default: 20] Number of Actors that will be listed.
|
|
552
|
+
--my Whether to list Actors made by the logged in user.
|
|
553
|
+
--offset=<value> Number of Actors that will be skipped.
|
|
554
|
+
|
|
555
|
+
GLOBAL FLAGS
|
|
556
|
+
--json Format output as json.
|
|
557
|
+
|
|
558
|
+
DESCRIPTION
|
|
559
|
+
Lists all recently ran Actors or your own Actors.
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
_See code: [src/commands/actors/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/ls.ts)_
|
|
563
|
+
|
|
564
|
+
## `apify actors pull [ACTORID]`
|
|
565
|
+
|
|
566
|
+
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.
|
|
567
|
+
|
|
568
|
+
```
|
|
569
|
+
USAGE
|
|
570
|
+
$ apify actors pull [ACTORID] [-v <value>] [--dir <value>]
|
|
571
|
+
|
|
572
|
+
ARGUMENTS
|
|
573
|
+
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
574
|
+
command will update the Actor in the current directory based on its name in ".actor/actor.json" file.
|
|
575
|
+
|
|
576
|
+
FLAGS
|
|
577
|
+
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
578
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
579
|
+
|
|
580
|
+
DESCRIPTION
|
|
581
|
+
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
582
|
+
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
_See code: [src/commands/actors/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/pull.ts)_
|
|
586
|
+
|
|
587
|
+
## `apify actors push [ACTORID]`
|
|
588
|
+
|
|
589
|
+
Uploads the Actor to the Apify platform and builds it there.
|
|
590
|
+
|
|
591
|
+
```
|
|
592
|
+
USAGE
|
|
593
|
+
$ apify actors push [ACTORID] [-v <value>] [-b <value>] [-w <value>] [--no-prompt] [--force] [--dir <value>]
|
|
594
|
+
|
|
595
|
+
ARGUMENTS
|
|
596
|
+
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
597
|
+
command will create or modify the Actor with the name specified in ".actor/actor.json" file.
|
|
598
|
+
|
|
599
|
+
FLAGS
|
|
600
|
+
-b, --build-tag=<value> Build tag to be applied to the successful Actor build. By default, it is taken from the
|
|
601
|
+
".actor/actor.json" file
|
|
602
|
+
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
603
|
+
the ".actor/actor.json" file.
|
|
604
|
+
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
605
|
+
--dir=<value> Directory where the Actor is located
|
|
606
|
+
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
607
|
+
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
608
|
+
browser automatically.
|
|
609
|
+
|
|
610
|
+
DESCRIPTION
|
|
611
|
+
Uploads the Actor to the Apify platform and builds it there.
|
|
612
|
+
The Actor settings are read from the ".actor/actor.json" file in the current directory, but they can be overridden
|
|
613
|
+
using command-line options.
|
|
614
|
+
NOTE: If the source files are smaller than 3 MB then they are uploaded as
|
|
615
|
+
"Multiple source files", otherwise they are uploaded as "Zip file".
|
|
616
|
+
|
|
617
|
+
When there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be
|
|
618
|
+
overwritten with --force flag.
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
_See code: [src/commands/actors/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/push.ts)_
|
|
434
622
|
|
|
435
623
|
## `apify actors rm ACTORID`
|
|
436
624
|
|
|
@@ -447,7 +635,39 @@ DESCRIPTION
|
|
|
447
635
|
Deletes an Actor.
|
|
448
636
|
```
|
|
449
637
|
|
|
450
|
-
_See code: [src/commands/actors/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
638
|
+
_See code: [src/commands/actors/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/rm.ts)_
|
|
639
|
+
|
|
640
|
+
## `apify actors start [ACTORID]`
|
|
641
|
+
|
|
642
|
+
Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.
|
|
643
|
+
|
|
644
|
+
```
|
|
645
|
+
USAGE
|
|
646
|
+
$ apify actors start [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
647
|
+
<value>]
|
|
648
|
+
|
|
649
|
+
ARGUMENTS
|
|
650
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
651
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
652
|
+
|
|
653
|
+
FLAGS
|
|
654
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
655
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
656
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
657
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
658
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
659
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
660
|
+
|
|
661
|
+
GLOBAL FLAGS
|
|
662
|
+
--json Format output as json.
|
|
663
|
+
|
|
664
|
+
DESCRIPTION
|
|
665
|
+
Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.
|
|
666
|
+
The Actor is run under your current Apify account. Therefore you need to be logged in by calling "apify login". It
|
|
667
|
+
takes input for the Actor from the default local key-value store by default.
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
_See code: [src/commands/actors/start.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/actors/start.ts)_
|
|
451
671
|
|
|
452
672
|
## `apify builds`
|
|
453
673
|
|
|
@@ -461,19 +681,21 @@ DESCRIPTION
|
|
|
461
681
|
Commands are designed to be used with Actor Builds.
|
|
462
682
|
```
|
|
463
683
|
|
|
464
|
-
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
684
|
+
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/builds/index.ts)_
|
|
465
685
|
|
|
466
|
-
## `apify builds create`
|
|
686
|
+
## `apify builds create [ACTORID]`
|
|
467
687
|
|
|
468
688
|
Creates a new build of the Actor.
|
|
469
689
|
|
|
470
690
|
```
|
|
471
691
|
USAGE
|
|
472
|
-
$ apify builds create [
|
|
692
|
+
$ apify builds create [ACTORID] [--json] [--tag <value>] [--version <value>] [--log]
|
|
693
|
+
|
|
694
|
+
ARGUMENTS
|
|
695
|
+
ACTORID Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current
|
|
696
|
+
directory.
|
|
473
697
|
|
|
474
698
|
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
699
|
--log Whether to print out the build log after the build is triggered.
|
|
478
700
|
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
479
701
|
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
@@ -486,7 +708,7 @@ DESCRIPTION
|
|
|
486
708
|
Creates a new build of the Actor.
|
|
487
709
|
```
|
|
488
710
|
|
|
489
|
-
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
711
|
+
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/builds/create.ts)_
|
|
490
712
|
|
|
491
713
|
## `apify builds info BUILDID`
|
|
492
714
|
|
|
@@ -506,7 +728,7 @@ DESCRIPTION
|
|
|
506
728
|
Prints information about a specific build.
|
|
507
729
|
```
|
|
508
730
|
|
|
509
|
-
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
731
|
+
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/builds/info.ts)_
|
|
510
732
|
|
|
511
733
|
## `apify builds log BUILDID`
|
|
512
734
|
|
|
@@ -523,20 +745,21 @@ DESCRIPTION
|
|
|
523
745
|
Prints the log of a specific build.
|
|
524
746
|
```
|
|
525
747
|
|
|
526
|
-
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
748
|
+
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/builds/log.ts)_
|
|
527
749
|
|
|
528
|
-
## `apify builds ls`
|
|
750
|
+
## `apify builds ls [ACTORID]`
|
|
529
751
|
|
|
530
752
|
Lists all builds of the Actor.
|
|
531
753
|
|
|
532
754
|
```
|
|
533
755
|
USAGE
|
|
534
|
-
$ apify builds ls [
|
|
756
|
+
$ apify builds ls [ACTORID] [--json] [--offset <value>] [--limit <value>] [--desc] [-c]
|
|
757
|
+
|
|
758
|
+
ARGUMENTS
|
|
759
|
+
ACTORID Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.
|
|
535
760
|
|
|
536
761
|
FLAGS
|
|
537
762
|
-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
763
|
--desc Sort builds in descending order.
|
|
541
764
|
--limit=<value> [default: 10] Number of builds that will be listed.
|
|
542
765
|
--offset=<value> Number of builds that will be skipped.
|
|
@@ -548,7 +771,7 @@ DESCRIPTION
|
|
|
548
771
|
Lists all builds of the Actor.
|
|
549
772
|
```
|
|
550
773
|
|
|
551
|
-
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
774
|
+
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/builds/ls.ts)_
|
|
552
775
|
|
|
553
776
|
## `apify builds rm BUILDID`
|
|
554
777
|
|
|
@@ -565,7 +788,7 @@ DESCRIPTION
|
|
|
565
788
|
Deletes an Actor Build.
|
|
566
789
|
```
|
|
567
790
|
|
|
568
|
-
_See code: [src/commands/builds/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
791
|
+
_See code: [src/commands/builds/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/builds/rm.ts)_
|
|
569
792
|
|
|
570
793
|
## `apify call [ACTORID]`
|
|
571
794
|
|
|
@@ -573,7 +796,7 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
573
796
|
|
|
574
797
|
```
|
|
575
798
|
USAGE
|
|
576
|
-
$ apify call [ACTORID] [-b <value>] [-t <value>] [-m <value>] [-
|
|
799
|
+
$ apify call [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
577
800
|
<value>] [-s] [-o]
|
|
578
801
|
|
|
579
802
|
ARGUMENTS
|
|
@@ -581,15 +804,17 @@ ARGUMENTS
|
|
|
581
804
|
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
582
805
|
|
|
583
806
|
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
|
-
|
|
807
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
808
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
809
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
810
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
811
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
812
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
813
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
814
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
815
|
+
|
|
816
|
+
GLOBAL FLAGS
|
|
817
|
+
--json Format output as json.
|
|
593
818
|
|
|
594
819
|
DESCRIPTION
|
|
595
820
|
Runs a specific Actor remotely on the Apify cloud platform.
|
|
@@ -597,7 +822,7 @@ DESCRIPTION
|
|
|
597
822
|
takes input for the Actor from the default local key-value store by default.
|
|
598
823
|
```
|
|
599
824
|
|
|
600
|
-
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
825
|
+
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/call.ts)_
|
|
601
826
|
|
|
602
827
|
## `apify create [ACTORNAME]`
|
|
603
828
|
|
|
@@ -622,7 +847,7 @@ DESCRIPTION
|
|
|
622
847
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
623
848
|
```
|
|
624
849
|
|
|
625
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
850
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/create.ts)_
|
|
626
851
|
|
|
627
852
|
## `apify datasets`
|
|
628
853
|
|
|
@@ -636,7 +861,129 @@ DESCRIPTION
|
|
|
636
861
|
Commands are designed to be used with Datasets.
|
|
637
862
|
```
|
|
638
863
|
|
|
639
|
-
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
864
|
+
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/index.ts)_
|
|
865
|
+
|
|
866
|
+
## `apify datasets create [DATASETNAME]`
|
|
867
|
+
|
|
868
|
+
Creates a new Dataset on your account
|
|
869
|
+
|
|
870
|
+
```
|
|
871
|
+
USAGE
|
|
872
|
+
$ apify datasets create [DATASETNAME] [--json]
|
|
873
|
+
|
|
874
|
+
ARGUMENTS
|
|
875
|
+
DATASETNAME Optional name for the Dataset
|
|
876
|
+
|
|
877
|
+
GLOBAL FLAGS
|
|
878
|
+
--json Format output as json.
|
|
879
|
+
|
|
880
|
+
DESCRIPTION
|
|
881
|
+
Creates a new Dataset on your account
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
_See code: [src/commands/datasets/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/create.ts)_
|
|
885
|
+
|
|
886
|
+
## `apify datasets get-items DATASETID`
|
|
887
|
+
|
|
888
|
+
Exports the items present in a Dataset.
|
|
889
|
+
|
|
890
|
+
```
|
|
891
|
+
USAGE
|
|
892
|
+
$ apify datasets get-items DATASETID [--limit <value>] [--offset <value>] [--format json|jsonl|csv|html|rss|xml|xlsx]
|
|
893
|
+
|
|
894
|
+
ARGUMENTS
|
|
895
|
+
DATASETID The ID of the Dataset to export the items for
|
|
896
|
+
|
|
897
|
+
FLAGS
|
|
898
|
+
--format=<option> [default: json] The format of the returned output. By default, it is set to 'json'
|
|
899
|
+
<options: json|jsonl|csv|html|rss|xml|xlsx>
|
|
900
|
+
--limit=<value> The amount of elements to get from the dataset. By default, it will return all available items.
|
|
901
|
+
--offset=<value> The offset in the dataset where to start getting items.
|
|
902
|
+
|
|
903
|
+
DESCRIPTION
|
|
904
|
+
Exports the items present in a Dataset.
|
|
905
|
+
```
|
|
906
|
+
|
|
907
|
+
_See code: [src/commands/datasets/get-items.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/get-items.ts)_
|
|
908
|
+
|
|
909
|
+
## `apify datasets ls`
|
|
910
|
+
|
|
911
|
+
Lists all Datasets on your account.
|
|
912
|
+
|
|
913
|
+
```
|
|
914
|
+
USAGE
|
|
915
|
+
$ apify datasets ls [--json] [--offset <value>] [--limit <value>] [--desc] [--unnamed]
|
|
916
|
+
|
|
917
|
+
FLAGS
|
|
918
|
+
--desc Sorts Datasets in descending order.
|
|
919
|
+
--limit=<value> [default: 20] Number of Datasets that will be listed.
|
|
920
|
+
--offset=<value> Number of Datasets that will be skipped.
|
|
921
|
+
--unnamed Lists Datasets that don't have a name set.
|
|
922
|
+
|
|
923
|
+
GLOBAL FLAGS
|
|
924
|
+
--json Format output as json.
|
|
925
|
+
|
|
926
|
+
DESCRIPTION
|
|
927
|
+
Lists all Datasets on your account.
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
_See code: [src/commands/datasets/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/ls.ts)_
|
|
931
|
+
|
|
932
|
+
## `apify datasets push-items NAMEORID [ITEM]`
|
|
933
|
+
|
|
934
|
+
Pushes an object or an array of objects to the provided Dataset.
|
|
935
|
+
|
|
936
|
+
```
|
|
937
|
+
USAGE
|
|
938
|
+
$ apify datasets push-items NAMEORID [ITEM]
|
|
939
|
+
|
|
940
|
+
ARGUMENTS
|
|
941
|
+
NAMEORID The Dataset ID or name to push the objects to
|
|
942
|
+
ITEM The object or array of objects to be pushed.
|
|
943
|
+
|
|
944
|
+
DESCRIPTION
|
|
945
|
+
Pushes an object or an array of objects to the provided Dataset.
|
|
946
|
+
```
|
|
947
|
+
|
|
948
|
+
_See code: [src/commands/datasets/push-items.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/push-items.ts)_
|
|
949
|
+
|
|
950
|
+
## `apify datasets rename NAMEORID [NEWNAME]`
|
|
951
|
+
|
|
952
|
+
Renames a Dataset, or removes its unique name
|
|
953
|
+
|
|
954
|
+
```
|
|
955
|
+
USAGE
|
|
956
|
+
$ apify datasets rename NAMEORID [NEWNAME] [--unname]
|
|
957
|
+
|
|
958
|
+
ARGUMENTS
|
|
959
|
+
NAMEORID The Dataset ID or name to delete
|
|
960
|
+
NEWNAME The new name for the Dataset
|
|
961
|
+
|
|
962
|
+
FLAGS
|
|
963
|
+
--unname Removes the unique name of the Dataset
|
|
964
|
+
|
|
965
|
+
DESCRIPTION
|
|
966
|
+
Renames a Dataset, or removes its unique name
|
|
967
|
+
```
|
|
968
|
+
|
|
969
|
+
_See code: [src/commands/datasets/rename.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/rename.ts)_
|
|
970
|
+
|
|
971
|
+
## `apify datasets rm DATASETNAMEORID`
|
|
972
|
+
|
|
973
|
+
Deletes a Dataset
|
|
974
|
+
|
|
975
|
+
```
|
|
976
|
+
USAGE
|
|
977
|
+
$ apify datasets rm DATASETNAMEORID
|
|
978
|
+
|
|
979
|
+
ARGUMENTS
|
|
980
|
+
DATASETNAMEORID The Dataset ID or name to delete
|
|
981
|
+
|
|
982
|
+
DESCRIPTION
|
|
983
|
+
Deletes a Dataset
|
|
984
|
+
```
|
|
985
|
+
|
|
986
|
+
_See code: [src/commands/datasets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/datasets/rm.ts)_
|
|
640
987
|
|
|
641
988
|
## `apify help [COMMAND]`
|
|
642
989
|
|
|
@@ -656,7 +1003,7 @@ DESCRIPTION
|
|
|
656
1003
|
Display help for apify.
|
|
657
1004
|
```
|
|
658
1005
|
|
|
659
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
1006
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.20/src/commands/help.ts)_
|
|
660
1007
|
|
|
661
1008
|
## `apify info`
|
|
662
1009
|
|
|
@@ -671,7 +1018,7 @@ DESCRIPTION
|
|
|
671
1018
|
The information is printed to the console.
|
|
672
1019
|
```
|
|
673
1020
|
|
|
674
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1021
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/info.ts)_
|
|
675
1022
|
|
|
676
1023
|
## `apify init [ACTORNAME]`
|
|
677
1024
|
|
|
@@ -699,7 +1046,7 @@ DESCRIPTION
|
|
|
699
1046
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
700
1047
|
```
|
|
701
1048
|
|
|
702
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1049
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/init.ts)_
|
|
703
1050
|
|
|
704
1051
|
## `apify key-value-stores`
|
|
705
1052
|
|
|
@@ -711,9 +1058,178 @@ USAGE
|
|
|
711
1058
|
|
|
712
1059
|
DESCRIPTION
|
|
713
1060
|
Commands are designed to be used with Key Value Stores.
|
|
1061
|
+
|
|
1062
|
+
Aliases: kvs
|
|
1063
|
+
```
|
|
1064
|
+
|
|
1065
|
+
_See code: [src/commands/key-value-stores/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/index.ts)_
|
|
1066
|
+
|
|
1067
|
+
## `apify key-value-stores create [KEYVALUESTORENAME]`
|
|
1068
|
+
|
|
1069
|
+
Creates a new Key-value store on your account
|
|
1070
|
+
|
|
1071
|
+
```
|
|
1072
|
+
USAGE
|
|
1073
|
+
$ apify key-value-stores create [KEYVALUESTORENAME] [--json]
|
|
1074
|
+
|
|
1075
|
+
ARGUMENTS
|
|
1076
|
+
KEYVALUESTORENAME Optional name for the Key-value store
|
|
1077
|
+
|
|
1078
|
+
GLOBAL FLAGS
|
|
1079
|
+
--json Format output as json.
|
|
1080
|
+
|
|
1081
|
+
DESCRIPTION
|
|
1082
|
+
Creates a new Key-value store on your account
|
|
1083
|
+
```
|
|
1084
|
+
|
|
1085
|
+
_See code: [src/commands/key-value-stores/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/create.ts)_
|
|
1086
|
+
|
|
1087
|
+
## `apify key-value-stores delete-value STOREID ITEMKEY`
|
|
1088
|
+
|
|
1089
|
+
Delete a value from a key-value store.
|
|
1090
|
+
|
|
1091
|
+
```
|
|
1092
|
+
USAGE
|
|
1093
|
+
$ apify key-value-stores delete-value STOREID ITEMKEY
|
|
1094
|
+
|
|
1095
|
+
ARGUMENTS
|
|
1096
|
+
STOREID The key-value store ID to delete the value from.
|
|
1097
|
+
ITEMKEY The key of the item in the key-value store.
|
|
1098
|
+
|
|
1099
|
+
DESCRIPTION
|
|
1100
|
+
Delete a value from a key-value store.
|
|
1101
|
+
```
|
|
1102
|
+
|
|
1103
|
+
_See code: [src/commands/key-value-stores/delete-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/delete-value.ts)_
|
|
1104
|
+
|
|
1105
|
+
## `apify key-value-stores get-value KEYVALUESTOREID ITEMKEY`
|
|
1106
|
+
|
|
1107
|
+
Gets a value by key in the given key-value store.
|
|
1108
|
+
|
|
1109
|
+
```
|
|
1110
|
+
USAGE
|
|
1111
|
+
$ apify key-value-stores get-value KEYVALUESTOREID ITEMKEY [--only-content-type]
|
|
1112
|
+
|
|
1113
|
+
ARGUMENTS
|
|
1114
|
+
KEYVALUESTOREID The key-value store ID to get the value from.
|
|
1115
|
+
ITEMKEY The key of the item in the key-value store.
|
|
1116
|
+
|
|
1117
|
+
FLAGS
|
|
1118
|
+
--only-content-type Only return the content type of the specified key
|
|
1119
|
+
|
|
1120
|
+
DESCRIPTION
|
|
1121
|
+
Gets a value by key in the given key-value store.
|
|
1122
|
+
```
|
|
1123
|
+
|
|
1124
|
+
_See code: [src/commands/key-value-stores/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/get-value.ts)_
|
|
1125
|
+
|
|
1126
|
+
## `apify key-value-stores keys STOREID`
|
|
1127
|
+
|
|
1128
|
+
Lists all keys in a key-value store.
|
|
1129
|
+
|
|
1130
|
+
```
|
|
1131
|
+
USAGE
|
|
1132
|
+
$ apify key-value-stores keys STOREID [--json] [--limit <value>] [--exclusive-start-key <value>]
|
|
1133
|
+
|
|
1134
|
+
ARGUMENTS
|
|
1135
|
+
STOREID The key-value store ID to list keys for.
|
|
1136
|
+
|
|
1137
|
+
FLAGS
|
|
1138
|
+
--exclusive-start-key=<value> The key to start the list from.
|
|
1139
|
+
--limit=<value> [default: 20] The maximum number of keys to return.
|
|
1140
|
+
|
|
1141
|
+
GLOBAL FLAGS
|
|
1142
|
+
--json Format output as json.
|
|
1143
|
+
|
|
1144
|
+
DESCRIPTION
|
|
1145
|
+
Lists all keys in a key-value store.
|
|
1146
|
+
```
|
|
1147
|
+
|
|
1148
|
+
_See code: [src/commands/key-value-stores/keys.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/keys.ts)_
|
|
1149
|
+
|
|
1150
|
+
## `apify key-value-stores ls`
|
|
1151
|
+
|
|
1152
|
+
Lists all Key-value stores on your account.
|
|
1153
|
+
|
|
1154
|
+
```
|
|
1155
|
+
USAGE
|
|
1156
|
+
$ apify key-value-stores ls [--json] [--offset <value>] [--limit <value>] [--desc] [--unnamed]
|
|
1157
|
+
|
|
1158
|
+
FLAGS
|
|
1159
|
+
--desc Sorts Key-value stores in descending order.
|
|
1160
|
+
--limit=<value> [default: 20] Number of Key-value stores that will be listed.
|
|
1161
|
+
--offset=<value> Number of Key-value stores that will be skipped.
|
|
1162
|
+
--unnamed Lists Key-value stores that don't have a name set.
|
|
1163
|
+
|
|
1164
|
+
GLOBAL FLAGS
|
|
1165
|
+
--json Format output as json.
|
|
1166
|
+
|
|
1167
|
+
DESCRIPTION
|
|
1168
|
+
Lists all Key-value stores on your account.
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
_See code: [src/commands/key-value-stores/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/ls.ts)_
|
|
1172
|
+
|
|
1173
|
+
## `apify key-value-stores rename KEYVALUESTORENAMEORID [NEWNAME]`
|
|
1174
|
+
|
|
1175
|
+
Renames a Key-value store, or removes its unique name
|
|
1176
|
+
|
|
1177
|
+
```
|
|
1178
|
+
USAGE
|
|
1179
|
+
$ apify key-value-stores rename KEYVALUESTORENAMEORID [NEWNAME] [--unname]
|
|
1180
|
+
|
|
1181
|
+
ARGUMENTS
|
|
1182
|
+
KEYVALUESTORENAMEORID The Key-value store ID or name to delete
|
|
1183
|
+
NEWNAME The new name for the Key-value store
|
|
1184
|
+
|
|
1185
|
+
FLAGS
|
|
1186
|
+
--unname Removes the unique name of the Key-value store
|
|
1187
|
+
|
|
1188
|
+
DESCRIPTION
|
|
1189
|
+
Renames a Key-value store, or removes its unique name
|
|
1190
|
+
```
|
|
1191
|
+
|
|
1192
|
+
_See code: [src/commands/key-value-stores/rename.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/rename.ts)_
|
|
1193
|
+
|
|
1194
|
+
## `apify key-value-stores rm KEYVALUESTORENAMEORID`
|
|
1195
|
+
|
|
1196
|
+
Deletes a Key-value store
|
|
1197
|
+
|
|
1198
|
+
```
|
|
1199
|
+
USAGE
|
|
1200
|
+
$ apify key-value-stores rm KEYVALUESTORENAMEORID
|
|
1201
|
+
|
|
1202
|
+
ARGUMENTS
|
|
1203
|
+
KEYVALUESTORENAMEORID The Key-value store ID or name to delete
|
|
1204
|
+
|
|
1205
|
+
DESCRIPTION
|
|
1206
|
+
Deletes a Key-value store
|
|
714
1207
|
```
|
|
715
1208
|
|
|
716
|
-
_See code: [src/commands/key-value-stores/
|
|
1209
|
+
_See code: [src/commands/key-value-stores/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/rm.ts)_
|
|
1210
|
+
|
|
1211
|
+
## `apify key-value-stores set-value STOREID ITEMKEY [VALUE]`
|
|
1212
|
+
|
|
1213
|
+
Sets a value in a key-value store.
|
|
1214
|
+
|
|
1215
|
+
```
|
|
1216
|
+
USAGE
|
|
1217
|
+
$ apify key-value-stores set-value STOREID ITEMKEY [VALUE] [--content-type <value>]
|
|
1218
|
+
|
|
1219
|
+
ARGUMENTS
|
|
1220
|
+
STOREID The key-value store ID to set the value in.
|
|
1221
|
+
ITEMKEY The key of the item in the key-value store.
|
|
1222
|
+
VALUE The value to set.
|
|
1223
|
+
|
|
1224
|
+
FLAGS
|
|
1225
|
+
--content-type=<value> [default: application/json] The MIME content type of the value. By default, "application/json"
|
|
1226
|
+
is assumed.
|
|
1227
|
+
|
|
1228
|
+
DESCRIPTION
|
|
1229
|
+
Sets a value in a key-value store.
|
|
1230
|
+
```
|
|
1231
|
+
|
|
1232
|
+
_See code: [src/commands/key-value-stores/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/key-value-stores/set-value.ts)_
|
|
717
1233
|
|
|
718
1234
|
## `apify login`
|
|
719
1235
|
|
|
@@ -734,7 +1250,7 @@ DESCRIPTION
|
|
|
734
1250
|
"apify" commands. To log out, call "apify logout".
|
|
735
1251
|
```
|
|
736
1252
|
|
|
737
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1253
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/login.ts)_
|
|
738
1254
|
|
|
739
1255
|
## `apify logout`
|
|
740
1256
|
|
|
@@ -750,7 +1266,7 @@ DESCRIPTION
|
|
|
750
1266
|
call "apify login".
|
|
751
1267
|
```
|
|
752
1268
|
|
|
753
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1269
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/logout.ts)_
|
|
754
1270
|
|
|
755
1271
|
## `apify pull [ACTORID]`
|
|
756
1272
|
|
|
@@ -758,7 +1274,7 @@ Pulls an Actor from the Apify platform to the current directory. If it is define
|
|
|
758
1274
|
|
|
759
1275
|
```
|
|
760
1276
|
USAGE
|
|
761
|
-
$ apify pull [ACTORID] [-v <value>]
|
|
1277
|
+
$ apify pull [ACTORID] [-v <value>] [--dir <value>]
|
|
762
1278
|
|
|
763
1279
|
ARGUMENTS
|
|
764
1280
|
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -766,13 +1282,14 @@ ARGUMENTS
|
|
|
766
1282
|
|
|
767
1283
|
FLAGS
|
|
768
1284
|
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
1285
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
769
1286
|
|
|
770
1287
|
DESCRIPTION
|
|
771
1288
|
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
772
1289
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
773
1290
|
```
|
|
774
1291
|
|
|
775
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1292
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/pull.ts)_
|
|
776
1293
|
|
|
777
1294
|
## `apify push [ACTORID]`
|
|
778
1295
|
|
|
@@ -780,8 +1297,7 @@ Uploads the Actor to the Apify platform and builds it there.
|
|
|
780
1297
|
|
|
781
1298
|
```
|
|
782
1299
|
USAGE
|
|
783
|
-
$ apify push [ACTORID] [
|
|
784
|
-
[--force]
|
|
1300
|
+
$ apify push [ACTORID] [-v <value>] [-b <value>] [-w <value>] [--no-prompt] [--force] [--dir <value>]
|
|
785
1301
|
|
|
786
1302
|
ARGUMENTS
|
|
787
1303
|
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -793,11 +1309,10 @@ FLAGS
|
|
|
793
1309
|
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
794
1310
|
the ".actor/actor.json" file.
|
|
795
1311
|
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
1312
|
+
--dir=<value> Directory where the Actor is located
|
|
796
1313
|
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
797
1314
|
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
798
1315
|
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
1316
|
|
|
802
1317
|
DESCRIPTION
|
|
803
1318
|
Uploads the Actor to the Apify platform and builds it there.
|
|
@@ -810,7 +1325,7 @@ DESCRIPTION
|
|
|
810
1325
|
overwritten with --force flag.
|
|
811
1326
|
```
|
|
812
1327
|
|
|
813
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1328
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/push.ts)_
|
|
814
1329
|
|
|
815
1330
|
## `apify request-queues`
|
|
816
1331
|
|
|
@@ -824,7 +1339,7 @@ DESCRIPTION
|
|
|
824
1339
|
Commands are designed to be used with Request Queues.
|
|
825
1340
|
```
|
|
826
1341
|
|
|
827
|
-
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1342
|
+
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/request-queues/index.ts)_
|
|
828
1343
|
|
|
829
1344
|
## `apify run`
|
|
830
1345
|
|
|
@@ -860,7 +1375,7 @@ DESCRIPTION
|
|
|
860
1375
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
861
1376
|
```
|
|
862
1377
|
|
|
863
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1378
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/run.ts)_
|
|
864
1379
|
|
|
865
1380
|
## `apify runs`
|
|
866
1381
|
|
|
@@ -874,7 +1389,7 @@ DESCRIPTION
|
|
|
874
1389
|
Commands are designed to be used with Actor Runs.
|
|
875
1390
|
```
|
|
876
1391
|
|
|
877
|
-
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1392
|
+
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/index.ts)_
|
|
878
1393
|
|
|
879
1394
|
## `apify runs abort RUNID`
|
|
880
1395
|
|
|
@@ -897,7 +1412,7 @@ DESCRIPTION
|
|
|
897
1412
|
Aborts an Actor Run.
|
|
898
1413
|
```
|
|
899
1414
|
|
|
900
|
-
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1415
|
+
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/abort.ts)_
|
|
901
1416
|
|
|
902
1417
|
## `apify runs info RUNID`
|
|
903
1418
|
|
|
@@ -920,7 +1435,7 @@ DESCRIPTION
|
|
|
920
1435
|
Prints information about an Actor Run.
|
|
921
1436
|
```
|
|
922
1437
|
|
|
923
|
-
_See code: [src/commands/runs/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1438
|
+
_See code: [src/commands/runs/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/info.ts)_
|
|
924
1439
|
|
|
925
1440
|
## `apify runs log RUNID`
|
|
926
1441
|
|
|
@@ -937,20 +1452,21 @@ DESCRIPTION
|
|
|
937
1452
|
Prints the log of a specific run.
|
|
938
1453
|
```
|
|
939
1454
|
|
|
940
|
-
_See code: [src/commands/runs/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1455
|
+
_See code: [src/commands/runs/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/log.ts)_
|
|
941
1456
|
|
|
942
|
-
## `apify runs ls`
|
|
1457
|
+
## `apify runs ls [ACTORID]`
|
|
943
1458
|
|
|
944
1459
|
Lists all runs of the Actor.
|
|
945
1460
|
|
|
946
1461
|
```
|
|
947
1462
|
USAGE
|
|
948
|
-
$ apify runs ls [
|
|
1463
|
+
$ apify runs ls [ACTORID] [--json] [--offset <value>] [--limit <value>] [--desc] [-c]
|
|
1464
|
+
|
|
1465
|
+
ARGUMENTS
|
|
1466
|
+
ACTORID Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.
|
|
949
1467
|
|
|
950
1468
|
FLAGS
|
|
951
1469
|
-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
1470
|
--desc Sort runs in descending order.
|
|
955
1471
|
--limit=<value> [default: 10] Number of runs that will be listed.
|
|
956
1472
|
--offset=<value> Number of runs that will be skipped.
|
|
@@ -962,7 +1478,7 @@ DESCRIPTION
|
|
|
962
1478
|
Lists all runs of the Actor.
|
|
963
1479
|
```
|
|
964
1480
|
|
|
965
|
-
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1481
|
+
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/ls.ts)_
|
|
966
1482
|
|
|
967
1483
|
## `apify runs resurrect RUNID`
|
|
968
1484
|
|
|
@@ -982,7 +1498,7 @@ DESCRIPTION
|
|
|
982
1498
|
Resurrects an aborted or finished Actor Run.
|
|
983
1499
|
```
|
|
984
1500
|
|
|
985
|
-
_See code: [src/commands/runs/resurrect.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1501
|
+
_See code: [src/commands/runs/resurrect.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/resurrect.ts)_
|
|
986
1502
|
|
|
987
1503
|
## `apify runs rm RUNID`
|
|
988
1504
|
|
|
@@ -999,7 +1515,7 @@ DESCRIPTION
|
|
|
999
1515
|
Deletes an Actor Run.
|
|
1000
1516
|
```
|
|
1001
1517
|
|
|
1002
|
-
_See code: [src/commands/runs/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1518
|
+
_See code: [src/commands/runs/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/runs/rm.ts)_
|
|
1003
1519
|
|
|
1004
1520
|
## `apify secrets`
|
|
1005
1521
|
|
|
@@ -1029,7 +1545,7 @@ DESCRIPTION
|
|
|
1029
1545
|
of the Actor.
|
|
1030
1546
|
```
|
|
1031
1547
|
|
|
1032
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1548
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/secrets/index.ts)_
|
|
1033
1549
|
|
|
1034
1550
|
## `apify secrets add NAME VALUE`
|
|
1035
1551
|
|
|
@@ -1048,7 +1564,7 @@ DESCRIPTION
|
|
|
1048
1564
|
The secrets are stored to a file at ~/.apify
|
|
1049
1565
|
```
|
|
1050
1566
|
|
|
1051
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1567
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/secrets/add.ts)_
|
|
1052
1568
|
|
|
1053
1569
|
## `apify secrets rm NAME`
|
|
1054
1570
|
|
|
@@ -1065,7 +1581,7 @@ DESCRIPTION
|
|
|
1065
1581
|
Removes the secret.
|
|
1066
1582
|
```
|
|
1067
1583
|
|
|
1068
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1584
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/secrets/rm.ts)_
|
|
1069
1585
|
|
|
1070
1586
|
## `apify task`
|
|
1071
1587
|
|
|
@@ -1079,7 +1595,7 @@ DESCRIPTION
|
|
|
1079
1595
|
Commands are designed to be used to interact with Tasks.
|
|
1080
1596
|
```
|
|
1081
1597
|
|
|
1082
|
-
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1598
|
+
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/task/index.ts)_
|
|
1083
1599
|
|
|
1084
1600
|
## `apify task run TASKID`
|
|
1085
1601
|
|
|
@@ -1087,16 +1603,15 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
1087
1603
|
|
|
1088
1604
|
```
|
|
1089
1605
|
USAGE
|
|
1090
|
-
$ apify task run TASKID [-b <value>] [-t <value>] [-m <value>]
|
|
1606
|
+
$ apify task run TASKID [-b <value>] [-t <value>] [-m <value>]
|
|
1091
1607
|
|
|
1092
1608
|
ARGUMENTS
|
|
1093
1609
|
TASKID Name or ID of the Task to run (e.g. "my-task" or "E2jjCZBezvAZnX8Rb").
|
|
1094
1610
|
|
|
1095
1611
|
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.
|
|
1612
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
1613
|
+
-m, --memory=<value> Amount of memory allocated for the Task run, in megabytes.
|
|
1614
|
+
-t, --timeout=<value> Timeout for the Task run in seconds. Zero value means there is no timeout.
|
|
1100
1615
|
|
|
1101
1616
|
DESCRIPTION
|
|
1102
1617
|
Runs a specific Actor remotely on the Apify cloud platform.
|
|
@@ -1104,7 +1619,7 @@ DESCRIPTION
|
|
|
1104
1619
|
takes input for the Actor from the default local key-value store by default.
|
|
1105
1620
|
```
|
|
1106
1621
|
|
|
1107
|
-
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1622
|
+
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/task/run.ts)_
|
|
1108
1623
|
|
|
1109
1624
|
## `apify validate-schema [PATH]`
|
|
1110
1625
|
|
|
@@ -1129,6 +1644,6 @@ DESCRIPTION
|
|
|
1129
1644
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
1130
1645
|
```
|
|
1131
1646
|
|
|
1132
|
-
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1647
|
+
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.80/src/commands/validate-schema.ts)_
|
|
1133
1648
|
<!-- commandsstop -->
|
|
1134
1649
|
<!-- prettier-ignore-end -->
|