apify-cli 0.21.0-beta.3 → 0.21.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +370 -68
- package/dist/.tsbuildinfo +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 +241 -0
- package/dist/commands/actors/call.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 +183 -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 +166 -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 +321 -0
- package/dist/commands/actors/push.js.map +1 -0
- package/dist/commands/actors/rm.d.ts +9 -0
- package/dist/commands/actors/rm.d.ts.map +1 -0
- package/dist/commands/actors/rm.js +52 -0
- package/dist/commands/actors/rm.js.map +1 -0
- 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 +144 -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 +26 -8
- package/dist/commands/builds/create.js.map +1 -1
- package/dist/commands/builds/info.js +3 -3
- 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 +5 -2
- 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 +24 -9
- package/dist/commands/builds/ls.js.map +1 -1
- package/dist/commands/builds/rm.d.ts +9 -0
- package/dist/commands/builds/rm.d.ts.map +1 -0
- package/dist/commands/builds/rm.js +68 -0
- package/dist/commands/builds/rm.js.map +1 -0
- 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/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/run.d.ts.map +1 -1
- package/dist/commands/run.js +15 -0
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/runs/abort.d.ts.map +1 -1
- package/dist/commands/runs/abort.js +6 -4
- package/dist/commands/runs/abort.js.map +1 -1
- package/dist/commands/runs/info.d.ts +45 -0
- package/dist/commands/runs/info.d.ts.map +1 -0
- package/dist/commands/runs/info.js +256 -0
- package/dist/commands/runs/info.js.map +1 -0
- package/dist/commands/runs/log.d.ts +9 -0
- package/dist/commands/runs/log.d.ts.map +1 -0
- package/dist/commands/runs/log.js +41 -0
- package/dist/commands/runs/log.js.map +1 -0
- 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 +18 -9
- package/dist/commands/runs/ls.js.map +1 -1
- package/dist/commands/runs/resurrect.d.ts +10 -0
- package/dist/commands/runs/resurrect.d.ts.map +1 -0
- package/dist/commands/runs/resurrect.js +68 -0
- package/dist/commands/runs/resurrect.js.map +1 -0
- package/dist/commands/runs/rm.d.ts +9 -0
- package/dist/commands/runs/rm.d.ts.map +1 -0
- package/dist/commands/runs/rm.js +67 -0
- package/dist/commands/runs/rm.js.map +1 -0
- 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 +20 -5
- package/dist/commands/task/run.js.map +1 -1
- package/dist/lib/apify_command.d.ts +1 -0
- package/dist/lib/apify_command.d.ts.map +1 -1
- package/dist/lib/apify_command.js +3 -0
- package/dist/lib/apify_command.js.map +1 -1
- package/dist/lib/commands/confirm.d.ts +6 -0
- package/dist/lib/commands/confirm.d.ts.map +1 -0
- package/dist/lib/commands/confirm.js +26 -0
- package/dist/lib/commands/confirm.js.map +1 -0
- package/dist/lib/commands/pretty-print-bytes.d.ts +1 -1
- package/dist/lib/commands/pretty-print-bytes.d.ts.map +1 -1
- package/dist/lib/commands/pretty-print-bytes.js +6 -3
- package/dist/lib/commands/pretty-print-bytes.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 +34 -2
- 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/consts.d.ts.map +1 -1
- package/dist/lib/consts.js +11 -1
- package/dist/lib/consts.js.map +1 -1
- package/dist/lib/input_schema.d.ts.map +1 -1
- package/dist/lib/input_schema.js +14 -12
- package/dist/lib/input_schema.js.map +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- 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 +741 -151
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -288,11 +288,19 @@ 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 ls`](#apify-actors-ls)
|
|
294
|
+
* [`apify actors pull [ACTORID]`](#apify-actors-pull-actorid)
|
|
295
|
+
* [`apify actors push [ACTORID]`](#apify-actors-push-actorid)
|
|
296
|
+
* [`apify actors rm ACTORID`](#apify-actors-rm-actorid)
|
|
297
|
+
* [`apify actors start [ACTORID]`](#apify-actors-start-actorid)
|
|
291
298
|
* [`apify builds`](#apify-builds)
|
|
292
|
-
* [`apify builds create`](#apify-builds-create)
|
|
299
|
+
* [`apify builds create [ACTORID]`](#apify-builds-create-actorid)
|
|
293
300
|
* [`apify builds info BUILDID`](#apify-builds-info-buildid)
|
|
294
301
|
* [`apify builds log BUILDID`](#apify-builds-log-buildid)
|
|
295
|
-
* [`apify builds ls`](#apify-builds-ls)
|
|
302
|
+
* [`apify builds ls [ACTORID]`](#apify-builds-ls-actorid)
|
|
303
|
+
* [`apify builds rm BUILDID`](#apify-builds-rm-buildid)
|
|
296
304
|
* [`apify call [ACTORID]`](#apify-call-actorid)
|
|
297
305
|
* [`apify create [ACTORNAME]`](#apify-create-actorname)
|
|
298
306
|
* [`apify datasets`](#apify-datasets)
|
|
@@ -308,7 +316,11 @@ This section contains printouts of `apify help` for all commands.
|
|
|
308
316
|
* [`apify run`](#apify-run)
|
|
309
317
|
* [`apify runs`](#apify-runs)
|
|
310
318
|
* [`apify runs abort RUNID`](#apify-runs-abort-runid)
|
|
311
|
-
* [`apify runs
|
|
319
|
+
* [`apify runs info RUNID`](#apify-runs-info-runid)
|
|
320
|
+
* [`apify runs log RUNID`](#apify-runs-log-runid)
|
|
321
|
+
* [`apify runs ls [ACTORID]`](#apify-runs-ls-actorid)
|
|
322
|
+
* [`apify runs resurrect RUNID`](#apify-runs-resurrect-runid)
|
|
323
|
+
* [`apify runs rm RUNID`](#apify-runs-rm-runid)
|
|
312
324
|
* [`apify secrets`](#apify-secrets)
|
|
313
325
|
* [`apify secrets add NAME VALUE`](#apify-secrets-add-name-value)
|
|
314
326
|
* [`apify secrets rm NAME`](#apify-secrets-rm-name)
|
|
@@ -328,7 +340,7 @@ DESCRIPTION
|
|
|
328
340
|
Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.
|
|
329
341
|
```
|
|
330
342
|
|
|
331
|
-
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
343
|
+
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actor/index.ts)_
|
|
332
344
|
|
|
333
345
|
## `apify actor get-input`
|
|
334
346
|
|
|
@@ -342,7 +354,7 @@ DESCRIPTION
|
|
|
342
354
|
Gets the Actor input value from the default key-value store associated with the Actor run.
|
|
343
355
|
```
|
|
344
356
|
|
|
345
|
-
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
357
|
+
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actor/get-input.ts)_
|
|
346
358
|
|
|
347
359
|
## `apify actor get-value KEY`
|
|
348
360
|
|
|
@@ -359,7 +371,7 @@ DESCRIPTION
|
|
|
359
371
|
Gets a value from the default key-value store associated with the Actor run.
|
|
360
372
|
```
|
|
361
373
|
|
|
362
|
-
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
374
|
+
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actor/get-value.ts)_
|
|
363
375
|
|
|
364
376
|
## `apify actor push-data [ITEM]`
|
|
365
377
|
|
|
@@ -381,7 +393,7 @@ DESCRIPTION
|
|
|
381
393
|
$ cat ./test.json | apify actor push-data
|
|
382
394
|
```
|
|
383
395
|
|
|
384
|
-
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
396
|
+
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actor/push-data.ts)_
|
|
385
397
|
|
|
386
398
|
## `apify actor set-value KEY [VALUE]`
|
|
387
399
|
|
|
@@ -410,7 +422,7 @@ DESCRIPTION
|
|
|
410
422
|
$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain
|
|
411
423
|
```
|
|
412
424
|
|
|
413
|
-
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
425
|
+
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actor/set-value.ts)_
|
|
414
426
|
|
|
415
427
|
## `apify actors`
|
|
416
428
|
|
|
@@ -424,7 +436,199 @@ DESCRIPTION
|
|
|
424
436
|
Commands are designed to be used with Actors.
|
|
425
437
|
```
|
|
426
438
|
|
|
427
|
-
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
439
|
+
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/index.ts)_
|
|
440
|
+
|
|
441
|
+
## `apify actors build [ACTORID]`
|
|
442
|
+
|
|
443
|
+
Creates a new build of the Actor.
|
|
444
|
+
|
|
445
|
+
```
|
|
446
|
+
USAGE
|
|
447
|
+
$ apify actors build [ACTORID] [--json] [--tag <value>] [--version <value>] [--log]
|
|
448
|
+
|
|
449
|
+
ARGUMENTS
|
|
450
|
+
ACTORID Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current
|
|
451
|
+
directory.
|
|
452
|
+
|
|
453
|
+
FLAGS
|
|
454
|
+
--log Whether to print out the build log after the build is triggered.
|
|
455
|
+
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
456
|
+
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
457
|
+
required when multiple versions have the same tag.
|
|
458
|
+
|
|
459
|
+
GLOBAL FLAGS
|
|
460
|
+
--json Format output as json.
|
|
461
|
+
|
|
462
|
+
DESCRIPTION
|
|
463
|
+
Creates a new build of the Actor.
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
_See code: [src/commands/actors/build.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/build.ts)_
|
|
467
|
+
|
|
468
|
+
## `apify actors call [ACTORID]`
|
|
469
|
+
|
|
470
|
+
Runs a specific Actor remotely on the Apify cloud platform.
|
|
471
|
+
|
|
472
|
+
```
|
|
473
|
+
USAGE
|
|
474
|
+
$ apify actors call [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
475
|
+
<value>] [-s] [-o]
|
|
476
|
+
|
|
477
|
+
ARGUMENTS
|
|
478
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
479
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
480
|
+
|
|
481
|
+
FLAGS
|
|
482
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
483
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
484
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
485
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
486
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
487
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
488
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
489
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
490
|
+
|
|
491
|
+
GLOBAL FLAGS
|
|
492
|
+
--json Format output as json.
|
|
493
|
+
|
|
494
|
+
DESCRIPTION
|
|
495
|
+
Runs a specific Actor remotely on the Apify cloud platform.
|
|
496
|
+
The Actor is run under your current Apify account. Therefore you need to be logged in by calling "apify login". It
|
|
497
|
+
takes input for the Actor from the default local key-value store by default.
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
_See code: [src/commands/actors/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/call.ts)_
|
|
501
|
+
|
|
502
|
+
## `apify actors ls`
|
|
503
|
+
|
|
504
|
+
Lists all recently ran Actors or your own Actors.
|
|
505
|
+
|
|
506
|
+
```
|
|
507
|
+
USAGE
|
|
508
|
+
$ apify actors ls [--json] [--my] [--offset <value>] [--limit <value>] [--desc]
|
|
509
|
+
|
|
510
|
+
FLAGS
|
|
511
|
+
--desc Sort Actors in descending order.
|
|
512
|
+
--limit=<value> [default: 20] Number of Actors that will be listed.
|
|
513
|
+
--my Whether to list Actors made by the logged in user.
|
|
514
|
+
--offset=<value> Number of Actors that will be skipped.
|
|
515
|
+
|
|
516
|
+
GLOBAL FLAGS
|
|
517
|
+
--json Format output as json.
|
|
518
|
+
|
|
519
|
+
DESCRIPTION
|
|
520
|
+
Lists all recently ran Actors or your own Actors.
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
_See code: [src/commands/actors/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/ls.ts)_
|
|
524
|
+
|
|
525
|
+
## `apify actors pull [ACTORID]`
|
|
526
|
+
|
|
527
|
+
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.
|
|
528
|
+
|
|
529
|
+
```
|
|
530
|
+
USAGE
|
|
531
|
+
$ apify actors pull [ACTORID] [-v <value>] [--dir <value>]
|
|
532
|
+
|
|
533
|
+
ARGUMENTS
|
|
534
|
+
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
535
|
+
command will update the Actor in the current directory based on its name in ".actor/actor.json" file.
|
|
536
|
+
|
|
537
|
+
FLAGS
|
|
538
|
+
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
539
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
540
|
+
|
|
541
|
+
DESCRIPTION
|
|
542
|
+
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
543
|
+
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
_See code: [src/commands/actors/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/pull.ts)_
|
|
547
|
+
|
|
548
|
+
## `apify actors push [ACTORID]`
|
|
549
|
+
|
|
550
|
+
Uploads the Actor to the Apify platform and builds it there.
|
|
551
|
+
|
|
552
|
+
```
|
|
553
|
+
USAGE
|
|
554
|
+
$ apify actors push [ACTORID] [-v <value>] [-b <value>] [-w <value>] [--no-prompt] [--force] [--dir <value>]
|
|
555
|
+
|
|
556
|
+
ARGUMENTS
|
|
557
|
+
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
558
|
+
command will create or modify the Actor with the name specified in ".actor/actor.json" file.
|
|
559
|
+
|
|
560
|
+
FLAGS
|
|
561
|
+
-b, --build-tag=<value> Build tag to be applied to the successful Actor build. By default, it is taken from the
|
|
562
|
+
".actor/actor.json" file
|
|
563
|
+
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
564
|
+
the ".actor/actor.json" file.
|
|
565
|
+
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
566
|
+
--dir=<value> Directory where the Actor is located
|
|
567
|
+
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
568
|
+
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
569
|
+
browser automatically.
|
|
570
|
+
|
|
571
|
+
DESCRIPTION
|
|
572
|
+
Uploads the Actor to the Apify platform and builds it there.
|
|
573
|
+
The Actor settings are read from the ".actor/actor.json" file in the current directory, but they can be overridden
|
|
574
|
+
using command-line options.
|
|
575
|
+
NOTE: If the source files are smaller than 3 MB then they are uploaded as
|
|
576
|
+
"Multiple source files", otherwise they are uploaded as "Zip file".
|
|
577
|
+
|
|
578
|
+
When there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be
|
|
579
|
+
overwritten with --force flag.
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
_See code: [src/commands/actors/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/push.ts)_
|
|
583
|
+
|
|
584
|
+
## `apify actors rm ACTORID`
|
|
585
|
+
|
|
586
|
+
Deletes an Actor.
|
|
587
|
+
|
|
588
|
+
```
|
|
589
|
+
USAGE
|
|
590
|
+
$ apify actors rm ACTORID
|
|
591
|
+
|
|
592
|
+
ARGUMENTS
|
|
593
|
+
ACTORID The Actor ID to delete.
|
|
594
|
+
|
|
595
|
+
DESCRIPTION
|
|
596
|
+
Deletes an Actor.
|
|
597
|
+
```
|
|
598
|
+
|
|
599
|
+
_See code: [src/commands/actors/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/rm.ts)_
|
|
600
|
+
|
|
601
|
+
## `apify actors start [ACTORID]`
|
|
602
|
+
|
|
603
|
+
Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.
|
|
604
|
+
|
|
605
|
+
```
|
|
606
|
+
USAGE
|
|
607
|
+
$ apify actors start [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
608
|
+
<value>]
|
|
609
|
+
|
|
610
|
+
ARGUMENTS
|
|
611
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
612
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
613
|
+
|
|
614
|
+
FLAGS
|
|
615
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
616
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
617
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
618
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
619
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
620
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
621
|
+
|
|
622
|
+
GLOBAL FLAGS
|
|
623
|
+
--json Format output as json.
|
|
624
|
+
|
|
625
|
+
DESCRIPTION
|
|
626
|
+
Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.
|
|
627
|
+
The Actor is run under your current Apify account. Therefore you need to be logged in by calling "apify login". It
|
|
628
|
+
takes input for the Actor from the default local key-value store by default.
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
_See code: [src/commands/actors/start.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/actors/start.ts)_
|
|
428
632
|
|
|
429
633
|
## `apify builds`
|
|
430
634
|
|
|
@@ -438,19 +642,21 @@ DESCRIPTION
|
|
|
438
642
|
Commands are designed to be used with Actor Builds.
|
|
439
643
|
```
|
|
440
644
|
|
|
441
|
-
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
645
|
+
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/builds/index.ts)_
|
|
442
646
|
|
|
443
|
-
## `apify builds create`
|
|
647
|
+
## `apify builds create [ACTORID]`
|
|
444
648
|
|
|
445
649
|
Creates a new build of the Actor.
|
|
446
650
|
|
|
447
651
|
```
|
|
448
652
|
USAGE
|
|
449
|
-
$ apify builds create [
|
|
653
|
+
$ apify builds create [ACTORID] [--json] [--tag <value>] [--version <value>] [--log]
|
|
654
|
+
|
|
655
|
+
ARGUMENTS
|
|
656
|
+
ACTORID Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current
|
|
657
|
+
directory.
|
|
450
658
|
|
|
451
659
|
FLAGS
|
|
452
|
-
--actor=<value> Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the
|
|
453
|
-
current directory.
|
|
454
660
|
--log Whether to print out the build log after the build is triggered.
|
|
455
661
|
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
456
662
|
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
@@ -463,7 +669,7 @@ DESCRIPTION
|
|
|
463
669
|
Creates a new build of the Actor.
|
|
464
670
|
```
|
|
465
671
|
|
|
466
|
-
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
672
|
+
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/builds/create.ts)_
|
|
467
673
|
|
|
468
674
|
## `apify builds info BUILDID`
|
|
469
675
|
|
|
@@ -483,7 +689,7 @@ DESCRIPTION
|
|
|
483
689
|
Prints information about a specific build.
|
|
484
690
|
```
|
|
485
691
|
|
|
486
|
-
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
692
|
+
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/builds/info.ts)_
|
|
487
693
|
|
|
488
694
|
## `apify builds log BUILDID`
|
|
489
695
|
|
|
@@ -500,20 +706,21 @@ DESCRIPTION
|
|
|
500
706
|
Prints the log of a specific build.
|
|
501
707
|
```
|
|
502
708
|
|
|
503
|
-
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
709
|
+
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/builds/log.ts)_
|
|
504
710
|
|
|
505
|
-
## `apify builds ls`
|
|
711
|
+
## `apify builds ls [ACTORID]`
|
|
506
712
|
|
|
507
713
|
Lists all builds of the Actor.
|
|
508
714
|
|
|
509
715
|
```
|
|
510
716
|
USAGE
|
|
511
|
-
$ apify builds ls [
|
|
717
|
+
$ apify builds ls [ACTORID] [--json] [--offset <value>] [--limit <value>] [--desc] [-c]
|
|
718
|
+
|
|
719
|
+
ARGUMENTS
|
|
720
|
+
ACTORID Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.
|
|
512
721
|
|
|
513
722
|
FLAGS
|
|
514
723
|
-c, --compact Display a compact table.
|
|
515
|
-
--actor=<value> Optional Actor ID or Name to list builds for. By default, it will use the Actor from the current
|
|
516
|
-
directory.
|
|
517
724
|
--desc Sort builds in descending order.
|
|
518
725
|
--limit=<value> [default: 10] Number of builds that will be listed.
|
|
519
726
|
--offset=<value> Number of builds that will be skipped.
|
|
@@ -525,7 +732,24 @@ DESCRIPTION
|
|
|
525
732
|
Lists all builds of the Actor.
|
|
526
733
|
```
|
|
527
734
|
|
|
528
|
-
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
735
|
+
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/builds/ls.ts)_
|
|
736
|
+
|
|
737
|
+
## `apify builds rm BUILDID`
|
|
738
|
+
|
|
739
|
+
Deletes an Actor Build.
|
|
740
|
+
|
|
741
|
+
```
|
|
742
|
+
USAGE
|
|
743
|
+
$ apify builds rm BUILDID
|
|
744
|
+
|
|
745
|
+
ARGUMENTS
|
|
746
|
+
BUILDID The build ID to delete.
|
|
747
|
+
|
|
748
|
+
DESCRIPTION
|
|
749
|
+
Deletes an Actor Build.
|
|
750
|
+
```
|
|
751
|
+
|
|
752
|
+
_See code: [src/commands/builds/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/builds/rm.ts)_
|
|
529
753
|
|
|
530
754
|
## `apify call [ACTORID]`
|
|
531
755
|
|
|
@@ -533,7 +757,7 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
533
757
|
|
|
534
758
|
```
|
|
535
759
|
USAGE
|
|
536
|
-
$ apify call [ACTORID] [-b <value>] [-t <value>] [-m <value>] [-
|
|
760
|
+
$ apify call [ACTORID] [--json] [-b <value>] [-t <value>] [-m <value>] [-i <value> | --input-file
|
|
537
761
|
<value>] [-s] [-o]
|
|
538
762
|
|
|
539
763
|
ARGUMENTS
|
|
@@ -541,15 +765,17 @@ ARGUMENTS
|
|
|
541
765
|
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
542
766
|
|
|
543
767
|
FLAGS
|
|
544
|
-
-b, --build=<value>
|
|
545
|
-
-i, --input=<value>
|
|
546
|
-
-m, --memory=<value>
|
|
547
|
-
-o, --output-dataset
|
|
548
|
-
-s, --silent
|
|
549
|
-
-t, --timeout=<value>
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
768
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
769
|
+
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
770
|
+
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
771
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
772
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
773
|
+
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
774
|
+
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a valid
|
|
775
|
+
JSON file. You can also specify `-` to read from standard input.
|
|
776
|
+
|
|
777
|
+
GLOBAL FLAGS
|
|
778
|
+
--json Format output as json.
|
|
553
779
|
|
|
554
780
|
DESCRIPTION
|
|
555
781
|
Runs a specific Actor remotely on the Apify cloud platform.
|
|
@@ -557,7 +783,7 @@ DESCRIPTION
|
|
|
557
783
|
takes input for the Actor from the default local key-value store by default.
|
|
558
784
|
```
|
|
559
785
|
|
|
560
|
-
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
786
|
+
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/call.ts)_
|
|
561
787
|
|
|
562
788
|
## `apify create [ACTORNAME]`
|
|
563
789
|
|
|
@@ -582,7 +808,7 @@ DESCRIPTION
|
|
|
582
808
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
583
809
|
```
|
|
584
810
|
|
|
585
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
811
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/create.ts)_
|
|
586
812
|
|
|
587
813
|
## `apify datasets`
|
|
588
814
|
|
|
@@ -596,7 +822,7 @@ DESCRIPTION
|
|
|
596
822
|
Commands are designed to be used with Datasets.
|
|
597
823
|
```
|
|
598
824
|
|
|
599
|
-
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
825
|
+
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/datasets/index.ts)_
|
|
600
826
|
|
|
601
827
|
## `apify help [COMMAND]`
|
|
602
828
|
|
|
@@ -616,7 +842,7 @@ DESCRIPTION
|
|
|
616
842
|
Display help for apify.
|
|
617
843
|
```
|
|
618
844
|
|
|
619
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
845
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.14/src/commands/help.ts)_
|
|
620
846
|
|
|
621
847
|
## `apify info`
|
|
622
848
|
|
|
@@ -631,7 +857,7 @@ DESCRIPTION
|
|
|
631
857
|
The information is printed to the console.
|
|
632
858
|
```
|
|
633
859
|
|
|
634
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
860
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/info.ts)_
|
|
635
861
|
|
|
636
862
|
## `apify init [ACTORNAME]`
|
|
637
863
|
|
|
@@ -659,7 +885,7 @@ DESCRIPTION
|
|
|
659
885
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
660
886
|
```
|
|
661
887
|
|
|
662
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
888
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/init.ts)_
|
|
663
889
|
|
|
664
890
|
## `apify key-value-stores`
|
|
665
891
|
|
|
@@ -673,7 +899,7 @@ DESCRIPTION
|
|
|
673
899
|
Commands are designed to be used with Key Value Stores.
|
|
674
900
|
```
|
|
675
901
|
|
|
676
|
-
_See code: [src/commands/key-value-stores/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
902
|
+
_See code: [src/commands/key-value-stores/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/key-value-stores/index.ts)_
|
|
677
903
|
|
|
678
904
|
## `apify login`
|
|
679
905
|
|
|
@@ -694,7 +920,7 @@ DESCRIPTION
|
|
|
694
920
|
"apify" commands. To log out, call "apify logout".
|
|
695
921
|
```
|
|
696
922
|
|
|
697
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
923
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/login.ts)_
|
|
698
924
|
|
|
699
925
|
## `apify logout`
|
|
700
926
|
|
|
@@ -710,7 +936,7 @@ DESCRIPTION
|
|
|
710
936
|
call "apify login".
|
|
711
937
|
```
|
|
712
938
|
|
|
713
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
939
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/logout.ts)_
|
|
714
940
|
|
|
715
941
|
## `apify pull [ACTORID]`
|
|
716
942
|
|
|
@@ -718,7 +944,7 @@ Pulls an Actor from the Apify platform to the current directory. If it is define
|
|
|
718
944
|
|
|
719
945
|
```
|
|
720
946
|
USAGE
|
|
721
|
-
$ apify pull [ACTORID] [-v <value>]
|
|
947
|
+
$ apify pull [ACTORID] [-v <value>] [--dir <value>]
|
|
722
948
|
|
|
723
949
|
ARGUMENTS
|
|
724
950
|
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -726,13 +952,14 @@ ARGUMENTS
|
|
|
726
952
|
|
|
727
953
|
FLAGS
|
|
728
954
|
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
955
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
729
956
|
|
|
730
957
|
DESCRIPTION
|
|
731
958
|
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
732
959
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
733
960
|
```
|
|
734
961
|
|
|
735
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
962
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/pull.ts)_
|
|
736
963
|
|
|
737
964
|
## `apify push [ACTORID]`
|
|
738
965
|
|
|
@@ -740,8 +967,7 @@ Uploads the Actor to the Apify platform and builds it there.
|
|
|
740
967
|
|
|
741
968
|
```
|
|
742
969
|
USAGE
|
|
743
|
-
$ apify push [ACTORID] [
|
|
744
|
-
[--force]
|
|
970
|
+
$ apify push [ACTORID] [-v <value>] [-b <value>] [-w <value>] [--no-prompt] [--force] [--dir <value>]
|
|
745
971
|
|
|
746
972
|
ARGUMENTS
|
|
747
973
|
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -753,11 +979,10 @@ FLAGS
|
|
|
753
979
|
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
754
980
|
the ".actor/actor.json" file.
|
|
755
981
|
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
982
|
+
--dir=<value> Directory where the Actor is located
|
|
756
983
|
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
757
984
|
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
758
985
|
browser automatically.
|
|
759
|
-
--version-number=<value> DEPRECATED: Use flag version instead. Actor version number to which the files should be
|
|
760
|
-
pushed. By default, it is taken from the ".actor/actor.json" file.
|
|
761
986
|
|
|
762
987
|
DESCRIPTION
|
|
763
988
|
Uploads the Actor to the Apify platform and builds it there.
|
|
@@ -770,7 +995,7 @@ DESCRIPTION
|
|
|
770
995
|
overwritten with --force flag.
|
|
771
996
|
```
|
|
772
997
|
|
|
773
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
998
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/push.ts)_
|
|
774
999
|
|
|
775
1000
|
## `apify request-queues`
|
|
776
1001
|
|
|
@@ -784,7 +1009,7 @@ DESCRIPTION
|
|
|
784
1009
|
Commands are designed to be used with Request Queues.
|
|
785
1010
|
```
|
|
786
1011
|
|
|
787
|
-
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1012
|
+
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/request-queues/index.ts)_
|
|
788
1013
|
|
|
789
1014
|
## `apify run`
|
|
790
1015
|
|
|
@@ -820,7 +1045,7 @@ DESCRIPTION
|
|
|
820
1045
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
821
1046
|
```
|
|
822
1047
|
|
|
823
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1048
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/run.ts)_
|
|
824
1049
|
|
|
825
1050
|
## `apify runs`
|
|
826
1051
|
|
|
@@ -834,7 +1059,7 @@ DESCRIPTION
|
|
|
834
1059
|
Commands are designed to be used with Actor Runs.
|
|
835
1060
|
```
|
|
836
1061
|
|
|
837
|
-
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1062
|
+
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/index.ts)_
|
|
838
1063
|
|
|
839
1064
|
## `apify runs abort RUNID`
|
|
840
1065
|
|
|
@@ -857,20 +1082,61 @@ DESCRIPTION
|
|
|
857
1082
|
Aborts an Actor Run.
|
|
858
1083
|
```
|
|
859
1084
|
|
|
860
|
-
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1085
|
+
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/abort.ts)_
|
|
1086
|
+
|
|
1087
|
+
## `apify runs info RUNID`
|
|
1088
|
+
|
|
1089
|
+
Prints information about an Actor Run.
|
|
1090
|
+
|
|
1091
|
+
```
|
|
1092
|
+
USAGE
|
|
1093
|
+
$ apify runs info RUNID [--json] [-v]
|
|
1094
|
+
|
|
1095
|
+
ARGUMENTS
|
|
1096
|
+
RUNID The run ID to print information about.
|
|
1097
|
+
|
|
1098
|
+
FLAGS
|
|
1099
|
+
-v, --verbose Prints more in-depth information about the Actor Run.
|
|
1100
|
+
|
|
1101
|
+
GLOBAL FLAGS
|
|
1102
|
+
--json Format output as json.
|
|
1103
|
+
|
|
1104
|
+
DESCRIPTION
|
|
1105
|
+
Prints information about an Actor Run.
|
|
1106
|
+
```
|
|
861
1107
|
|
|
862
|
-
|
|
1108
|
+
_See code: [src/commands/runs/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/info.ts)_
|
|
1109
|
+
|
|
1110
|
+
## `apify runs log RUNID`
|
|
1111
|
+
|
|
1112
|
+
Prints the log of a specific run.
|
|
1113
|
+
|
|
1114
|
+
```
|
|
1115
|
+
USAGE
|
|
1116
|
+
$ apify runs log RUNID
|
|
1117
|
+
|
|
1118
|
+
ARGUMENTS
|
|
1119
|
+
RUNID The run ID to get the log from.
|
|
1120
|
+
|
|
1121
|
+
DESCRIPTION
|
|
1122
|
+
Prints the log of a specific run.
|
|
1123
|
+
```
|
|
1124
|
+
|
|
1125
|
+
_See code: [src/commands/runs/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/log.ts)_
|
|
1126
|
+
|
|
1127
|
+
## `apify runs ls [ACTORID]`
|
|
863
1128
|
|
|
864
1129
|
Lists all runs of the Actor.
|
|
865
1130
|
|
|
866
1131
|
```
|
|
867
1132
|
USAGE
|
|
868
|
-
$ apify runs ls [
|
|
1133
|
+
$ apify runs ls [ACTORID] [--json] [--offset <value>] [--limit <value>] [--desc] [-c]
|
|
1134
|
+
|
|
1135
|
+
ARGUMENTS
|
|
1136
|
+
ACTORID Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.
|
|
869
1137
|
|
|
870
1138
|
FLAGS
|
|
871
1139
|
-c, --compact Display a compact table.
|
|
872
|
-
--actor=<value> Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current
|
|
873
|
-
directory.
|
|
874
1140
|
--desc Sort runs in descending order.
|
|
875
1141
|
--limit=<value> [default: 10] Number of runs that will be listed.
|
|
876
1142
|
--offset=<value> Number of runs that will be skipped.
|
|
@@ -882,7 +1148,44 @@ DESCRIPTION
|
|
|
882
1148
|
Lists all runs of the Actor.
|
|
883
1149
|
```
|
|
884
1150
|
|
|
885
|
-
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1151
|
+
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/ls.ts)_
|
|
1152
|
+
|
|
1153
|
+
## `apify runs resurrect RUNID`
|
|
1154
|
+
|
|
1155
|
+
Resurrects an aborted or finished Actor Run.
|
|
1156
|
+
|
|
1157
|
+
```
|
|
1158
|
+
USAGE
|
|
1159
|
+
$ apify runs resurrect RUNID [--json]
|
|
1160
|
+
|
|
1161
|
+
ARGUMENTS
|
|
1162
|
+
RUNID The run ID to resurrect.
|
|
1163
|
+
|
|
1164
|
+
GLOBAL FLAGS
|
|
1165
|
+
--json Format output as json.
|
|
1166
|
+
|
|
1167
|
+
DESCRIPTION
|
|
1168
|
+
Resurrects an aborted or finished Actor Run.
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
_See code: [src/commands/runs/resurrect.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/resurrect.ts)_
|
|
1172
|
+
|
|
1173
|
+
## `apify runs rm RUNID`
|
|
1174
|
+
|
|
1175
|
+
Deletes an Actor Run.
|
|
1176
|
+
|
|
1177
|
+
```
|
|
1178
|
+
USAGE
|
|
1179
|
+
$ apify runs rm RUNID
|
|
1180
|
+
|
|
1181
|
+
ARGUMENTS
|
|
1182
|
+
RUNID The run ID to delete.
|
|
1183
|
+
|
|
1184
|
+
DESCRIPTION
|
|
1185
|
+
Deletes an Actor Run.
|
|
1186
|
+
```
|
|
1187
|
+
|
|
1188
|
+
_See code: [src/commands/runs/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/runs/rm.ts)_
|
|
886
1189
|
|
|
887
1190
|
## `apify secrets`
|
|
888
1191
|
|
|
@@ -912,7 +1215,7 @@ DESCRIPTION
|
|
|
912
1215
|
of the Actor.
|
|
913
1216
|
```
|
|
914
1217
|
|
|
915
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1218
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/secrets/index.ts)_
|
|
916
1219
|
|
|
917
1220
|
## `apify secrets add NAME VALUE`
|
|
918
1221
|
|
|
@@ -931,7 +1234,7 @@ DESCRIPTION
|
|
|
931
1234
|
The secrets are stored to a file at ~/.apify
|
|
932
1235
|
```
|
|
933
1236
|
|
|
934
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1237
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/secrets/add.ts)_
|
|
935
1238
|
|
|
936
1239
|
## `apify secrets rm NAME`
|
|
937
1240
|
|
|
@@ -948,7 +1251,7 @@ DESCRIPTION
|
|
|
948
1251
|
Removes the secret.
|
|
949
1252
|
```
|
|
950
1253
|
|
|
951
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1254
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/secrets/rm.ts)_
|
|
952
1255
|
|
|
953
1256
|
## `apify task`
|
|
954
1257
|
|
|
@@ -962,7 +1265,7 @@ DESCRIPTION
|
|
|
962
1265
|
Commands are designed to be used to interact with Tasks.
|
|
963
1266
|
```
|
|
964
1267
|
|
|
965
|
-
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1268
|
+
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/task/index.ts)_
|
|
966
1269
|
|
|
967
1270
|
## `apify task run TASKID`
|
|
968
1271
|
|
|
@@ -970,16 +1273,15 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
970
1273
|
|
|
971
1274
|
```
|
|
972
1275
|
USAGE
|
|
973
|
-
$ apify task run TASKID [-b <value>] [-t <value>] [-m <value>]
|
|
1276
|
+
$ apify task run TASKID [-b <value>] [-t <value>] [-m <value>]
|
|
974
1277
|
|
|
975
1278
|
ARGUMENTS
|
|
976
1279
|
TASKID Name or ID of the Task to run (e.g. "my-task" or "E2jjCZBezvAZnX8Rb").
|
|
977
1280
|
|
|
978
1281
|
FLAGS
|
|
979
|
-
-b, --build=<value>
|
|
980
|
-
-m, --memory=<value>
|
|
981
|
-
-t, --timeout=<value>
|
|
982
|
-
-w, --wait-for-finish=<value> Seconds for waiting to run to finish, if no value passed, it waits forever.
|
|
1282
|
+
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
1283
|
+
-m, --memory=<value> Amount of memory allocated for the Task run, in megabytes.
|
|
1284
|
+
-t, --timeout=<value> Timeout for the Task run in seconds. Zero value means there is no timeout.
|
|
983
1285
|
|
|
984
1286
|
DESCRIPTION
|
|
985
1287
|
Runs a specific Actor remotely on the Apify cloud platform.
|
|
@@ -987,7 +1289,7 @@ DESCRIPTION
|
|
|
987
1289
|
takes input for the Actor from the default local key-value store by default.
|
|
988
1290
|
```
|
|
989
1291
|
|
|
990
|
-
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1292
|
+
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/task/run.ts)_
|
|
991
1293
|
|
|
992
1294
|
## `apify validate-schema [PATH]`
|
|
993
1295
|
|
|
@@ -1012,6 +1314,6 @@ DESCRIPTION
|
|
|
1012
1314
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
1013
1315
|
```
|
|
1014
1316
|
|
|
1015
|
-
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1317
|
+
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.30/src/commands/validate-schema.ts)_
|
|
1016
1318
|
<!-- commandsstop -->
|
|
1017
1319
|
<!-- prettier-ignore-end -->
|