apify-cli 1.0.0-beta.37 → 1.0.0-beta.39
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 +25 -21
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/call.d.ts +1 -0
- package/dist/commands/call.d.ts.map +1 -1
- package/dist/commands/call.js +42 -18
- package/dist/commands/call.js.map +1 -1
- package/dist/commands/run.d.ts +1 -0
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +66 -12
- package/dist/commands/run.js.map +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +3 -0
- package/dist/lib/utils.js.map +1 -1
- package/oclif.manifest.json +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -307,7 +307,7 @@ DESCRIPTION
|
|
|
307
307
|
Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
310
|
+
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/actor/index.ts)_
|
|
311
311
|
|
|
312
312
|
## `apify actor get-input`
|
|
313
313
|
|
|
@@ -321,7 +321,7 @@ DESCRIPTION
|
|
|
321
321
|
Gets the Actor input value from the default key-value store associated with the Actor run.
|
|
322
322
|
```
|
|
323
323
|
|
|
324
|
-
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
324
|
+
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/actor/get-input.ts)_
|
|
325
325
|
|
|
326
326
|
## `apify actor get-value KEY`
|
|
327
327
|
|
|
@@ -338,7 +338,7 @@ DESCRIPTION
|
|
|
338
338
|
Gets a value from the default key-value store associated with the Actor run.
|
|
339
339
|
```
|
|
340
340
|
|
|
341
|
-
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
341
|
+
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/actor/get-value.ts)_
|
|
342
342
|
|
|
343
343
|
## `apify actor push-data [ITEM]`
|
|
344
344
|
|
|
@@ -360,7 +360,7 @@ DESCRIPTION
|
|
|
360
360
|
$ cat ./test.json | apify actor push-data
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
363
|
+
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/actor/push-data.ts)_
|
|
364
364
|
|
|
365
365
|
## `apify actor set-value KEY [VALUE]`
|
|
366
366
|
|
|
@@ -389,7 +389,7 @@ DESCRIPTION
|
|
|
389
389
|
$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
392
|
+
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/actor/set-value.ts)_
|
|
393
393
|
|
|
394
394
|
## `apify call [ACTORID]`
|
|
395
395
|
|
|
@@ -400,8 +400,8 @@ USAGE
|
|
|
400
400
|
$ apify call [ACTORID] [-b <value>] [-t <value>] [-m <value>] [-w <value>]
|
|
401
401
|
|
|
402
402
|
ARGUMENTS
|
|
403
|
-
ACTORID Name or ID of the Actor to run (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
404
|
-
command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
403
|
+
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
404
|
+
provided, the command runs the remote Actor specified in the ".actor/actor.json" file.
|
|
405
405
|
|
|
406
406
|
FLAGS
|
|
407
407
|
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
@@ -415,7 +415,7 @@ DESCRIPTION
|
|
|
415
415
|
takes input for the Actor from the default local key-value store by default.
|
|
416
416
|
```
|
|
417
417
|
|
|
418
|
-
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
418
|
+
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/call.ts)_
|
|
419
419
|
|
|
420
420
|
## `apify create [ACTORNAME]`
|
|
421
421
|
|
|
@@ -440,7 +440,7 @@ DESCRIPTION
|
|
|
440
440
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
441
441
|
```
|
|
442
442
|
|
|
443
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
443
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/create.ts)_
|
|
444
444
|
|
|
445
445
|
## `apify help [COMMAND]`
|
|
446
446
|
|
|
@@ -475,7 +475,7 @@ DESCRIPTION
|
|
|
475
475
|
The information is printed to the console.
|
|
476
476
|
```
|
|
477
477
|
|
|
478
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
478
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/info.ts)_
|
|
479
479
|
|
|
480
480
|
## `apify init [ACTORNAME]`
|
|
481
481
|
|
|
@@ -503,7 +503,7 @@ DESCRIPTION
|
|
|
503
503
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
504
504
|
```
|
|
505
505
|
|
|
506
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
506
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/init.ts)_
|
|
507
507
|
|
|
508
508
|
## `apify login`
|
|
509
509
|
|
|
@@ -524,7 +524,7 @@ DESCRIPTION
|
|
|
524
524
|
"apify" commands. To log out, call "apify logout".
|
|
525
525
|
```
|
|
526
526
|
|
|
527
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
527
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/login.ts)_
|
|
528
528
|
|
|
529
529
|
## `apify logout`
|
|
530
530
|
|
|
@@ -540,7 +540,7 @@ DESCRIPTION
|
|
|
540
540
|
call "apify login".
|
|
541
541
|
```
|
|
542
542
|
|
|
543
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
543
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/logout.ts)_
|
|
544
544
|
|
|
545
545
|
## `apify pull [ACTORID]`
|
|
546
546
|
|
|
@@ -562,7 +562,7 @@ DESCRIPTION
|
|
|
562
562
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
563
563
|
```
|
|
564
564
|
|
|
565
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
565
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/pull.ts)_
|
|
566
566
|
|
|
567
567
|
## `apify push [ACTORID]`
|
|
568
568
|
|
|
@@ -600,7 +600,7 @@ DESCRIPTION
|
|
|
600
600
|
overwritten with --force flag.
|
|
601
601
|
```
|
|
602
602
|
|
|
603
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
603
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/push.ts)_
|
|
604
604
|
|
|
605
605
|
## `apify run`
|
|
606
606
|
|
|
@@ -608,11 +608,15 @@ Runs the Actor locally in the current directory.
|
|
|
608
608
|
|
|
609
609
|
```
|
|
610
610
|
USAGE
|
|
611
|
-
$ apify run [-p] [--purge-queue] [--purge-dataset] [--purge-key-value-store]
|
|
611
|
+
$ apify run [-p] [--purge-queue] [--purge-dataset] [--purge-key-value-store] [--entrypoint <value>]
|
|
612
612
|
|
|
613
613
|
FLAGS
|
|
614
614
|
-p, --purge Shortcut that combines the --purge-queue, --purge-dataset and --purge-key-value-store
|
|
615
615
|
options.
|
|
616
|
+
--entrypoint=<value> Optional entrypoint for running with injected environment variables.
|
|
617
|
+
For Python, it is the module name, or a path to a file.
|
|
618
|
+
For node.js, it is the npm script name, or a path to a JS/MJS file. You can also pass in
|
|
619
|
+
a directory name, provided that directory contains an "index.js" file.
|
|
616
620
|
--purge-dataset Deletes the local directory containing the default dataset before the run starts.
|
|
617
621
|
--purge-key-value-store Deletes all records from the default key-value store in the local directory before the
|
|
618
622
|
run starts, except for the "INPUT" key.
|
|
@@ -628,7 +632,7 @@ DESCRIPTION
|
|
|
628
632
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
629
633
|
```
|
|
630
634
|
|
|
631
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
635
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/run.ts)_
|
|
632
636
|
|
|
633
637
|
## `apify secrets`
|
|
634
638
|
|
|
@@ -658,7 +662,7 @@ DESCRIPTION
|
|
|
658
662
|
of the Actor.
|
|
659
663
|
```
|
|
660
664
|
|
|
661
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
665
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/secrets/index.ts)_
|
|
662
666
|
|
|
663
667
|
## `apify secrets add NAME VALUE`
|
|
664
668
|
|
|
@@ -677,7 +681,7 @@ DESCRIPTION
|
|
|
677
681
|
The secrets are stored to a file at ~/.apify
|
|
678
682
|
```
|
|
679
683
|
|
|
680
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
684
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/secrets/add.ts)_
|
|
681
685
|
|
|
682
686
|
## `apify secrets rm NAME`
|
|
683
687
|
|
|
@@ -694,7 +698,7 @@ DESCRIPTION
|
|
|
694
698
|
Removes the secret.
|
|
695
699
|
```
|
|
696
700
|
|
|
697
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
701
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/secrets/rm.ts)_
|
|
698
702
|
|
|
699
703
|
## `apify vis [PATH]`
|
|
700
704
|
|
|
@@ -719,5 +723,5 @@ DESCRIPTION
|
|
|
719
723
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
720
724
|
```
|
|
721
725
|
|
|
722
|
-
_See code: [src/commands/vis.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
726
|
+
_See code: [src/commands/vis.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.39/src/commands/vis.ts)_
|
|
723
727
|
<!-- commandsstop -->
|