apify-cli 0.21.0-beta.1 → 0.21.0-beta.11
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 +232 -38
- 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/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/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/builds/create.d.ts +3 -1
- package/dist/commands/builds/create.d.ts.map +1 -1
- package/dist/commands/builds/create.js +17 -7
- package/dist/commands/builds/create.js.map +1 -1
- package/dist/commands/builds/info.js +1 -1
- package/dist/commands/builds/info.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 +66 -0
- package/dist/commands/builds/rm.js.map +1 -0
- 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/runs/abort.d.ts +13 -0
- package/dist/commands/runs/abort.d.ts.map +1 -0
- package/dist/commands/runs/abort.js +84 -0
- package/dist/commands/runs/abort.js.map +1 -0
- 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/resurrect.d.ts +10 -0
- package/dist/commands/runs/resurrect.d.ts.map +1 -0
- package/dist/commands/runs/resurrect.js +66 -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/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/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/typechecking.tsbuildinfo +1 -1
- package/oclif.manifest.json +353 -27
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -288,11 +288,15 @@ 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 [ACTOR]`](#apify-actors-build-actor)
|
|
292
|
+
* [`apify actors pull [ACTORID]`](#apify-actors-pull-actorid)
|
|
293
|
+
* [`apify actors rm ACTORID`](#apify-actors-rm-actorid)
|
|
291
294
|
* [`apify builds`](#apify-builds)
|
|
292
|
-
* [`apify builds create`](#apify-builds-create)
|
|
295
|
+
* [`apify builds create [ACTOR]`](#apify-builds-create-actor)
|
|
293
296
|
* [`apify builds info BUILDID`](#apify-builds-info-buildid)
|
|
294
297
|
* [`apify builds log BUILDID`](#apify-builds-log-buildid)
|
|
295
298
|
* [`apify builds ls`](#apify-builds-ls)
|
|
299
|
+
* [`apify builds rm BUILDID`](#apify-builds-rm-buildid)
|
|
296
300
|
* [`apify call [ACTORID]`](#apify-call-actorid)
|
|
297
301
|
* [`apify create [ACTORNAME]`](#apify-create-actorname)
|
|
298
302
|
* [`apify datasets`](#apify-datasets)
|
|
@@ -307,7 +311,12 @@ This section contains printouts of `apify help` for all commands.
|
|
|
307
311
|
* [`apify request-queues`](#apify-request-queues)
|
|
308
312
|
* [`apify run`](#apify-run)
|
|
309
313
|
* [`apify runs`](#apify-runs)
|
|
314
|
+
* [`apify runs abort RUNID`](#apify-runs-abort-runid)
|
|
315
|
+
* [`apify runs info RUNID`](#apify-runs-info-runid)
|
|
316
|
+
* [`apify runs log RUNID`](#apify-runs-log-runid)
|
|
310
317
|
* [`apify runs ls`](#apify-runs-ls)
|
|
318
|
+
* [`apify runs resurrect RUNID`](#apify-runs-resurrect-runid)
|
|
319
|
+
* [`apify runs rm RUNID`](#apify-runs-rm-runid)
|
|
311
320
|
* [`apify secrets`](#apify-secrets)
|
|
312
321
|
* [`apify secrets add NAME VALUE`](#apify-secrets-add-name-value)
|
|
313
322
|
* [`apify secrets rm NAME`](#apify-secrets-rm-name)
|
|
@@ -327,7 +336,7 @@ DESCRIPTION
|
|
|
327
336
|
Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.
|
|
328
337
|
```
|
|
329
338
|
|
|
330
|
-
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
339
|
+
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actor/index.ts)_
|
|
331
340
|
|
|
332
341
|
## `apify actor get-input`
|
|
333
342
|
|
|
@@ -341,7 +350,7 @@ DESCRIPTION
|
|
|
341
350
|
Gets the Actor input value from the default key-value store associated with the Actor run.
|
|
342
351
|
```
|
|
343
352
|
|
|
344
|
-
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
353
|
+
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actor/get-input.ts)_
|
|
345
354
|
|
|
346
355
|
## `apify actor get-value KEY`
|
|
347
356
|
|
|
@@ -358,7 +367,7 @@ DESCRIPTION
|
|
|
358
367
|
Gets a value from the default key-value store associated with the Actor run.
|
|
359
368
|
```
|
|
360
369
|
|
|
361
|
-
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
370
|
+
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actor/get-value.ts)_
|
|
362
371
|
|
|
363
372
|
## `apify actor push-data [ITEM]`
|
|
364
373
|
|
|
@@ -380,7 +389,7 @@ DESCRIPTION
|
|
|
380
389
|
$ cat ./test.json | apify actor push-data
|
|
381
390
|
```
|
|
382
391
|
|
|
383
|
-
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
392
|
+
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actor/push-data.ts)_
|
|
384
393
|
|
|
385
394
|
## `apify actor set-value KEY [VALUE]`
|
|
386
395
|
|
|
@@ -409,7 +418,7 @@ DESCRIPTION
|
|
|
409
418
|
$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain
|
|
410
419
|
```
|
|
411
420
|
|
|
412
|
-
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
421
|
+
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actor/set-value.ts)_
|
|
413
422
|
|
|
414
423
|
## `apify actors`
|
|
415
424
|
|
|
@@ -423,7 +432,73 @@ DESCRIPTION
|
|
|
423
432
|
Commands are designed to be used with Actors.
|
|
424
433
|
```
|
|
425
434
|
|
|
426
|
-
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
435
|
+
_See code: [src/commands/actors/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actors/index.ts)_
|
|
436
|
+
|
|
437
|
+
## `apify actors build [ACTOR]`
|
|
438
|
+
|
|
439
|
+
Creates a new build of the Actor.
|
|
440
|
+
|
|
441
|
+
```
|
|
442
|
+
USAGE
|
|
443
|
+
$ apify actors build [ACTOR] [--json] [--tag <value>] [--version <value>] [--log]
|
|
444
|
+
|
|
445
|
+
ARGUMENTS
|
|
446
|
+
ACTOR Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.
|
|
447
|
+
|
|
448
|
+
FLAGS
|
|
449
|
+
--log Whether to print out the build log after the build is triggered.
|
|
450
|
+
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
451
|
+
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
452
|
+
required when multiple versions have the same tag.
|
|
453
|
+
|
|
454
|
+
GLOBAL FLAGS
|
|
455
|
+
--json Format output as json.
|
|
456
|
+
|
|
457
|
+
DESCRIPTION
|
|
458
|
+
Creates a new build of the Actor.
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
_See code: [src/commands/actors/build.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actors/build.ts)_
|
|
462
|
+
|
|
463
|
+
## `apify actors pull [ACTORID]`
|
|
464
|
+
|
|
465
|
+
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.
|
|
466
|
+
|
|
467
|
+
```
|
|
468
|
+
USAGE
|
|
469
|
+
$ apify actors pull [ACTORID] [-v <value>] [--dir <value>]
|
|
470
|
+
|
|
471
|
+
ARGUMENTS
|
|
472
|
+
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
473
|
+
command will update the Actor in the current directory based on its name in ".actor/actor.json" file.
|
|
474
|
+
|
|
475
|
+
FLAGS
|
|
476
|
+
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
477
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
478
|
+
|
|
479
|
+
DESCRIPTION
|
|
480
|
+
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
481
|
+
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
_See code: [src/commands/actors/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actors/pull.ts)_
|
|
485
|
+
|
|
486
|
+
## `apify actors rm ACTORID`
|
|
487
|
+
|
|
488
|
+
Deletes an Actor.
|
|
489
|
+
|
|
490
|
+
```
|
|
491
|
+
USAGE
|
|
492
|
+
$ apify actors rm ACTORID
|
|
493
|
+
|
|
494
|
+
ARGUMENTS
|
|
495
|
+
ACTORID The Actor ID to delete.
|
|
496
|
+
|
|
497
|
+
DESCRIPTION
|
|
498
|
+
Deletes an Actor.
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
_See code: [src/commands/actors/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/actors/rm.ts)_
|
|
427
502
|
|
|
428
503
|
## `apify builds`
|
|
429
504
|
|
|
@@ -437,19 +512,20 @@ DESCRIPTION
|
|
|
437
512
|
Commands are designed to be used with Actor Builds.
|
|
438
513
|
```
|
|
439
514
|
|
|
440
|
-
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
515
|
+
_See code: [src/commands/builds/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/builds/index.ts)_
|
|
441
516
|
|
|
442
|
-
## `apify builds create`
|
|
517
|
+
## `apify builds create [ACTOR]`
|
|
443
518
|
|
|
444
519
|
Creates a new build of the Actor.
|
|
445
520
|
|
|
446
521
|
```
|
|
447
522
|
USAGE
|
|
448
|
-
$ apify builds create [
|
|
523
|
+
$ apify builds create [ACTOR] [--json] [--tag <value>] [--version <value>] [--log]
|
|
524
|
+
|
|
525
|
+
ARGUMENTS
|
|
526
|
+
ACTOR Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.
|
|
449
527
|
|
|
450
528
|
FLAGS
|
|
451
|
-
--actor=<value> Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the
|
|
452
|
-
current directory.
|
|
453
529
|
--log Whether to print out the build log after the build is triggered.
|
|
454
530
|
--tag=<value> Build tag to be applied to the successful Actor build. By default, this is "latest".
|
|
455
531
|
--version=<value> Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is
|
|
@@ -462,7 +538,7 @@ DESCRIPTION
|
|
|
462
538
|
Creates a new build of the Actor.
|
|
463
539
|
```
|
|
464
540
|
|
|
465
|
-
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
541
|
+
_See code: [src/commands/builds/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/builds/create.ts)_
|
|
466
542
|
|
|
467
543
|
## `apify builds info BUILDID`
|
|
468
544
|
|
|
@@ -482,7 +558,7 @@ DESCRIPTION
|
|
|
482
558
|
Prints information about a specific build.
|
|
483
559
|
```
|
|
484
560
|
|
|
485
|
-
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
561
|
+
_See code: [src/commands/builds/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/builds/info.ts)_
|
|
486
562
|
|
|
487
563
|
## `apify builds log BUILDID`
|
|
488
564
|
|
|
@@ -499,7 +575,7 @@ DESCRIPTION
|
|
|
499
575
|
Prints the log of a specific build.
|
|
500
576
|
```
|
|
501
577
|
|
|
502
|
-
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
578
|
+
_See code: [src/commands/builds/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/builds/log.ts)_
|
|
503
579
|
|
|
504
580
|
## `apify builds ls`
|
|
505
581
|
|
|
@@ -524,7 +600,24 @@ DESCRIPTION
|
|
|
524
600
|
Lists all builds of the Actor.
|
|
525
601
|
```
|
|
526
602
|
|
|
527
|
-
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
603
|
+
_See code: [src/commands/builds/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/builds/ls.ts)_
|
|
604
|
+
|
|
605
|
+
## `apify builds rm BUILDID`
|
|
606
|
+
|
|
607
|
+
Deletes an Actor Build.
|
|
608
|
+
|
|
609
|
+
```
|
|
610
|
+
USAGE
|
|
611
|
+
$ apify builds rm BUILDID
|
|
612
|
+
|
|
613
|
+
ARGUMENTS
|
|
614
|
+
BUILDID The build ID to delete.
|
|
615
|
+
|
|
616
|
+
DESCRIPTION
|
|
617
|
+
Deletes an Actor Build.
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
_See code: [src/commands/builds/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/builds/rm.ts)_
|
|
528
621
|
|
|
529
622
|
## `apify call [ACTORID]`
|
|
530
623
|
|
|
@@ -556,7 +649,7 @@ DESCRIPTION
|
|
|
556
649
|
takes input for the Actor from the default local key-value store by default.
|
|
557
650
|
```
|
|
558
651
|
|
|
559
|
-
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
652
|
+
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/call.ts)_
|
|
560
653
|
|
|
561
654
|
## `apify create [ACTORNAME]`
|
|
562
655
|
|
|
@@ -581,7 +674,7 @@ DESCRIPTION
|
|
|
581
674
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
582
675
|
```
|
|
583
676
|
|
|
584
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
677
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/create.ts)_
|
|
585
678
|
|
|
586
679
|
## `apify datasets`
|
|
587
680
|
|
|
@@ -595,7 +688,7 @@ DESCRIPTION
|
|
|
595
688
|
Commands are designed to be used with Datasets.
|
|
596
689
|
```
|
|
597
690
|
|
|
598
|
-
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
691
|
+
_See code: [src/commands/datasets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/datasets/index.ts)_
|
|
599
692
|
|
|
600
693
|
## `apify help [COMMAND]`
|
|
601
694
|
|
|
@@ -615,7 +708,7 @@ DESCRIPTION
|
|
|
615
708
|
Display help for apify.
|
|
616
709
|
```
|
|
617
710
|
|
|
618
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
711
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.12/src/commands/help.ts)_
|
|
619
712
|
|
|
620
713
|
## `apify info`
|
|
621
714
|
|
|
@@ -630,7 +723,7 @@ DESCRIPTION
|
|
|
630
723
|
The information is printed to the console.
|
|
631
724
|
```
|
|
632
725
|
|
|
633
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
726
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/info.ts)_
|
|
634
727
|
|
|
635
728
|
## `apify init [ACTORNAME]`
|
|
636
729
|
|
|
@@ -658,7 +751,7 @@ DESCRIPTION
|
|
|
658
751
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
659
752
|
```
|
|
660
753
|
|
|
661
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
754
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/init.ts)_
|
|
662
755
|
|
|
663
756
|
## `apify key-value-stores`
|
|
664
757
|
|
|
@@ -672,7 +765,7 @@ DESCRIPTION
|
|
|
672
765
|
Commands are designed to be used with Key Value Stores.
|
|
673
766
|
```
|
|
674
767
|
|
|
675
|
-
_See code: [src/commands/key-value-stores/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
768
|
+
_See code: [src/commands/key-value-stores/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/key-value-stores/index.ts)_
|
|
676
769
|
|
|
677
770
|
## `apify login`
|
|
678
771
|
|
|
@@ -693,7 +786,7 @@ DESCRIPTION
|
|
|
693
786
|
"apify" commands. To log out, call "apify logout".
|
|
694
787
|
```
|
|
695
788
|
|
|
696
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
789
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/login.ts)_
|
|
697
790
|
|
|
698
791
|
## `apify logout`
|
|
699
792
|
|
|
@@ -709,7 +802,7 @@ DESCRIPTION
|
|
|
709
802
|
call "apify login".
|
|
710
803
|
```
|
|
711
804
|
|
|
712
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
805
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/logout.ts)_
|
|
713
806
|
|
|
714
807
|
## `apify pull [ACTORID]`
|
|
715
808
|
|
|
@@ -717,7 +810,7 @@ Pulls an Actor from the Apify platform to the current directory. If it is define
|
|
|
717
810
|
|
|
718
811
|
```
|
|
719
812
|
USAGE
|
|
720
|
-
$ apify pull [ACTORID] [-v <value>]
|
|
813
|
+
$ apify pull [ACTORID] [-v <value>] [--dir <value>]
|
|
721
814
|
|
|
722
815
|
ARGUMENTS
|
|
723
816
|
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -725,13 +818,14 @@ ARGUMENTS
|
|
|
725
818
|
|
|
726
819
|
FLAGS
|
|
727
820
|
-v, --version=<value> Actor version number which will be pulled, e.g. 1.2. Default: the highest version
|
|
821
|
+
--dir=<value> Directory where the Actor should be pulled to
|
|
728
822
|
|
|
729
823
|
DESCRIPTION
|
|
730
824
|
Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be
|
|
731
825
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
732
826
|
```
|
|
733
827
|
|
|
734
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
828
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/pull.ts)_
|
|
735
829
|
|
|
736
830
|
## `apify push [ACTORID]`
|
|
737
831
|
|
|
@@ -769,7 +863,7 @@ DESCRIPTION
|
|
|
769
863
|
overwritten with --force flag.
|
|
770
864
|
```
|
|
771
865
|
|
|
772
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
866
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/push.ts)_
|
|
773
867
|
|
|
774
868
|
## `apify request-queues`
|
|
775
869
|
|
|
@@ -783,7 +877,7 @@ DESCRIPTION
|
|
|
783
877
|
Commands are designed to be used with Request Queues.
|
|
784
878
|
```
|
|
785
879
|
|
|
786
|
-
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
880
|
+
_See code: [src/commands/request-queues/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/request-queues/index.ts)_
|
|
787
881
|
|
|
788
882
|
## `apify run`
|
|
789
883
|
|
|
@@ -819,7 +913,7 @@ DESCRIPTION
|
|
|
819
913
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
820
914
|
```
|
|
821
915
|
|
|
822
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
916
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/run.ts)_
|
|
823
917
|
|
|
824
918
|
## `apify runs`
|
|
825
919
|
|
|
@@ -833,7 +927,70 @@ DESCRIPTION
|
|
|
833
927
|
Commands are designed to be used with Actor Runs.
|
|
834
928
|
```
|
|
835
929
|
|
|
836
|
-
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
930
|
+
_See code: [src/commands/runs/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/index.ts)_
|
|
931
|
+
|
|
932
|
+
## `apify runs abort RUNID`
|
|
933
|
+
|
|
934
|
+
Aborts an Actor Run.
|
|
935
|
+
|
|
936
|
+
```
|
|
937
|
+
USAGE
|
|
938
|
+
$ apify runs abort RUNID [--json] [-f]
|
|
939
|
+
|
|
940
|
+
ARGUMENTS
|
|
941
|
+
RUNID The run ID to abort.
|
|
942
|
+
|
|
943
|
+
FLAGS
|
|
944
|
+
-f, --force Whether to force the run to abort immediately, instead of gracefully.
|
|
945
|
+
|
|
946
|
+
GLOBAL FLAGS
|
|
947
|
+
--json Format output as json.
|
|
948
|
+
|
|
949
|
+
DESCRIPTION
|
|
950
|
+
Aborts an Actor Run.
|
|
951
|
+
```
|
|
952
|
+
|
|
953
|
+
_See code: [src/commands/runs/abort.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/abort.ts)_
|
|
954
|
+
|
|
955
|
+
## `apify runs info RUNID`
|
|
956
|
+
|
|
957
|
+
Prints information about an Actor Run.
|
|
958
|
+
|
|
959
|
+
```
|
|
960
|
+
USAGE
|
|
961
|
+
$ apify runs info RUNID [--json] [-v]
|
|
962
|
+
|
|
963
|
+
ARGUMENTS
|
|
964
|
+
RUNID The run ID to print information about.
|
|
965
|
+
|
|
966
|
+
FLAGS
|
|
967
|
+
-v, --verbose Prints more in-depth information about the Actor Run.
|
|
968
|
+
|
|
969
|
+
GLOBAL FLAGS
|
|
970
|
+
--json Format output as json.
|
|
971
|
+
|
|
972
|
+
DESCRIPTION
|
|
973
|
+
Prints information about an Actor Run.
|
|
974
|
+
```
|
|
975
|
+
|
|
976
|
+
_See code: [src/commands/runs/info.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/info.ts)_
|
|
977
|
+
|
|
978
|
+
## `apify runs log RUNID`
|
|
979
|
+
|
|
980
|
+
Prints the log of a specific run.
|
|
981
|
+
|
|
982
|
+
```
|
|
983
|
+
USAGE
|
|
984
|
+
$ apify runs log RUNID
|
|
985
|
+
|
|
986
|
+
ARGUMENTS
|
|
987
|
+
RUNID The run ID to get the log from.
|
|
988
|
+
|
|
989
|
+
DESCRIPTION
|
|
990
|
+
Prints the log of a specific run.
|
|
991
|
+
```
|
|
992
|
+
|
|
993
|
+
_See code: [src/commands/runs/log.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/log.ts)_
|
|
837
994
|
|
|
838
995
|
## `apify runs ls`
|
|
839
996
|
|
|
@@ -858,7 +1015,44 @@ DESCRIPTION
|
|
|
858
1015
|
Lists all runs of the Actor.
|
|
859
1016
|
```
|
|
860
1017
|
|
|
861
|
-
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1018
|
+
_See code: [src/commands/runs/ls.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/ls.ts)_
|
|
1019
|
+
|
|
1020
|
+
## `apify runs resurrect RUNID`
|
|
1021
|
+
|
|
1022
|
+
Resurrects an aborted or finished Actor Run.
|
|
1023
|
+
|
|
1024
|
+
```
|
|
1025
|
+
USAGE
|
|
1026
|
+
$ apify runs resurrect RUNID [--json]
|
|
1027
|
+
|
|
1028
|
+
ARGUMENTS
|
|
1029
|
+
RUNID The run ID to resurrect.
|
|
1030
|
+
|
|
1031
|
+
GLOBAL FLAGS
|
|
1032
|
+
--json Format output as json.
|
|
1033
|
+
|
|
1034
|
+
DESCRIPTION
|
|
1035
|
+
Resurrects an aborted or finished Actor Run.
|
|
1036
|
+
```
|
|
1037
|
+
|
|
1038
|
+
_See code: [src/commands/runs/resurrect.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/resurrect.ts)_
|
|
1039
|
+
|
|
1040
|
+
## `apify runs rm RUNID`
|
|
1041
|
+
|
|
1042
|
+
Deletes an Actor Run.
|
|
1043
|
+
|
|
1044
|
+
```
|
|
1045
|
+
USAGE
|
|
1046
|
+
$ apify runs rm RUNID
|
|
1047
|
+
|
|
1048
|
+
ARGUMENTS
|
|
1049
|
+
RUNID The run ID to delete.
|
|
1050
|
+
|
|
1051
|
+
DESCRIPTION
|
|
1052
|
+
Deletes an Actor Run.
|
|
1053
|
+
```
|
|
1054
|
+
|
|
1055
|
+
_See code: [src/commands/runs/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/runs/rm.ts)_
|
|
862
1056
|
|
|
863
1057
|
## `apify secrets`
|
|
864
1058
|
|
|
@@ -888,7 +1082,7 @@ DESCRIPTION
|
|
|
888
1082
|
of the Actor.
|
|
889
1083
|
```
|
|
890
1084
|
|
|
891
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1085
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/secrets/index.ts)_
|
|
892
1086
|
|
|
893
1087
|
## `apify secrets add NAME VALUE`
|
|
894
1088
|
|
|
@@ -907,7 +1101,7 @@ DESCRIPTION
|
|
|
907
1101
|
The secrets are stored to a file at ~/.apify
|
|
908
1102
|
```
|
|
909
1103
|
|
|
910
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1104
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/secrets/add.ts)_
|
|
911
1105
|
|
|
912
1106
|
## `apify secrets rm NAME`
|
|
913
1107
|
|
|
@@ -924,7 +1118,7 @@ DESCRIPTION
|
|
|
924
1118
|
Removes the secret.
|
|
925
1119
|
```
|
|
926
1120
|
|
|
927
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1121
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/secrets/rm.ts)_
|
|
928
1122
|
|
|
929
1123
|
## `apify task`
|
|
930
1124
|
|
|
@@ -938,7 +1132,7 @@ DESCRIPTION
|
|
|
938
1132
|
Commands are designed to be used to interact with Tasks.
|
|
939
1133
|
```
|
|
940
1134
|
|
|
941
|
-
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1135
|
+
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/task/index.ts)_
|
|
942
1136
|
|
|
943
1137
|
## `apify task run TASKID`
|
|
944
1138
|
|
|
@@ -963,7 +1157,7 @@ DESCRIPTION
|
|
|
963
1157
|
takes input for the Actor from the default local key-value store by default.
|
|
964
1158
|
```
|
|
965
1159
|
|
|
966
|
-
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1160
|
+
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/task/run.ts)_
|
|
967
1161
|
|
|
968
1162
|
## `apify validate-schema [PATH]`
|
|
969
1163
|
|
|
@@ -988,6 +1182,6 @@ DESCRIPTION
|
|
|
988
1182
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
989
1183
|
```
|
|
990
1184
|
|
|
991
|
-
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.
|
|
1185
|
+
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.21.0-beta.11/src/commands/validate-schema.ts)_
|
|
992
1186
|
<!-- commandsstop -->
|
|
993
1187
|
<!-- prettier-ignore-end -->
|