apify-cli 1.0.0-beta.8 → 1.0.0-beta.9
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 -20
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/push.d.ts +2 -0
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +29 -2
- package/dist/commands/push.js.map +1 -1
- package/oclif.manifest.json +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ If you receive an `EACCES` error, you might need to run the command as root:
|
|
|
51
51
|
sudo npm -g install apify-cli
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Alternatively, you can use [Node Version Manager (nvm)](https://github.com/nvm-sh/nvm) and install Apify CLI only into a selected user-level Node version without requiring root privileges:
|
|
55
55
|
|
|
56
56
|
```
|
|
57
57
|
nvm install 16
|
|
@@ -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.9/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.9/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.9/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.9/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.9/src/commands/actor/set-value.ts)_
|
|
393
393
|
|
|
394
394
|
## `apify call [ACTORID]`
|
|
395
395
|
|
|
@@ -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.9/src/commands/call.ts)_
|
|
419
419
|
|
|
420
420
|
## `apify create [ACTORNAME]`
|
|
421
421
|
|
|
@@ -439,7 +439,7 @@ DESCRIPTION
|
|
|
439
439
|
Creates a new Actor project directory from a selected boilerplate template.
|
|
440
440
|
```
|
|
441
441
|
|
|
442
|
-
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
442
|
+
_See code: [src/commands/create.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/create.ts)_
|
|
443
443
|
|
|
444
444
|
## `apify help [COMMANDS]`
|
|
445
445
|
|
|
@@ -474,7 +474,7 @@ DESCRIPTION
|
|
|
474
474
|
The information is printed to the console.
|
|
475
475
|
```
|
|
476
476
|
|
|
477
|
-
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
477
|
+
_See code: [src/commands/info.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/info.ts)_
|
|
478
478
|
|
|
479
479
|
## `apify init [ACTORNAME]`
|
|
480
480
|
|
|
@@ -502,7 +502,7 @@ DESCRIPTION
|
|
|
502
502
|
WARNING: The directory at "storage" will be overwritten if it already exists.
|
|
503
503
|
```
|
|
504
504
|
|
|
505
|
-
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
505
|
+
_See code: [src/commands/init.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/init.ts)_
|
|
506
506
|
|
|
507
507
|
## `apify login`
|
|
508
508
|
|
|
@@ -521,7 +521,7 @@ DESCRIPTION
|
|
|
521
521
|
"apify" commands. To log out, call "apify logout".
|
|
522
522
|
```
|
|
523
523
|
|
|
524
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
524
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/login.ts)_
|
|
525
525
|
|
|
526
526
|
## `apify logout`
|
|
527
527
|
|
|
@@ -537,7 +537,7 @@ DESCRIPTION
|
|
|
537
537
|
call "apify login".
|
|
538
538
|
```
|
|
539
539
|
|
|
540
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
540
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/logout.ts)_
|
|
541
541
|
|
|
542
542
|
## `apify pull [ACTORID]`
|
|
543
543
|
|
|
@@ -559,7 +559,7 @@ DESCRIPTION
|
|
|
559
559
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
560
560
|
```
|
|
561
561
|
|
|
562
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
562
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/pull.ts)_
|
|
563
563
|
|
|
564
564
|
## `apify push [ACTORID]`
|
|
565
565
|
|
|
@@ -568,6 +568,7 @@ Uploads the Actor to the Apify platform and builds it there.
|
|
|
568
568
|
```
|
|
569
569
|
USAGE
|
|
570
570
|
$ apify push [ACTORID] [--version-number <value>] [-v <value>] [-b <value>] [-w <value>] [--no-prompt]
|
|
571
|
+
[--force]
|
|
571
572
|
|
|
572
573
|
ARGUMENTS
|
|
573
574
|
ACTORID Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the
|
|
@@ -579,6 +580,7 @@ FLAGS
|
|
|
579
580
|
-v, --version=<value> Actor version number to which the files should be pushed. By default, it is taken from
|
|
580
581
|
the ".actor/actor.json" file.
|
|
581
582
|
-w, --wait-for-finish=<value> Seconds for waiting to build to finish, if no value passed, it waits forever.
|
|
583
|
+
--force Push an Actor even when the local files are older than the Actor on the platform.
|
|
582
584
|
--no-prompt Do not prompt for opening the Actor details in a browser. This will also not open the
|
|
583
585
|
browser automatically.
|
|
584
586
|
--version-number=<value> DEPRECATED: Use flag version instead. Actor version number to which the files should be
|
|
@@ -591,10 +593,11 @@ DESCRIPTION
|
|
|
591
593
|
NOTE: If the source files are smaller than 3 MB then they are uploaded as
|
|
592
594
|
"Multiple source files", otherwise they are uploaded as "Zip file".
|
|
593
595
|
|
|
594
|
-
|
|
596
|
+
When there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be
|
|
597
|
+
overwritten with --force flag.
|
|
595
598
|
```
|
|
596
599
|
|
|
597
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
600
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/push.ts)_
|
|
598
601
|
|
|
599
602
|
## `apify run`
|
|
600
603
|
|
|
@@ -622,7 +625,7 @@ DESCRIPTION
|
|
|
622
625
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
623
626
|
```
|
|
624
627
|
|
|
625
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
628
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/run.ts)_
|
|
626
629
|
|
|
627
630
|
## `apify secrets`
|
|
628
631
|
|
|
@@ -652,7 +655,7 @@ DESCRIPTION
|
|
|
652
655
|
of the Actor.
|
|
653
656
|
```
|
|
654
657
|
|
|
655
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
658
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/secrets/index.ts)_
|
|
656
659
|
|
|
657
660
|
## `apify secrets:add NAME VALUE`
|
|
658
661
|
|
|
@@ -671,7 +674,7 @@ DESCRIPTION
|
|
|
671
674
|
The secrets are stored to a file at ~/.apify
|
|
672
675
|
```
|
|
673
676
|
|
|
674
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
677
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/secrets/add.ts)_
|
|
675
678
|
|
|
676
679
|
## `apify secrets:rm NAME`
|
|
677
680
|
|
|
@@ -688,7 +691,7 @@ DESCRIPTION
|
|
|
688
691
|
Removes the secret.
|
|
689
692
|
```
|
|
690
693
|
|
|
691
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
694
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/secrets/rm.ts)_
|
|
692
695
|
|
|
693
696
|
## `apify vis [PATH]`
|
|
694
697
|
|
|
@@ -713,5 +716,5 @@ DESCRIPTION
|
|
|
713
716
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
714
717
|
```
|
|
715
718
|
|
|
716
|
-
_See code: [src/commands/vis.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
719
|
+
_See code: [src/commands/vis.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.9/src/commands/vis.ts)_
|
|
717
720
|
<!-- commandsstop -->
|