apify-cli 0.21.3-beta.0 → 0.21.4-beta.0
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/CHANGELOG.md +9 -3
- package/README.md +65 -65
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/actors/pull.d.ts.map +1 -1
- package/dist/commands/actors/pull.js +8 -11
- package/dist/commands/actors/pull.js.map +1 -1
- package/dist/commands/actors/push.d.ts.map +1 -1
- package/dist/commands/actors/push.js +17 -20
- package/dist/commands/actors/push.js.map +1 -1
- package/dist/commands/actors/rm.js +1 -1
- package/dist/commands/actors/rm.js.map +1 -1
- package/dist/commands/builds/rm.js +1 -1
- package/dist/commands/builds/rm.js.map +1 -1
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +122 -77
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/datasets/info.d.ts +1 -0
- package/dist/commands/datasets/info.d.ts.map +1 -1
- package/dist/commands/datasets/rm.js +1 -1
- package/dist/commands/datasets/rm.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +22 -19
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/key-value-stores/delete-value.js +1 -1
- package/dist/commands/key-value-stores/delete-value.js.map +1 -1
- package/dist/commands/key-value-stores/info.d.ts +1 -0
- package/dist/commands/key-value-stores/info.d.ts.map +1 -1
- package/dist/commands/key-value-stores/rm.js +1 -1
- package/dist/commands/key-value-stores/rm.js.map +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +125 -103
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/runs/info.d.ts +1 -0
- package/dist/commands/runs/info.d.ts.map +1 -1
- package/dist/commands/runs/rm.js +1 -1
- package/dist/commands/runs/rm.js.map +1 -1
- package/dist/lib/apify_command.d.ts.map +1 -1
- package/dist/lib/apify_command.js +13 -9
- package/dist/lib/apify_command.js.map +1 -1
- package/dist/lib/exec.d.ts +7 -1
- package/dist/lib/exec.d.ts.map +1 -1
- package/dist/lib/exec.js +3 -3
- package/dist/lib/exec.js.map +1 -1
- package/dist/lib/files.d.ts.map +1 -1
- package/dist/lib/files.js +4 -5
- package/dist/lib/files.js.map +1 -1
- package/dist/lib/hooks/runtimes/javascript.d.ts +4 -0
- package/dist/lib/hooks/runtimes/javascript.d.ts.map +1 -0
- package/dist/lib/hooks/runtimes/javascript.js +79 -0
- package/dist/lib/hooks/runtimes/javascript.js.map +1 -0
- package/dist/lib/hooks/runtimes/python.d.ts +8 -0
- package/dist/lib/hooks/runtimes/python.d.ts.map +1 -0
- package/dist/lib/hooks/runtimes/python.js +80 -0
- package/dist/lib/hooks/runtimes/python.js.map +1 -0
- package/dist/lib/hooks/useActorConfig.d.ts +20 -0
- package/dist/lib/hooks/useActorConfig.d.ts.map +1 -0
- package/dist/lib/hooks/useActorConfig.js +175 -0
- package/dist/lib/hooks/useActorConfig.js.map +1 -0
- package/dist/lib/hooks/useCwdProject.d.ts +33 -0
- package/dist/lib/hooks/useCwdProject.d.ts.map +1 -0
- package/dist/lib/hooks/useCwdProject.js +142 -0
- package/dist/lib/hooks/useCwdProject.js.map +1 -0
- package/dist/lib/hooks/useModuleVersion.d.ts +8 -0
- package/dist/lib/hooks/useModuleVersion.d.ts.map +1 -0
- package/dist/lib/hooks/useModuleVersion.js +95 -0
- package/dist/lib/hooks/useModuleVersion.js.map +1 -0
- package/dist/lib/input_schema.d.ts.map +1 -1
- package/dist/lib/input_schema.js +14 -7
- package/dist/lib/input_schema.js.map +1 -1
- package/dist/lib/local_state.d.ts +1 -1
- package/dist/lib/local_state.d.ts.map +1 -1
- package/dist/lib/local_state.js +3 -7
- package/dist/lib/local_state.js.map +1 -1
- package/dist/lib/secrets.d.ts +1 -1
- package/dist/lib/secrets.d.ts.map +1 -1
- package/dist/lib/secrets.js +5 -7
- package/dist/lib/secrets.js.map +1 -1
- package/dist/lib/telemetry.d.ts +1 -1
- package/dist/lib/telemetry.d.ts.map +1 -1
- package/dist/lib/telemetry.js +5 -8
- package/dist/lib/telemetry.js.map +1 -1
- package/dist/lib/{commands → utils}/confirm.d.ts +2 -1
- package/dist/lib/utils/confirm.d.ts.map +1 -0
- package/dist/lib/{commands → utils}/confirm.js +8 -6
- package/dist/lib/utils/confirm.js.map +1 -0
- package/dist/lib/utils.d.ts +1 -6
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +13 -200
- package/dist/lib/utils.js.map +1 -1
- package/dist/typechecking.tsbuildinfo +1 -1
- package/oclif.manifest.json +290 -290
- package/package.json +8 -10
- package/dist/lib/commands/confirm.d.ts.map +0 -1
- package/dist/lib/commands/confirm.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -586,65 +586,69 @@
|
|
|
586
586
|
"validate-schema.js"
|
|
587
587
|
]
|
|
588
588
|
},
|
|
589
|
-
"
|
|
589
|
+
"builds:create": {
|
|
590
590
|
"aliases": [],
|
|
591
591
|
"args": {
|
|
592
|
-
"
|
|
593
|
-
"description": "Name
|
|
594
|
-
"name": "
|
|
595
|
-
"required": true
|
|
592
|
+
"actorId": {
|
|
593
|
+
"description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
|
|
594
|
+
"name": "actorId"
|
|
596
595
|
}
|
|
597
596
|
},
|
|
598
|
-
"description": "
|
|
597
|
+
"description": "Creates a new build of the Actor.",
|
|
599
598
|
"flags": {
|
|
600
|
-
"
|
|
601
|
-
"description": "
|
|
602
|
-
"
|
|
603
|
-
"
|
|
604
|
-
"
|
|
599
|
+
"json": {
|
|
600
|
+
"description": "Format output as json.",
|
|
601
|
+
"helpGroup": "GLOBAL",
|
|
602
|
+
"name": "json",
|
|
603
|
+
"allowNo": false,
|
|
604
|
+
"type": "boolean"
|
|
605
|
+
},
|
|
606
|
+
"tag": {
|
|
607
|
+
"description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
|
|
608
|
+
"name": "tag",
|
|
605
609
|
"hasDynamicHelp": false,
|
|
606
610
|
"multiple": false,
|
|
607
611
|
"type": "option"
|
|
608
612
|
},
|
|
609
|
-
"
|
|
610
|
-
"description": "
|
|
611
|
-
"name": "
|
|
613
|
+
"version": {
|
|
614
|
+
"description": "Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is required when multiple versions have the same tag.",
|
|
615
|
+
"name": "version",
|
|
612
616
|
"required": false,
|
|
613
617
|
"hasDynamicHelp": false,
|
|
614
618
|
"multiple": false,
|
|
615
619
|
"type": "option"
|
|
616
620
|
},
|
|
617
|
-
"
|
|
618
|
-
"description": "
|
|
619
|
-
"name": "
|
|
620
|
-
"required": false,
|
|
621
|
+
"log": {
|
|
622
|
+
"description": "Whether to print out the build log after the build is triggered.",
|
|
623
|
+
"name": "log",
|
|
621
624
|
"allowNo": false,
|
|
622
625
|
"type": "boolean"
|
|
623
626
|
}
|
|
624
627
|
},
|
|
625
628
|
"hasDynamicHelp": false,
|
|
626
629
|
"hiddenAliases": [],
|
|
627
|
-
"id": "
|
|
630
|
+
"id": "builds:create",
|
|
628
631
|
"pluginAlias": "apify-cli",
|
|
629
632
|
"pluginName": "apify-cli",
|
|
630
633
|
"pluginType": "core",
|
|
631
634
|
"strict": true,
|
|
635
|
+
"enableJsonFlag": true,
|
|
632
636
|
"isESM": true,
|
|
633
637
|
"relativePath": [
|
|
634
638
|
"dist",
|
|
635
639
|
"commands",
|
|
636
|
-
"
|
|
637
|
-
"
|
|
640
|
+
"builds",
|
|
641
|
+
"create.js"
|
|
638
642
|
]
|
|
639
643
|
},
|
|
640
|
-
"
|
|
644
|
+
"builds": {
|
|
641
645
|
"aliases": [],
|
|
642
646
|
"args": {},
|
|
643
|
-
"description": "
|
|
647
|
+
"description": "Manages Actor build processes and versioning.",
|
|
644
648
|
"flags": {},
|
|
645
649
|
"hasDynamicHelp": false,
|
|
646
650
|
"hiddenAliases": [],
|
|
647
|
-
"id": "
|
|
651
|
+
"id": "builds",
|
|
648
652
|
"pluginAlias": "apify-cli",
|
|
649
653
|
"pluginName": "apify-cli",
|
|
650
654
|
"pluginType": "core",
|
|
@@ -653,70 +657,59 @@
|
|
|
653
657
|
"relativePath": [
|
|
654
658
|
"dist",
|
|
655
659
|
"commands",
|
|
656
|
-
"
|
|
657
|
-
"
|
|
660
|
+
"builds",
|
|
661
|
+
"index.js"
|
|
658
662
|
]
|
|
659
663
|
},
|
|
660
|
-
"
|
|
664
|
+
"builds:info": {
|
|
661
665
|
"aliases": [],
|
|
662
666
|
"args": {
|
|
663
|
-
"
|
|
664
|
-
"description": "
|
|
665
|
-
"name": "
|
|
667
|
+
"buildId": {
|
|
668
|
+
"description": "The build ID to get information about.",
|
|
669
|
+
"name": "buildId",
|
|
666
670
|
"required": true
|
|
667
671
|
}
|
|
668
672
|
},
|
|
669
|
-
"description": "
|
|
670
|
-
"flags": {
|
|
673
|
+
"description": "Prints information about a specific build.",
|
|
674
|
+
"flags": {
|
|
675
|
+
"json": {
|
|
676
|
+
"description": "Format output as json.",
|
|
677
|
+
"helpGroup": "GLOBAL",
|
|
678
|
+
"name": "json",
|
|
679
|
+
"allowNo": false,
|
|
680
|
+
"type": "boolean"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
671
683
|
"hasDynamicHelp": false,
|
|
672
684
|
"hiddenAliases": [],
|
|
673
|
-
"id": "
|
|
685
|
+
"id": "builds:info",
|
|
674
686
|
"pluginAlias": "apify-cli",
|
|
675
687
|
"pluginName": "apify-cli",
|
|
676
688
|
"pluginType": "core",
|
|
677
689
|
"strict": true,
|
|
690
|
+
"enableJsonFlag": true,
|
|
678
691
|
"isESM": true,
|
|
679
692
|
"relativePath": [
|
|
680
693
|
"dist",
|
|
681
694
|
"commands",
|
|
682
|
-
"
|
|
683
|
-
"
|
|
695
|
+
"builds",
|
|
696
|
+
"info.js"
|
|
684
697
|
]
|
|
685
698
|
},
|
|
686
|
-
"
|
|
699
|
+
"builds:log": {
|
|
687
700
|
"aliases": [],
|
|
688
701
|
"args": {
|
|
689
|
-
"
|
|
690
|
-
"description": "
|
|
691
|
-
"name": "
|
|
702
|
+
"buildId": {
|
|
703
|
+
"description": "The build ID to get the log from.",
|
|
704
|
+
"name": "buildId",
|
|
692
705
|
"required": true
|
|
693
706
|
}
|
|
694
707
|
},
|
|
695
|
-
"description": "
|
|
696
|
-
"flags": {},
|
|
697
|
-
"hasDynamicHelp": false,
|
|
698
|
-
"hiddenAliases": [],
|
|
699
|
-
"id": "actor:get-value",
|
|
700
|
-
"pluginAlias": "apify-cli",
|
|
701
|
-
"pluginName": "apify-cli",
|
|
702
|
-
"pluginType": "core",
|
|
703
|
-
"strict": true,
|
|
704
|
-
"isESM": true,
|
|
705
|
-
"relativePath": [
|
|
706
|
-
"dist",
|
|
707
|
-
"commands",
|
|
708
|
-
"actor",
|
|
709
|
-
"get-value.js"
|
|
710
|
-
]
|
|
711
|
-
},
|
|
712
|
-
"actor": {
|
|
713
|
-
"aliases": [],
|
|
714
|
-
"args": {},
|
|
715
|
-
"description": "Manages runtime data operations inside of a running Actor.",
|
|
708
|
+
"description": "Prints the log of a specific build.",
|
|
716
709
|
"flags": {},
|
|
717
710
|
"hasDynamicHelp": false,
|
|
718
711
|
"hiddenAliases": [],
|
|
719
|
-
"id": "
|
|
712
|
+
"id": "builds:log",
|
|
720
713
|
"pluginAlias": "apify-cli",
|
|
721
714
|
"pluginName": "apify-cli",
|
|
722
715
|
"pluginType": "core",
|
|
@@ -725,64 +718,87 @@
|
|
|
725
718
|
"relativePath": [
|
|
726
719
|
"dist",
|
|
727
720
|
"commands",
|
|
728
|
-
"
|
|
729
|
-
"
|
|
721
|
+
"builds",
|
|
722
|
+
"log.js"
|
|
730
723
|
]
|
|
731
724
|
},
|
|
732
|
-
"
|
|
725
|
+
"builds:ls": {
|
|
733
726
|
"aliases": [],
|
|
734
727
|
"args": {
|
|
735
|
-
"
|
|
736
|
-
"description": "
|
|
737
|
-
"name": "
|
|
728
|
+
"actorId": {
|
|
729
|
+
"description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
|
|
730
|
+
"name": "actorId"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"description": "Lists all builds of the Actor.",
|
|
734
|
+
"flags": {
|
|
735
|
+
"json": {
|
|
736
|
+
"description": "Format output as json.",
|
|
737
|
+
"helpGroup": "GLOBAL",
|
|
738
|
+
"name": "json",
|
|
739
|
+
"allowNo": false,
|
|
740
|
+
"type": "boolean"
|
|
741
|
+
},
|
|
742
|
+
"offset": {
|
|
743
|
+
"description": "Number of builds that will be skipped.",
|
|
744
|
+
"name": "offset",
|
|
745
|
+
"default": 0,
|
|
746
|
+
"hasDynamicHelp": false,
|
|
747
|
+
"multiple": false,
|
|
748
|
+
"type": "option"
|
|
749
|
+
},
|
|
750
|
+
"limit": {
|
|
751
|
+
"description": "Number of builds that will be listed.",
|
|
752
|
+
"name": "limit",
|
|
753
|
+
"default": 10,
|
|
754
|
+
"hasDynamicHelp": false,
|
|
755
|
+
"multiple": false,
|
|
756
|
+
"type": "option"
|
|
757
|
+
},
|
|
758
|
+
"desc": {
|
|
759
|
+
"description": "Sort builds in descending order.",
|
|
760
|
+
"name": "desc",
|
|
761
|
+
"allowNo": false,
|
|
762
|
+
"type": "boolean"
|
|
763
|
+
},
|
|
764
|
+
"compact": {
|
|
765
|
+
"char": "c",
|
|
766
|
+
"description": "Display a compact table.",
|
|
767
|
+
"name": "compact",
|
|
768
|
+
"allowNo": false,
|
|
769
|
+
"type": "boolean"
|
|
738
770
|
}
|
|
739
771
|
},
|
|
740
|
-
"description": "Saves data to Actor's run default dataset.\n\nAccept input as:\n - JSON argument:\n $ apify actor push-data {\"key\": \"value\"}\n - Piped stdin:\n $ cat ./test.json | apify actor push-data",
|
|
741
|
-
"flags": {},
|
|
742
772
|
"hasDynamicHelp": false,
|
|
743
773
|
"hiddenAliases": [],
|
|
744
|
-
"id": "
|
|
774
|
+
"id": "builds:ls",
|
|
745
775
|
"pluginAlias": "apify-cli",
|
|
746
776
|
"pluginName": "apify-cli",
|
|
747
777
|
"pluginType": "core",
|
|
748
778
|
"strict": true,
|
|
779
|
+
"enableJsonFlag": true,
|
|
749
780
|
"isESM": true,
|
|
750
781
|
"relativePath": [
|
|
751
782
|
"dist",
|
|
752
783
|
"commands",
|
|
753
|
-
"
|
|
754
|
-
"
|
|
784
|
+
"builds",
|
|
785
|
+
"ls.js"
|
|
755
786
|
]
|
|
756
787
|
},
|
|
757
|
-
"
|
|
788
|
+
"builds:rm": {
|
|
758
789
|
"aliases": [],
|
|
759
790
|
"args": {
|
|
760
|
-
"
|
|
761
|
-
"description": "
|
|
762
|
-
"name": "
|
|
791
|
+
"buildId": {
|
|
792
|
+
"description": "The build ID to delete.",
|
|
793
|
+
"name": "buildId",
|
|
763
794
|
"required": true
|
|
764
|
-
},
|
|
765
|
-
"value": {
|
|
766
|
-
"description": "Record data, which can be one of the following values:\n- If empty, the record in the key-value store is deleted.\n- If no `contentType` flag is specified, value is expected to be any JSON string value.\n- If options.contentType is set, value is taken as is.",
|
|
767
|
-
"name": "value",
|
|
768
|
-
"required": false
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
"description": "Sets or removes record into the default key-value store associated with the Actor run.\n\nIt is possible to pass data using argument or stdin.\n\nPassing data using argument:\n$ apify actor set-value KEY my-value\n\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain",
|
|
772
|
-
"flags": {
|
|
773
|
-
"contentType": {
|
|
774
|
-
"char": "c",
|
|
775
|
-
"description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
|
|
776
|
-
"name": "contentType",
|
|
777
|
-
"required": false,
|
|
778
|
-
"hasDynamicHelp": false,
|
|
779
|
-
"multiple": false,
|
|
780
|
-
"type": "option"
|
|
781
795
|
}
|
|
782
796
|
},
|
|
797
|
+
"description": "Permanently removes an Actor build from the Apify platform.",
|
|
798
|
+
"flags": {},
|
|
783
799
|
"hasDynamicHelp": false,
|
|
784
800
|
"hiddenAliases": [],
|
|
785
|
-
"id": "
|
|
801
|
+
"id": "builds:rm",
|
|
786
802
|
"pluginAlias": "apify-cli",
|
|
787
803
|
"pluginName": "apify-cli",
|
|
788
804
|
"pluginType": "core",
|
|
@@ -791,73 +807,69 @@
|
|
|
791
807
|
"relativePath": [
|
|
792
808
|
"dist",
|
|
793
809
|
"commands",
|
|
794
|
-
"
|
|
795
|
-
"
|
|
810
|
+
"builds",
|
|
811
|
+
"rm.js"
|
|
796
812
|
]
|
|
797
813
|
},
|
|
798
|
-
"
|
|
814
|
+
"actor:charge": {
|
|
799
815
|
"aliases": [],
|
|
800
816
|
"args": {
|
|
801
|
-
"
|
|
802
|
-
"description": "
|
|
803
|
-
"name": "
|
|
817
|
+
"eventName": {
|
|
818
|
+
"description": "Name of the event to charge for",
|
|
819
|
+
"name": "eventName",
|
|
820
|
+
"required": true
|
|
804
821
|
}
|
|
805
822
|
},
|
|
806
|
-
"description": "
|
|
823
|
+
"description": "Charge for a specific event in the pay-per-event Actor run.",
|
|
807
824
|
"flags": {
|
|
808
|
-
"
|
|
809
|
-
"description": "
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
"
|
|
813
|
-
"type": "boolean"
|
|
814
|
-
},
|
|
815
|
-
"tag": {
|
|
816
|
-
"description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
|
|
817
|
-
"name": "tag",
|
|
825
|
+
"count": {
|
|
826
|
+
"description": "Number of events to charge",
|
|
827
|
+
"name": "count",
|
|
828
|
+
"required": false,
|
|
829
|
+
"default": 1,
|
|
818
830
|
"hasDynamicHelp": false,
|
|
819
831
|
"multiple": false,
|
|
820
832
|
"type": "option"
|
|
821
833
|
},
|
|
822
|
-
"
|
|
823
|
-
"description": "
|
|
824
|
-
"name": "
|
|
834
|
+
"idempotency-key": {
|
|
835
|
+
"description": "Idempotency key for the charge request",
|
|
836
|
+
"name": "idempotency-key",
|
|
825
837
|
"required": false,
|
|
826
838
|
"hasDynamicHelp": false,
|
|
827
839
|
"multiple": false,
|
|
828
840
|
"type": "option"
|
|
829
841
|
},
|
|
830
|
-
"
|
|
831
|
-
"description": "
|
|
832
|
-
"name": "
|
|
842
|
+
"test-pay-per-event": {
|
|
843
|
+
"description": "Test pay-per-event charging without actually charging",
|
|
844
|
+
"name": "test-pay-per-event",
|
|
845
|
+
"required": false,
|
|
833
846
|
"allowNo": false,
|
|
834
847
|
"type": "boolean"
|
|
835
848
|
}
|
|
836
849
|
},
|
|
837
850
|
"hasDynamicHelp": false,
|
|
838
851
|
"hiddenAliases": [],
|
|
839
|
-
"id": "
|
|
852
|
+
"id": "actor:charge",
|
|
840
853
|
"pluginAlias": "apify-cli",
|
|
841
854
|
"pluginName": "apify-cli",
|
|
842
855
|
"pluginType": "core",
|
|
843
856
|
"strict": true,
|
|
844
|
-
"enableJsonFlag": true,
|
|
845
857
|
"isESM": true,
|
|
846
858
|
"relativePath": [
|
|
847
859
|
"dist",
|
|
848
860
|
"commands",
|
|
849
|
-
"
|
|
850
|
-
"
|
|
861
|
+
"actor",
|
|
862
|
+
"charge.js"
|
|
851
863
|
]
|
|
852
864
|
},
|
|
853
|
-
"
|
|
865
|
+
"actor:get-input": {
|
|
854
866
|
"aliases": [],
|
|
855
867
|
"args": {},
|
|
856
|
-
"description": "
|
|
868
|
+
"description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
|
|
857
869
|
"flags": {},
|
|
858
870
|
"hasDynamicHelp": false,
|
|
859
871
|
"hiddenAliases": [],
|
|
860
|
-
"id": "
|
|
872
|
+
"id": "actor:get-input",
|
|
861
873
|
"pluginAlias": "apify-cli",
|
|
862
874
|
"pluginName": "apify-cli",
|
|
863
875
|
"pluginType": "core",
|
|
@@ -866,59 +878,70 @@
|
|
|
866
878
|
"relativePath": [
|
|
867
879
|
"dist",
|
|
868
880
|
"commands",
|
|
869
|
-
"
|
|
870
|
-
"
|
|
881
|
+
"actor",
|
|
882
|
+
"get-input.js"
|
|
871
883
|
]
|
|
872
884
|
},
|
|
873
|
-
"
|
|
885
|
+
"actor:get-public-url": {
|
|
874
886
|
"aliases": [],
|
|
875
887
|
"args": {
|
|
876
|
-
"
|
|
877
|
-
"description": "
|
|
878
|
-
"name": "
|
|
888
|
+
"key": {
|
|
889
|
+
"description": "Key of the record in key-value store",
|
|
890
|
+
"name": "key",
|
|
879
891
|
"required": true
|
|
880
892
|
}
|
|
881
893
|
},
|
|
882
|
-
"description": "
|
|
883
|
-
"flags": {
|
|
884
|
-
"json": {
|
|
885
|
-
"description": "Format output as json.",
|
|
886
|
-
"helpGroup": "GLOBAL",
|
|
887
|
-
"name": "json",
|
|
888
|
-
"allowNo": false,
|
|
889
|
-
"type": "boolean"
|
|
890
|
-
}
|
|
891
|
-
},
|
|
894
|
+
"description": "Get an HTTP URL that allows public access to a key-value store item.",
|
|
895
|
+
"flags": {},
|
|
892
896
|
"hasDynamicHelp": false,
|
|
893
897
|
"hiddenAliases": [],
|
|
894
|
-
"id": "
|
|
898
|
+
"id": "actor:get-public-url",
|
|
895
899
|
"pluginAlias": "apify-cli",
|
|
896
900
|
"pluginName": "apify-cli",
|
|
897
901
|
"pluginType": "core",
|
|
898
902
|
"strict": true,
|
|
899
|
-
"enableJsonFlag": true,
|
|
900
903
|
"isESM": true,
|
|
901
904
|
"relativePath": [
|
|
902
905
|
"dist",
|
|
903
906
|
"commands",
|
|
904
|
-
"
|
|
905
|
-
"
|
|
907
|
+
"actor",
|
|
908
|
+
"get-public-url.js"
|
|
906
909
|
]
|
|
907
910
|
},
|
|
908
|
-
"
|
|
911
|
+
"actor:get-value": {
|
|
909
912
|
"aliases": [],
|
|
910
913
|
"args": {
|
|
911
|
-
"
|
|
912
|
-
"description": "
|
|
913
|
-
"name": "
|
|
914
|
+
"key": {
|
|
915
|
+
"description": "Key of the record in key-value store",
|
|
916
|
+
"name": "key",
|
|
914
917
|
"required": true
|
|
915
918
|
}
|
|
916
919
|
},
|
|
917
|
-
"description": "
|
|
920
|
+
"description": "Gets a value from the default key-value store associated with the Actor run.",
|
|
918
921
|
"flags": {},
|
|
919
922
|
"hasDynamicHelp": false,
|
|
920
923
|
"hiddenAliases": [],
|
|
921
|
-
"id": "
|
|
924
|
+
"id": "actor:get-value",
|
|
925
|
+
"pluginAlias": "apify-cli",
|
|
926
|
+
"pluginName": "apify-cli",
|
|
927
|
+
"pluginType": "core",
|
|
928
|
+
"strict": true,
|
|
929
|
+
"isESM": true,
|
|
930
|
+
"relativePath": [
|
|
931
|
+
"dist",
|
|
932
|
+
"commands",
|
|
933
|
+
"actor",
|
|
934
|
+
"get-value.js"
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
"actor": {
|
|
938
|
+
"aliases": [],
|
|
939
|
+
"args": {},
|
|
940
|
+
"description": "Manages runtime data operations inside of a running Actor.",
|
|
941
|
+
"flags": {},
|
|
942
|
+
"hasDynamicHelp": false,
|
|
943
|
+
"hiddenAliases": [],
|
|
944
|
+
"id": "actor",
|
|
922
945
|
"pluginAlias": "apify-cli",
|
|
923
946
|
"pluginName": "apify-cli",
|
|
924
947
|
"pluginType": "core",
|
|
@@ -927,87 +950,64 @@
|
|
|
927
950
|
"relativePath": [
|
|
928
951
|
"dist",
|
|
929
952
|
"commands",
|
|
930
|
-
"
|
|
931
|
-
"
|
|
953
|
+
"actor",
|
|
954
|
+
"index.js"
|
|
932
955
|
]
|
|
933
956
|
},
|
|
934
|
-
"
|
|
957
|
+
"actor:push-data": {
|
|
935
958
|
"aliases": [],
|
|
936
959
|
"args": {
|
|
937
|
-
"
|
|
938
|
-
"description": "
|
|
939
|
-
"name": "
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
"description": "Lists all builds of the Actor.",
|
|
943
|
-
"flags": {
|
|
944
|
-
"json": {
|
|
945
|
-
"description": "Format output as json.",
|
|
946
|
-
"helpGroup": "GLOBAL",
|
|
947
|
-
"name": "json",
|
|
948
|
-
"allowNo": false,
|
|
949
|
-
"type": "boolean"
|
|
950
|
-
},
|
|
951
|
-
"offset": {
|
|
952
|
-
"description": "Number of builds that will be skipped.",
|
|
953
|
-
"name": "offset",
|
|
954
|
-
"default": 0,
|
|
955
|
-
"hasDynamicHelp": false,
|
|
956
|
-
"multiple": false,
|
|
957
|
-
"type": "option"
|
|
958
|
-
},
|
|
959
|
-
"limit": {
|
|
960
|
-
"description": "Number of builds that will be listed.",
|
|
961
|
-
"name": "limit",
|
|
962
|
-
"default": 10,
|
|
963
|
-
"hasDynamicHelp": false,
|
|
964
|
-
"multiple": false,
|
|
965
|
-
"type": "option"
|
|
966
|
-
},
|
|
967
|
-
"desc": {
|
|
968
|
-
"description": "Sort builds in descending order.",
|
|
969
|
-
"name": "desc",
|
|
970
|
-
"allowNo": false,
|
|
971
|
-
"type": "boolean"
|
|
972
|
-
},
|
|
973
|
-
"compact": {
|
|
974
|
-
"char": "c",
|
|
975
|
-
"description": "Display a compact table.",
|
|
976
|
-
"name": "compact",
|
|
977
|
-
"allowNo": false,
|
|
978
|
-
"type": "boolean"
|
|
960
|
+
"item": {
|
|
961
|
+
"description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
|
|
962
|
+
"name": "item"
|
|
979
963
|
}
|
|
980
964
|
},
|
|
965
|
+
"description": "Saves data to Actor's run default dataset.\n\nAccept input as:\n - JSON argument:\n $ apify actor push-data {\"key\": \"value\"}\n - Piped stdin:\n $ cat ./test.json | apify actor push-data",
|
|
966
|
+
"flags": {},
|
|
981
967
|
"hasDynamicHelp": false,
|
|
982
968
|
"hiddenAliases": [],
|
|
983
|
-
"id": "
|
|
969
|
+
"id": "actor:push-data",
|
|
984
970
|
"pluginAlias": "apify-cli",
|
|
985
971
|
"pluginName": "apify-cli",
|
|
986
972
|
"pluginType": "core",
|
|
987
973
|
"strict": true,
|
|
988
|
-
"enableJsonFlag": true,
|
|
989
974
|
"isESM": true,
|
|
990
975
|
"relativePath": [
|
|
991
976
|
"dist",
|
|
992
977
|
"commands",
|
|
993
|
-
"
|
|
994
|
-
"
|
|
978
|
+
"actor",
|
|
979
|
+
"push-data.js"
|
|
995
980
|
]
|
|
996
981
|
},
|
|
997
|
-
"
|
|
982
|
+
"actor:set-value": {
|
|
998
983
|
"aliases": [],
|
|
999
984
|
"args": {
|
|
1000
|
-
"
|
|
1001
|
-
"description": "
|
|
1002
|
-
"name": "
|
|
985
|
+
"key": {
|
|
986
|
+
"description": "Key of the record in key-value store.",
|
|
987
|
+
"name": "key",
|
|
1003
988
|
"required": true
|
|
989
|
+
},
|
|
990
|
+
"value": {
|
|
991
|
+
"description": "Record data, which can be one of the following values:\n- If empty, the record in the key-value store is deleted.\n- If no `contentType` flag is specified, value is expected to be any JSON string value.\n- If options.contentType is set, value is taken as is.",
|
|
992
|
+
"name": "value",
|
|
993
|
+
"required": false
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"description": "Sets or removes record into the default key-value store associated with the Actor run.\n\nIt is possible to pass data using argument or stdin.\n\nPassing data using argument:\n$ apify actor set-value KEY my-value\n\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain",
|
|
997
|
+
"flags": {
|
|
998
|
+
"contentType": {
|
|
999
|
+
"char": "c",
|
|
1000
|
+
"description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
|
|
1001
|
+
"name": "contentType",
|
|
1002
|
+
"required": false,
|
|
1003
|
+
"hasDynamicHelp": false,
|
|
1004
|
+
"multiple": false,
|
|
1005
|
+
"type": "option"
|
|
1004
1006
|
}
|
|
1005
1007
|
},
|
|
1006
|
-
"description": "Permanently removes an Actor build from the Apify platform.",
|
|
1007
|
-
"flags": {},
|
|
1008
1008
|
"hasDynamicHelp": false,
|
|
1009
1009
|
"hiddenAliases": [],
|
|
1010
|
-
"id": "
|
|
1010
|
+
"id": "actor:set-value",
|
|
1011
1011
|
"pluginAlias": "apify-cli",
|
|
1012
1012
|
"pluginName": "apify-cli",
|
|
1013
1013
|
"pluginType": "core",
|
|
@@ -1016,8 +1016,8 @@
|
|
|
1016
1016
|
"relativePath": [
|
|
1017
1017
|
"dist",
|
|
1018
1018
|
"commands",
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
1019
|
+
"actor",
|
|
1020
|
+
"set-value.js"
|
|
1021
1021
|
]
|
|
1022
1022
|
},
|
|
1023
1023
|
"actors:build": {
|
|
@@ -1838,6 +1838,26 @@
|
|
|
1838
1838
|
"rm.js"
|
|
1839
1839
|
]
|
|
1840
1840
|
},
|
|
1841
|
+
"request-queues": {
|
|
1842
|
+
"aliases": [],
|
|
1843
|
+
"args": {},
|
|
1844
|
+
"description": "Manages URL queues for web scraping and automation tasks.",
|
|
1845
|
+
"flags": {},
|
|
1846
|
+
"hasDynamicHelp": false,
|
|
1847
|
+
"hiddenAliases": [],
|
|
1848
|
+
"id": "request-queues",
|
|
1849
|
+
"pluginAlias": "apify-cli",
|
|
1850
|
+
"pluginName": "apify-cli",
|
|
1851
|
+
"pluginType": "core",
|
|
1852
|
+
"strict": true,
|
|
1853
|
+
"isESM": true,
|
|
1854
|
+
"relativePath": [
|
|
1855
|
+
"dist",
|
|
1856
|
+
"commands",
|
|
1857
|
+
"request-queues",
|
|
1858
|
+
"index.js"
|
|
1859
|
+
]
|
|
1860
|
+
},
|
|
1841
1861
|
"key-value-stores:create": {
|
|
1842
1862
|
"aliases": [],
|
|
1843
1863
|
"args": {
|
|
@@ -2231,14 +2251,45 @@
|
|
|
2231
2251
|
"set-value.js"
|
|
2232
2252
|
]
|
|
2233
2253
|
},
|
|
2234
|
-
"
|
|
2254
|
+
"secrets:add": {
|
|
2255
|
+
"aliases": [],
|
|
2256
|
+
"args": {
|
|
2257
|
+
"name": {
|
|
2258
|
+
"description": "Name of the secret",
|
|
2259
|
+
"name": "name",
|
|
2260
|
+
"required": true
|
|
2261
|
+
},
|
|
2262
|
+
"value": {
|
|
2263
|
+
"description": "Value of the secret",
|
|
2264
|
+
"name": "value",
|
|
2265
|
+
"required": true
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
|
|
2269
|
+
"flags": {},
|
|
2270
|
+
"hasDynamicHelp": false,
|
|
2271
|
+
"hiddenAliases": [],
|
|
2272
|
+
"id": "secrets:add",
|
|
2273
|
+
"pluginAlias": "apify-cli",
|
|
2274
|
+
"pluginName": "apify-cli",
|
|
2275
|
+
"pluginType": "core",
|
|
2276
|
+
"strict": true,
|
|
2277
|
+
"isESM": true,
|
|
2278
|
+
"relativePath": [
|
|
2279
|
+
"dist",
|
|
2280
|
+
"commands",
|
|
2281
|
+
"secrets",
|
|
2282
|
+
"add.js"
|
|
2283
|
+
]
|
|
2284
|
+
},
|
|
2285
|
+
"secrets": {
|
|
2235
2286
|
"aliases": [],
|
|
2236
2287
|
"args": {},
|
|
2237
|
-
"description": "Manages
|
|
2288
|
+
"description": "Manages secure environment variables for Actors.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nThe \"mySecret\" value can be used in an environment variable defined in '.actor/actor.json' file by adding the \"@\"\nprefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\"\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable\nof the Actor.",
|
|
2238
2289
|
"flags": {},
|
|
2239
2290
|
"hasDynamicHelp": false,
|
|
2240
2291
|
"hiddenAliases": [],
|
|
2241
|
-
"id": "
|
|
2292
|
+
"id": "secrets",
|
|
2242
2293
|
"pluginAlias": "apify-cli",
|
|
2243
2294
|
"pluginName": "apify-cli",
|
|
2244
2295
|
"pluginType": "core",
|
|
@@ -2247,10 +2298,36 @@
|
|
|
2247
2298
|
"relativePath": [
|
|
2248
2299
|
"dist",
|
|
2249
2300
|
"commands",
|
|
2250
|
-
"
|
|
2301
|
+
"secrets",
|
|
2251
2302
|
"index.js"
|
|
2252
2303
|
]
|
|
2253
2304
|
},
|
|
2305
|
+
"secrets:rm": {
|
|
2306
|
+
"aliases": [],
|
|
2307
|
+
"args": {
|
|
2308
|
+
"name": {
|
|
2309
|
+
"description": "Name of the secret",
|
|
2310
|
+
"name": "name",
|
|
2311
|
+
"required": true
|
|
2312
|
+
}
|
|
2313
|
+
},
|
|
2314
|
+
"description": "Permanently deletes a secret from your stored credentials.",
|
|
2315
|
+
"flags": {},
|
|
2316
|
+
"hasDynamicHelp": false,
|
|
2317
|
+
"hiddenAliases": [],
|
|
2318
|
+
"id": "secrets:rm",
|
|
2319
|
+
"pluginAlias": "apify-cli",
|
|
2320
|
+
"pluginName": "apify-cli",
|
|
2321
|
+
"pluginType": "core",
|
|
2322
|
+
"strict": true,
|
|
2323
|
+
"isESM": true,
|
|
2324
|
+
"relativePath": [
|
|
2325
|
+
"dist",
|
|
2326
|
+
"commands",
|
|
2327
|
+
"secrets",
|
|
2328
|
+
"rm.js"
|
|
2329
|
+
]
|
|
2330
|
+
},
|
|
2254
2331
|
"runs:abort": {
|
|
2255
2332
|
"aliases": [],
|
|
2256
2333
|
"args": {
|
|
@@ -2505,83 +2582,6 @@
|
|
|
2505
2582
|
"rm.js"
|
|
2506
2583
|
]
|
|
2507
2584
|
},
|
|
2508
|
-
"secrets:add": {
|
|
2509
|
-
"aliases": [],
|
|
2510
|
-
"args": {
|
|
2511
|
-
"name": {
|
|
2512
|
-
"description": "Name of the secret",
|
|
2513
|
-
"name": "name",
|
|
2514
|
-
"required": true
|
|
2515
|
-
},
|
|
2516
|
-
"value": {
|
|
2517
|
-
"description": "Value of the secret",
|
|
2518
|
-
"name": "value",
|
|
2519
|
-
"required": true
|
|
2520
|
-
}
|
|
2521
|
-
},
|
|
2522
|
-
"description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
|
|
2523
|
-
"flags": {},
|
|
2524
|
-
"hasDynamicHelp": false,
|
|
2525
|
-
"hiddenAliases": [],
|
|
2526
|
-
"id": "secrets:add",
|
|
2527
|
-
"pluginAlias": "apify-cli",
|
|
2528
|
-
"pluginName": "apify-cli",
|
|
2529
|
-
"pluginType": "core",
|
|
2530
|
-
"strict": true,
|
|
2531
|
-
"isESM": true,
|
|
2532
|
-
"relativePath": [
|
|
2533
|
-
"dist",
|
|
2534
|
-
"commands",
|
|
2535
|
-
"secrets",
|
|
2536
|
-
"add.js"
|
|
2537
|
-
]
|
|
2538
|
-
},
|
|
2539
|
-
"secrets": {
|
|
2540
|
-
"aliases": [],
|
|
2541
|
-
"args": {},
|
|
2542
|
-
"description": "Manages secure environment variables for Actors.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nThe \"mySecret\" value can be used in an environment variable defined in '.actor/actor.json' file by adding the \"@\"\nprefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\"\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable\nof the Actor.",
|
|
2543
|
-
"flags": {},
|
|
2544
|
-
"hasDynamicHelp": false,
|
|
2545
|
-
"hiddenAliases": [],
|
|
2546
|
-
"id": "secrets",
|
|
2547
|
-
"pluginAlias": "apify-cli",
|
|
2548
|
-
"pluginName": "apify-cli",
|
|
2549
|
-
"pluginType": "core",
|
|
2550
|
-
"strict": true,
|
|
2551
|
-
"isESM": true,
|
|
2552
|
-
"relativePath": [
|
|
2553
|
-
"dist",
|
|
2554
|
-
"commands",
|
|
2555
|
-
"secrets",
|
|
2556
|
-
"index.js"
|
|
2557
|
-
]
|
|
2558
|
-
},
|
|
2559
|
-
"secrets:rm": {
|
|
2560
|
-
"aliases": [],
|
|
2561
|
-
"args": {
|
|
2562
|
-
"name": {
|
|
2563
|
-
"description": "Name of the secret",
|
|
2564
|
-
"name": "name",
|
|
2565
|
-
"required": true
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"description": "Permanently deletes a secret from your stored credentials.",
|
|
2569
|
-
"flags": {},
|
|
2570
|
-
"hasDynamicHelp": false,
|
|
2571
|
-
"hiddenAliases": [],
|
|
2572
|
-
"id": "secrets:rm",
|
|
2573
|
-
"pluginAlias": "apify-cli",
|
|
2574
|
-
"pluginName": "apify-cli",
|
|
2575
|
-
"pluginType": "core",
|
|
2576
|
-
"strict": true,
|
|
2577
|
-
"isESM": true,
|
|
2578
|
-
"relativePath": [
|
|
2579
|
-
"dist",
|
|
2580
|
-
"commands",
|
|
2581
|
-
"secrets",
|
|
2582
|
-
"rm.js"
|
|
2583
|
-
]
|
|
2584
|
-
},
|
|
2585
2585
|
"task": {
|
|
2586
2586
|
"aliases": [],
|
|
2587
2587
|
"args": {},
|
|
@@ -2657,5 +2657,5 @@
|
|
|
2657
2657
|
]
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
|
-
"version": "0.21.
|
|
2660
|
+
"version": "0.21.4-beta.0"
|
|
2661
2661
|
}
|