apify-cli 1.0.0-beta.12 → 1.0.0-beta.14
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 +24 -22
- package/bin/dev.js +0 -2
- package/bin/dev.sh +4 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/login.d.ts +1 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +143 -12
- package/dist/commands/login.js.map +1 -1
- package/oclif.manifest.json +12 -29
- package/package.json +2 -1
- package/dist/commands/login-new.d.ts +0 -10
- package/dist/commands/login-new.d.ts.map +0 -1
- package/dist/commands/login-new.js +0 -166
- package/dist/commands/login-new.js.map +0 -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.14/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.14/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.14/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.14/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.14/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.14/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.14/src/commands/create.ts)_
|
|
443
443
|
|
|
444
444
|
## `apify help [COMMAND]`
|
|
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.14/src/commands/info.ts)_
|
|
478
478
|
|
|
479
479
|
## `apify init [ACTORNAME]`
|
|
480
480
|
|
|
@@ -502,26 +502,28 @@ 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.14/src/commands/init.ts)_
|
|
506
506
|
|
|
507
507
|
## `apify login`
|
|
508
508
|
|
|
509
|
-
Logs in to your Apify account
|
|
509
|
+
Logs in to your Apify account.
|
|
510
510
|
|
|
511
511
|
```
|
|
512
512
|
USAGE
|
|
513
|
-
$ apify login [-t <value>]
|
|
513
|
+
$ apify login [-t <value>] [-m console|manual]
|
|
514
514
|
|
|
515
515
|
FLAGS
|
|
516
|
-
-
|
|
516
|
+
-m, --method=<option> [Optional] Method of logging in to Apify
|
|
517
|
+
<options: console|manual>
|
|
518
|
+
-t, --token=<value> [Optional] Apify API token
|
|
517
519
|
|
|
518
520
|
DESCRIPTION
|
|
519
|
-
Logs in to your Apify account
|
|
521
|
+
Logs in to your Apify account.
|
|
520
522
|
The API token and other account information is stored in the ~/.apify directory, from where it is read by all other
|
|
521
523
|
"apify" commands. To log out, call "apify logout".
|
|
522
524
|
```
|
|
523
525
|
|
|
524
|
-
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
526
|
+
_See code: [src/commands/login.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/login.ts)_
|
|
525
527
|
|
|
526
528
|
## `apify logout`
|
|
527
529
|
|
|
@@ -537,7 +539,7 @@ DESCRIPTION
|
|
|
537
539
|
call "apify login".
|
|
538
540
|
```
|
|
539
541
|
|
|
540
|
-
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
542
|
+
_See code: [src/commands/logout.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/logout.ts)_
|
|
541
543
|
|
|
542
544
|
## `apify pull [ACTORID]`
|
|
543
545
|
|
|
@@ -559,7 +561,7 @@ DESCRIPTION
|
|
|
559
561
|
cloned. If it is defined as Web IDE, it will fetch the files.
|
|
560
562
|
```
|
|
561
563
|
|
|
562
|
-
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
564
|
+
_See code: [src/commands/pull.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/pull.ts)_
|
|
563
565
|
|
|
564
566
|
## `apify push [ACTORID]`
|
|
565
567
|
|
|
@@ -597,7 +599,7 @@ DESCRIPTION
|
|
|
597
599
|
overwritten with --force flag.
|
|
598
600
|
```
|
|
599
601
|
|
|
600
|
-
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
602
|
+
_See code: [src/commands/push.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/push.ts)_
|
|
601
603
|
|
|
602
604
|
## `apify run`
|
|
603
605
|
|
|
@@ -625,7 +627,7 @@ DESCRIPTION
|
|
|
625
627
|
package.json file. You can set up your own main file or environment variables by changing it.
|
|
626
628
|
```
|
|
627
629
|
|
|
628
|
-
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
630
|
+
_See code: [src/commands/run.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/run.ts)_
|
|
629
631
|
|
|
630
632
|
## `apify secrets`
|
|
631
633
|
|
|
@@ -655,7 +657,7 @@ DESCRIPTION
|
|
|
655
657
|
of the Actor.
|
|
656
658
|
```
|
|
657
659
|
|
|
658
|
-
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
660
|
+
_See code: [src/commands/secrets/index.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/secrets/index.ts)_
|
|
659
661
|
|
|
660
662
|
## `apify secrets:add NAME VALUE`
|
|
661
663
|
|
|
@@ -674,7 +676,7 @@ DESCRIPTION
|
|
|
674
676
|
The secrets are stored to a file at ~/.apify
|
|
675
677
|
```
|
|
676
678
|
|
|
677
|
-
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
679
|
+
_See code: [src/commands/secrets/add.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/secrets/add.ts)_
|
|
678
680
|
|
|
679
681
|
## `apify secrets:rm NAME`
|
|
680
682
|
|
|
@@ -691,7 +693,7 @@ DESCRIPTION
|
|
|
691
693
|
Removes the secret.
|
|
692
694
|
```
|
|
693
695
|
|
|
694
|
-
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
696
|
+
_See code: [src/commands/secrets/rm.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/secrets/rm.ts)_
|
|
695
697
|
|
|
696
698
|
## `apify vis [PATH]`
|
|
697
699
|
|
|
@@ -716,5 +718,5 @@ DESCRIPTION
|
|
|
716
718
|
You can also pass any custom path to your input schema to have it validated instead.
|
|
717
719
|
```
|
|
718
720
|
|
|
719
|
-
_See code: [src/commands/vis.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.
|
|
721
|
+
_See code: [src/commands/vis.ts](https://github.com/apify/apify-cli/blob/v1.0.0-beta.14/src/commands/vis.ts)_
|
|
720
722
|
<!-- commandsstop -->
|
package/bin/dev.js
CHANGED
package/bin/dev.sh
ADDED