apify-cli 0.20.4-beta.5 → 0.20.4
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 +23 -21
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/call.d.ts +2 -0
- package/dist/commands/call.d.ts.map +1 -1
- package/dist/commands/call.js +46 -1
- package/dist/commands/call.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 +38 -31
- package/dist/lib/commands/run-on-cloud.js.map +1 -1
- package/dist/typechecking.tsbuildinfo +1 -1
- package/oclif.manifest.json +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -316,7 +316,7 @@ DESCRIPTION
|
|
|
316
316
|
Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.
|
|
317
317
|
```
|
|
318
318
|
|
|
319
|
-
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
319
|
+
_See code: [src/commands/actor/index.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/actor/index.ts)_
|
|
320
320
|
|
|
321
321
|
## `apify actor get-input`
|
|
322
322
|
|
|
@@ -330,7 +330,7 @@ DESCRIPTION
|
|
|
330
330
|
Gets the Actor input value from the default key-value store associated with the Actor run.
|
|
331
331
|
```
|
|
332
332
|
|
|
333
|
-
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
333
|
+
_See code: [src/commands/actor/get-input.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/actor/get-input.ts)_
|
|
334
334
|
|
|
335
335
|
## `apify actor get-value KEY`
|
|
336
336
|
|
|
@@ -347,7 +347,7 @@ DESCRIPTION
|
|
|
347
347
|
Gets a value from the default key-value store associated with the Actor run.
|
|
348
348
|
```
|
|
349
349
|
|
|
350
|
-
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
350
|
+
_See code: [src/commands/actor/get-value.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/actor/get-value.ts)_
|
|
351
351
|
|
|
352
352
|
## `apify actor push-data [ITEM]`
|
|
353
353
|
|
|
@@ -369,7 +369,7 @@ DESCRIPTION
|
|
|
369
369
|
$ cat ./test.json | apify actor push-data
|
|
370
370
|
```
|
|
371
371
|
|
|
372
|
-
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
372
|
+
_See code: [src/commands/actor/push-data.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/actor/push-data.ts)_
|
|
373
373
|
|
|
374
374
|
## `apify actor set-value KEY [VALUE]`
|
|
375
375
|
|
|
@@ -398,7 +398,7 @@ DESCRIPTION
|
|
|
398
398
|
$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain
|
|
399
399
|
```
|
|
400
400
|
|
|
401
|
-
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
401
|
+
_See code: [src/commands/actor/set-value.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/actor/set-value.ts)_
|
|
402
402
|
|
|
403
403
|
## `apify call [ACTORID]`
|
|
404
404
|
|
|
@@ -407,7 +407,7 @@ Runs a specific Actor remotely on the Apify cloud platform.
|
|
|
407
407
|
```
|
|
408
408
|
USAGE
|
|
409
409
|
$ apify call [ACTORID] [-b <value>] [-t <value>] [-m <value>] [-w <value>] [-i <value> | --input-file
|
|
410
|
-
<value>]
|
|
410
|
+
<value>] [-s] [-o]
|
|
411
411
|
|
|
412
412
|
ARGUMENTS
|
|
413
413
|
ACTORID Name or ID of the Actor to run (e.g. "my-actor", "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not
|
|
@@ -417,6 +417,8 @@ FLAGS
|
|
|
417
417
|
-b, --build=<value> Tag or number of the build to run (e.g. "latest" or "1.2.34").
|
|
418
418
|
-i, --input=<value> Optional JSON input to be given to the Actor.
|
|
419
419
|
-m, --memory=<value> Amount of memory allocated for the Actor run, in megabytes.
|
|
420
|
+
-o, --output-dataset Prints out the entire default dataset on successful run of the Actor.
|
|
421
|
+
-s, --silent Prevents printing the logs of the Actor run to the console.
|
|
420
422
|
-t, --timeout=<value> Timeout for the Actor run in seconds. Zero value means there is no timeout.
|
|
421
423
|
-w, --wait-for-finish=<value> Seconds for waiting to run to finish, if no value passed, it waits forever.
|
|
422
424
|
--input-file=<value> Optional path to a file with JSON input to be given to the Actor. The file must be a
|
|
@@ -428,7 +430,7 @@ DESCRIPTION
|
|
|
428
430
|
takes input for the Actor from the default local key-value store by default.
|
|
429
431
|
```
|
|
430
432
|
|
|
431
|
-
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
433
|
+
_See code: [src/commands/call.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/call.ts)_
|
|
432
434
|
|
|
433
435
|
## `apify create [ACTORNAME]`
|
|
434
436
|
|
|
@@ -453,7 +455,7 @@ DESCRIPTION
|
|
|
453
455
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
454
456
|
```
|
|
455
457
|
|
|
456
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
458
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/create.ts)_
|
|
457
459
|
|
|
458
460
|
## `apify help [COMMAND]`
|
|
459
461
|
|
|
@@ -488,7 +490,7 @@ DESCRIPTION
|
|
|
488
490
|
The information is printed to the console.
|
|
489
491
|
```
|
|
490
492
|
|
|
491
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
493
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/info.ts)_
|
|
492
494
|
|
|
493
495
|
## `apify init [ACTORNAME]`
|
|
494
496
|
|
|
@@ -516,7 +518,7 @@ DESCRIPTION
|
|
|
516
518
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
517
519
|
```
|
|
518
520
|
|
|
519
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
521
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/init.ts)_
|
|
520
522
|
|
|
521
523
|
## `apify login`
|
|
522
524
|
|
|
@@ -537,7 +539,7 @@ DESCRIPTION
|
|
|
537
539
|
"apify" commands. To log out, call "apify logout".
|
|
538
540
|
```
|
|
539
541
|
|
|
540
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
542
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/login.ts)_
|
|
541
543
|
|
|
542
544
|
## `apify logout`
|
|
543
545
|
|
|
@@ -553,7 +555,7 @@ DESCRIPTION
|
|
|
553
555
|
call "apify login".
|
|
554
556
|
```
|
|
555
557
|
|
|
556
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
558
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/logout.ts)_
|
|
557
559
|
|
|
558
560
|
## `apify pull [ACTORID]`
|
|
559
561
|
|
|
@@ -575,7 +577,7 @@ DESCRIPTION
|
|
|
575
577
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
576
578
|
```
|
|
577
579
|
|
|
578
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
580
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/pull.ts)_
|
|
579
581
|
|
|
580
582
|
## `apify push [ACTORID]`
|
|
581
583
|
|
|
@@ -613,7 +615,7 @@ DESCRIPTION
|
|
|
613
615
|
overwritten with --force flag.
|
|
614
616
|
```
|
|
615
617
|
|
|
616
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
618
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/push.ts)_
|
|
617
619
|
|
|
618
620
|
## `apify run`
|
|
619
621
|
|
|
@@ -649,7 +651,7 @@ DESCRIPTION
|
|
|
649
651
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
650
652
|
```
|
|
651
653
|
|
|
652
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
654
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/run.ts)_
|
|
653
655
|
|
|
654
656
|
## `apify secrets`
|
|
655
657
|
|
|
@@ -679,7 +681,7 @@ DESCRIPTION
|
|
|
679
681
|
of the Actor.
|
|
680
682
|
```
|
|
681
683
|
|
|
682
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
684
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/secrets/index.ts)_
|
|
683
685
|
|
|
684
686
|
## `apify secrets add NAME VALUE`
|
|
685
687
|
|
|
@@ -698,7 +700,7 @@ DESCRIPTION
|
|
|
698
700
|
The secrets are stored to a file at ~/.apify
|
|
699
701
|
```
|
|
700
702
|
|
|
701
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
703
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/secrets/add.ts)_
|
|
702
704
|
|
|
703
705
|
## `apify secrets rm NAME`
|
|
704
706
|
|
|
@@ -715,7 +717,7 @@ DESCRIPTION
|
|
|
715
717
|
Removes the secret.
|
|
716
718
|
```
|
|
717
719
|
|
|
718
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
720
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/secrets/rm.ts)_
|
|
719
721
|
|
|
720
722
|
## `apify task`
|
|
721
723
|
|
|
@@ -729,7 +731,7 @@ DESCRIPTION
|
|
|
729
731
|
Commands are designed to be used to interact with Tasks.
|
|
730
732
|
```
|
|
731
733
|
|
|
732
|
-
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
734
|
+
_See code: [src/commands/task/index.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/task/index.ts)_
|
|
733
735
|
|
|
734
736
|
## `apify task run TASKID`
|
|
735
737
|
|
|
@@ -754,7 +756,7 @@ DESCRIPTION
|
|
|
754
756
|
takes input for the Actor from the default local key-value store by default.
|
|
755
757
|
```
|
|
756
758
|
|
|
757
|
-
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
759
|
+
_See code: [src/commands/task/run.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/task/run.ts)_
|
|
758
760
|
|
|
759
761
|
## `apify validate-schema [PATH]`
|
|
760
762
|
|
|
@@ -779,6 +781,6 @@ DESCRIPTION
|
|
|
779
781
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
780
782
|
```
|
|
781
783
|
|
|
782
|
-
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.20.4
|
|
784
|
+
_See code: [src/commands/validate-schema.ts](https://github.com/apify/apify-cli/blob/v0.20.4/src/commands/validate-schema.ts)_
|
|
783
785
|
<!-- commandsstop -->
|
|
784
786
|
<!-- prettier-ignore-end -->
|