apify-cli 0.21.0-beta.85 → 0.21.0-beta.87

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.
@@ -586,60 +586,69 @@
586
586
  "validate-schema.js"
587
587
  ]
588
588
  },
589
- "actor:get-input": {
590
- "aliases": [],
591
- "args": {},
592
- "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
593
- "flags": {},
594
- "hasDynamicHelp": false,
595
- "hiddenAliases": [],
596
- "id": "actor:get-input",
597
- "pluginAlias": "apify-cli",
598
- "pluginName": "apify-cli",
599
- "pluginType": "core",
600
- "strict": true,
601
- "isESM": true,
602
- "relativePath": [
603
- "dist",
604
- "commands",
605
- "actor",
606
- "get-input.js"
607
- ]
608
- },
609
- "actor:get-value": {
589
+ "builds:create": {
610
590
  "aliases": [],
611
591
  "args": {
612
- "key": {
613
- "description": "Key of the record in key-value store",
614
- "name": "key",
615
- "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"
595
+ }
596
+ },
597
+ "description": "Creates a new build of the Actor.",
598
+ "flags": {
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",
609
+ "hasDynamicHelp": false,
610
+ "multiple": false,
611
+ "type": "option"
612
+ },
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",
616
+ "required": false,
617
+ "hasDynamicHelp": false,
618
+ "multiple": false,
619
+ "type": "option"
620
+ },
621
+ "log": {
622
+ "description": "Whether to print out the build log after the build is triggered.",
623
+ "name": "log",
624
+ "allowNo": false,
625
+ "type": "boolean"
616
626
  }
617
627
  },
618
- "description": "Gets a value from the default key-value store associated with the Actor run.",
619
- "flags": {},
620
628
  "hasDynamicHelp": false,
621
629
  "hiddenAliases": [],
622
- "id": "actor:get-value",
630
+ "id": "builds:create",
623
631
  "pluginAlias": "apify-cli",
624
632
  "pluginName": "apify-cli",
625
633
  "pluginType": "core",
626
634
  "strict": true,
635
+ "enableJsonFlag": true,
627
636
  "isESM": true,
628
637
  "relativePath": [
629
638
  "dist",
630
639
  "commands",
631
- "actor",
632
- "get-value.js"
640
+ "builds",
641
+ "create.js"
633
642
  ]
634
643
  },
635
- "actor": {
644
+ "builds": {
636
645
  "aliases": [],
637
646
  "args": {},
638
- "description": "Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.\n",
647
+ "description": "Commands are designed to be used with Actor Builds.",
639
648
  "flags": {},
640
649
  "hasDynamicHelp": false,
641
650
  "hiddenAliases": [],
642
- "id": "actor",
651
+ "id": "builds",
643
652
  "pluginAlias": "apify-cli",
644
653
  "pluginName": "apify-cli",
645
654
  "pluginType": "core",
@@ -648,64 +657,59 @@
648
657
  "relativePath": [
649
658
  "dist",
650
659
  "commands",
651
- "actor",
660
+ "builds",
652
661
  "index.js"
653
662
  ]
654
663
  },
655
- "actor:push-data": {
664
+ "builds:info": {
656
665
  "aliases": [],
657
666
  "args": {
658
- "item": {
659
- "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
660
- "name": "item"
667
+ "buildId": {
668
+ "description": "The build ID to get information about.",
669
+ "name": "buildId",
670
+ "required": true
671
+ }
672
+ },
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"
661
681
  }
662
682
  },
663
- "description": "Stores an object or an array of objects to the default dataset of the Actor run.\nIt is possible to pass data using item argument or stdin.\nPassing data using argument:\n$ apify actor push-data {\"foo\": \"bar\"}\nPassing data using stdin with pipe:\n$ cat ./test.json | apify actor push-data\n",
664
- "flags": {},
665
683
  "hasDynamicHelp": false,
666
684
  "hiddenAliases": [],
667
- "id": "actor:push-data",
685
+ "id": "builds:info",
668
686
  "pluginAlias": "apify-cli",
669
687
  "pluginName": "apify-cli",
670
688
  "pluginType": "core",
671
689
  "strict": true,
690
+ "enableJsonFlag": true,
672
691
  "isESM": true,
673
692
  "relativePath": [
674
693
  "dist",
675
694
  "commands",
676
- "actor",
677
- "push-data.js"
695
+ "builds",
696
+ "info.js"
678
697
  ]
679
698
  },
680
- "actor:set-value": {
699
+ "builds:log": {
681
700
  "aliases": [],
682
701
  "args": {
683
- "key": {
684
- "description": "Key of the record in key-value store.",
685
- "name": "key",
702
+ "buildId": {
703
+ "description": "The build ID to get the log from.",
704
+ "name": "buildId",
686
705
  "required": true
687
- },
688
- "value": {
689
- "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.",
690
- "name": "value",
691
- "required": false
692
- }
693
- },
694
- "description": "Sets or removes record into the default KeyValueStore associated with the Actor run.\nIt is possible to pass data using argument or stdin.\nPassing data using argument:\n$ apify actor set-value KEY my-value\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain\n",
695
- "flags": {
696
- "contentType": {
697
- "char": "c",
698
- "description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
699
- "name": "contentType",
700
- "required": false,
701
- "hasDynamicHelp": false,
702
- "multiple": false,
703
- "type": "option"
704
706
  }
705
707
  },
708
+ "description": "Prints the log of a specific build.",
709
+ "flags": {},
706
710
  "hasDynamicHelp": false,
707
711
  "hiddenAliases": [],
708
- "id": "actor:set-value",
712
+ "id": "builds:log",
709
713
  "pluginAlias": "apify-cli",
710
714
  "pluginName": "apify-cli",
711
715
  "pluginType": "core",
@@ -714,19 +718,19 @@
714
718
  "relativePath": [
715
719
  "dist",
716
720
  "commands",
717
- "actor",
718
- "set-value.js"
721
+ "builds",
722
+ "log.js"
719
723
  ]
720
724
  },
721
- "actors:build": {
725
+ "builds:ls": {
722
726
  "aliases": [],
723
727
  "args": {
724
728
  "actorId": {
725
- "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
729
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
726
730
  "name": "actorId"
727
731
  }
728
732
  },
729
- "description": "Creates a new build of the Actor.",
733
+ "description": "Lists all builds of the Actor.",
730
734
  "flags": {
731
735
  "json": {
732
736
  "description": "Format output as json.",
@@ -735,53 +739,88 @@
735
739
  "allowNo": false,
736
740
  "type": "boolean"
737
741
  },
738
- "tag": {
739
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
740
- "name": "tag",
742
+ "offset": {
743
+ "description": "Number of builds that will be skipped.",
744
+ "name": "offset",
745
+ "default": 0,
741
746
  "hasDynamicHelp": false,
742
747
  "multiple": false,
743
748
  "type": "option"
744
749
  },
745
- "version": {
746
- "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.",
747
- "name": "version",
748
- "required": false,
750
+ "limit": {
751
+ "description": "Number of builds that will be listed.",
752
+ "name": "limit",
753
+ "default": 10,
749
754
  "hasDynamicHelp": false,
750
755
  "multiple": false,
751
756
  "type": "option"
752
757
  },
753
- "log": {
754
- "description": "Whether to print out the build log after the build is triggered.",
755
- "name": "log",
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",
756
768
  "allowNo": false,
757
769
  "type": "boolean"
758
770
  }
759
771
  },
760
772
  "hasDynamicHelp": false,
761
773
  "hiddenAliases": [],
762
- "id": "actors:build",
774
+ "id": "builds:ls",
763
775
  "pluginAlias": "apify-cli",
764
776
  "pluginName": "apify-cli",
765
777
  "pluginType": "core",
778
+ "strict": true,
766
779
  "enableJsonFlag": true,
767
780
  "isESM": true,
768
781
  "relativePath": [
769
782
  "dist",
770
783
  "commands",
771
- "actors",
772
- "build.js"
784
+ "builds",
785
+ "ls.js"
773
786
  ]
774
787
  },
775
- "actors:call": {
788
+ "builds:rm": {
776
789
  "aliases": [],
777
790
  "args": {
778
- "actorId": {
779
- "description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
780
- "name": "actorId",
791
+ "buildId": {
792
+ "description": "The build ID to delete.",
793
+ "name": "buildId",
794
+ "required": true
795
+ }
796
+ },
797
+ "description": "Deletes an Actor Build.",
798
+ "flags": {},
799
+ "hasDynamicHelp": false,
800
+ "hiddenAliases": [],
801
+ "id": "builds:rm",
802
+ "pluginAlias": "apify-cli",
803
+ "pluginName": "apify-cli",
804
+ "pluginType": "core",
805
+ "strict": true,
806
+ "isESM": true,
807
+ "relativePath": [
808
+ "dist",
809
+ "commands",
810
+ "builds",
811
+ "rm.js"
812
+ ]
813
+ },
814
+ "datasets:create": {
815
+ "aliases": [],
816
+ "args": {
817
+ "datasetName": {
818
+ "description": "Optional name for the Dataset",
819
+ "name": "datasetName",
781
820
  "required": false
782
821
  }
783
822
  },
784
- "description": "Runs a specific Actor remotely on the Apify cloud platform.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
823
+ "description": "Creates a new Dataset on your account",
785
824
  "flags": {
786
825
  "json": {
787
826
  "description": "Format output as json.",
@@ -789,99 +828,90 @@
789
828
  "name": "json",
790
829
  "allowNo": false,
791
830
  "type": "boolean"
792
- },
793
- "build": {
794
- "char": "b",
795
- "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
796
- "name": "build",
797
- "required": false,
831
+ }
832
+ },
833
+ "hasDynamicHelp": false,
834
+ "hiddenAliases": [],
835
+ "id": "datasets:create",
836
+ "pluginAlias": "apify-cli",
837
+ "pluginName": "apify-cli",
838
+ "pluginType": "core",
839
+ "strict": true,
840
+ "enableJsonFlag": true,
841
+ "isESM": true,
842
+ "relativePath": [
843
+ "dist",
844
+ "commands",
845
+ "datasets",
846
+ "create.js"
847
+ ]
848
+ },
849
+ "datasets:get-items": {
850
+ "aliases": [],
851
+ "args": {
852
+ "datasetId": {
853
+ "description": "The ID of the Dataset to export the items for",
854
+ "name": "datasetId",
855
+ "required": true
856
+ }
857
+ },
858
+ "description": "Exports the items present in a Dataset.",
859
+ "flags": {
860
+ "limit": {
861
+ "description": "The amount of elements to get from the dataset. By default, it will return all available items.",
862
+ "name": "limit",
798
863
  "hasDynamicHelp": false,
799
864
  "multiple": false,
800
865
  "type": "option"
801
866
  },
802
- "timeout": {
803
- "char": "t",
804
- "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
805
- "name": "timeout",
806
- "required": false,
807
- "hasDynamicHelp": false,
808
- "multiple": false,
809
- "type": "option"
810
- },
811
- "memory": {
812
- "char": "m",
813
- "description": "Amount of memory allocated for the Actor run, in megabytes.",
814
- "name": "memory",
815
- "required": false,
867
+ "offset": {
868
+ "description": "The offset in the dataset where to start getting items.",
869
+ "name": "offset",
816
870
  "hasDynamicHelp": false,
817
871
  "multiple": false,
818
872
  "type": "option"
819
873
  },
820
- "input": {
821
- "char": "i",
822
- "description": "Optional JSON input to be given to the Actor.",
823
- "exclusive": [
824
- "input-file"
825
- ],
826
- "name": "input",
827
- "required": false,
874
+ "format": {
875
+ "description": "The format of the returned output. By default, it is set to 'json'",
876
+ "name": "format",
877
+ "default": "json",
828
878
  "hasDynamicHelp": false,
829
879
  "multiple": false,
830
- "type": "option"
831
- },
832
- "input-file": {
833
- "aliases": [
834
- "if"
835
- ],
836
- "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
837
- "exclusive": [
838
- "input"
880
+ "options": [
881
+ "json",
882
+ "jsonl",
883
+ "csv",
884
+ "html",
885
+ "rss",
886
+ "xml",
887
+ "xlsx"
839
888
  ],
840
- "name": "input-file",
841
- "required": false,
842
- "hasDynamicHelp": false,
843
- "multiple": false,
844
889
  "type": "option"
845
- },
846
- "silent": {
847
- "char": "s",
848
- "description": "Prevents printing the logs of the Actor run to the console.",
849
- "name": "silent",
850
- "allowNo": false,
851
- "type": "boolean"
852
- },
853
- "output-dataset": {
854
- "char": "o",
855
- "description": "Prints out the entire default dataset on successful run of the Actor.",
856
- "name": "output-dataset",
857
- "allowNo": false,
858
- "type": "boolean"
859
890
  }
860
891
  },
861
892
  "hasDynamicHelp": false,
862
893
  "hiddenAliases": [],
863
- "id": "actors:call",
894
+ "id": "datasets:get-items",
864
895
  "pluginAlias": "apify-cli",
865
896
  "pluginName": "apify-cli",
866
897
  "pluginType": "core",
867
898
  "strict": true,
868
- "enableJsonFlag": true,
869
899
  "isESM": true,
870
900
  "relativePath": [
871
901
  "dist",
872
902
  "commands",
873
- "actors",
874
- "call.js"
903
+ "datasets",
904
+ "get-items.js"
875
905
  ]
876
906
  },
877
- "actors": {
907
+ "datasets": {
878
908
  "aliases": [],
879
909
  "args": {},
880
- "description": "Commands are designed to be used with Actors.",
910
+ "description": "Commands are designed to be used with Datasets.",
881
911
  "flags": {},
882
912
  "hasDynamicHelp": false,
883
913
  "hiddenAliases": [],
884
- "id": "actors",
914
+ "id": "datasets",
885
915
  "pluginAlias": "apify-cli",
886
916
  "pluginName": "apify-cli",
887
917
  "pluginType": "core",
@@ -890,67 +920,14 @@
890
920
  "relativePath": [
891
921
  "dist",
892
922
  "commands",
893
- "actors",
923
+ "datasets",
894
924
  "index.js"
895
925
  ]
896
926
  },
897
- "actors:info": {
898
- "aliases": [],
899
- "args": {
900
- "actorId": {
901
- "description": "The ID of the Actor to return information about.",
902
- "name": "actorId",
903
- "required": true
904
- }
905
- },
906
- "description": "Get information about an Actor.",
907
- "flags": {
908
- "json": {
909
- "description": "Format output as json.",
910
- "helpGroup": "GLOBAL",
911
- "name": "json",
912
- "allowNo": false,
913
- "type": "boolean"
914
- },
915
- "readme": {
916
- "description": "Return the Actor README.",
917
- "exclusive": [
918
- "input"
919
- ],
920
- "name": "readme",
921
- "allowNo": false,
922
- "type": "boolean"
923
- },
924
- "input": {
925
- "description": "Return the Actor input schema.",
926
- "exclusive": [
927
- "readme"
928
- ],
929
- "name": "input",
930
- "allowNo": false,
931
- "type": "boolean"
932
- }
933
- },
934
- "hasDynamicHelp": false,
935
- "hiddenAliases": [],
936
- "id": "actors:info",
937
- "pluginAlias": "apify-cli",
938
- "pluginName": "apify-cli",
939
- "pluginType": "core",
940
- "strict": true,
941
- "enableJsonFlag": true,
942
- "isESM": true,
943
- "relativePath": [
944
- "dist",
945
- "commands",
946
- "actors",
947
- "info.js"
948
- ]
949
- },
950
- "actors:ls": {
927
+ "datasets:ls": {
951
928
  "aliases": [],
952
929
  "args": {},
953
- "description": "Lists all recently ran Actors or your own Actors.",
930
+ "description": "Lists all Datasets on your account.",
954
931
  "flags": {
955
932
  "json": {
956
933
  "description": "Format output as json.",
@@ -959,14 +936,8 @@
959
936
  "allowNo": false,
960
937
  "type": "boolean"
961
938
  },
962
- "my": {
963
- "description": "Whether to list Actors made by the logged in user.",
964
- "name": "my",
965
- "allowNo": false,
966
- "type": "boolean"
967
- },
968
939
  "offset": {
969
- "description": "Number of Actors that will be skipped.",
940
+ "description": "Number of Datasets that will be skipped.",
970
941
  "name": "offset",
971
942
  "default": 0,
972
943
  "hasDynamicHelp": false,
@@ -974,7 +945,7 @@
974
945
  "type": "option"
975
946
  },
976
947
  "limit": {
977
- "description": "Number of Actors that will be listed.",
948
+ "description": "Number of Datasets that will be listed.",
978
949
  "name": "limit",
979
950
  "default": 20,
980
951
  "hasDynamicHelp": false,
@@ -982,15 +953,21 @@
982
953
  "type": "option"
983
954
  },
984
955
  "desc": {
985
- "description": "Sort Actors in descending order.",
956
+ "description": "Sorts Datasets in descending order.",
986
957
  "name": "desc",
987
958
  "allowNo": false,
988
959
  "type": "boolean"
960
+ },
961
+ "unnamed": {
962
+ "description": "Lists Datasets that don't have a name set.",
963
+ "name": "unnamed",
964
+ "allowNo": false,
965
+ "type": "boolean"
989
966
  }
990
967
  },
991
968
  "hasDynamicHelp": false,
992
969
  "hiddenAliases": [],
993
- "id": "actors:ls",
970
+ "id": "datasets:ls",
994
971
  "pluginAlias": "apify-cli",
995
972
  "pluginName": "apify-cli",
996
973
  "pluginType": "core",
@@ -1000,42 +977,28 @@
1000
977
  "relativePath": [
1001
978
  "dist",
1002
979
  "commands",
1003
- "actors",
980
+ "datasets",
1004
981
  "ls.js"
1005
982
  ]
1006
983
  },
1007
- "actors:pull": {
984
+ "datasets:push-items": {
1008
985
  "aliases": [],
1009
986
  "args": {
1010
- "actorId": {
1011
- "description": "Name or ID of the Actor to run (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command will update the Actor in the current directory based on its name in \".actor/actor.json\" file.",
1012
- "name": "actorId",
1013
- "required": false
1014
- }
1015
- },
1016
- "description": "Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be cloned. If it is defined as Web IDE, it will fetch the files.",
1017
- "flags": {
1018
- "version": {
1019
- "char": "v",
1020
- "description": "Actor version number which will be pulled, e.g. 1.2. Default: the highest version",
1021
- "name": "version",
1022
- "required": false,
1023
- "hasDynamicHelp": false,
1024
- "multiple": false,
1025
- "type": "option"
987
+ "nameOrId": {
988
+ "description": "The Dataset ID or name to push the objects to",
989
+ "name": "nameOrId",
990
+ "required": true
1026
991
  },
1027
- "dir": {
1028
- "description": "Directory where the Actor should be pulled to",
1029
- "name": "dir",
1030
- "required": false,
1031
- "hasDynamicHelp": false,
1032
- "multiple": false,
1033
- "type": "option"
992
+ "item": {
993
+ "description": "The object or array of objects to be pushed.",
994
+ "name": "item"
1034
995
  }
1035
996
  },
997
+ "description": "Pushes an object or an array of objects to the provided Dataset.",
998
+ "flags": {},
1036
999
  "hasDynamicHelp": false,
1037
1000
  "hiddenAliases": [],
1038
- "id": "actors:pull",
1001
+ "id": "datasets:push-items",
1039
1002
  "pluginAlias": "apify-cli",
1040
1003
  "pluginName": "apify-cli",
1041
1004
  "pluginType": "core",
@@ -1044,74 +1007,35 @@
1044
1007
  "relativePath": [
1045
1008
  "dist",
1046
1009
  "commands",
1047
- "actors",
1048
- "pull.js"
1010
+ "datasets",
1011
+ "push-items.js"
1049
1012
  ]
1050
1013
  },
1051
- "actors:push": {
1014
+ "datasets:rename": {
1052
1015
  "aliases": [],
1053
1016
  "args": {
1054
- "actorId": {
1055
- "description": "Name or ID of the Actor to push (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command will create or modify the Actor with the name specified in \".actor/actor.json\" file.",
1056
- "name": "actorId",
1057
- "required": false
1017
+ "nameOrId": {
1018
+ "description": "The Dataset ID or name to delete",
1019
+ "name": "nameOrId",
1020
+ "required": true
1021
+ },
1022
+ "newName": {
1023
+ "description": "The new name for the Dataset",
1024
+ "name": "newName"
1058
1025
  }
1059
1026
  },
1060
- "description": "Uploads the Actor to the Apify platform and builds it there.\nThe Actor settings are read from the \".actor/actor.json\" file in the current directory, but they can be overridden using command-line options.\nNOTE: If the source files are smaller than 3 MB then they are uploaded as \n\"Multiple source files\", otherwise they are uploaded as \"Zip file\".\n\nWhen there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be overwritten with --force flag.",
1027
+ "description": "Renames a Dataset, or removes its unique name",
1061
1028
  "flags": {
1062
- "version": {
1063
- "char": "v",
1064
- "description": "Actor version number to which the files should be pushed. By default, it is taken from the \".actor/actor.json\" file.",
1065
- "name": "version",
1066
- "required": false,
1067
- "hasDynamicHelp": false,
1068
- "multiple": false,
1069
- "type": "option"
1070
- },
1071
- "build-tag": {
1072
- "char": "b",
1073
- "description": "Build tag to be applied to the successful Actor build. By default, it is taken from the \".actor/actor.json\" file",
1074
- "name": "build-tag",
1075
- "required": false,
1076
- "hasDynamicHelp": false,
1077
- "multiple": false,
1078
- "type": "option"
1079
- },
1080
- "wait-for-finish": {
1081
- "char": "w",
1082
- "description": "Seconds for waiting to build to finish, if no value passed, it waits forever.",
1083
- "name": "wait-for-finish",
1084
- "required": false,
1085
- "hasDynamicHelp": false,
1086
- "multiple": false,
1087
- "type": "option"
1088
- },
1089
- "no-prompt": {
1090
- "description": "Do not prompt for opening the Actor details in a browser. This will also not open the browser automatically.",
1091
- "name": "no-prompt",
1092
- "required": false,
1093
- "allowNo": false,
1094
- "type": "boolean"
1095
- },
1096
- "force": {
1097
- "description": "Push an Actor even when the local files are older than the Actor on the platform.",
1098
- "name": "force",
1099
- "required": false,
1029
+ "unname": {
1030
+ "description": "Removes the unique name of the Dataset",
1031
+ "name": "unname",
1100
1032
  "allowNo": false,
1101
1033
  "type": "boolean"
1102
- },
1103
- "dir": {
1104
- "description": "Directory where the Actor is located",
1105
- "name": "dir",
1106
- "required": false,
1107
- "hasDynamicHelp": false,
1108
- "multiple": false,
1109
- "type": "option"
1110
1034
  }
1111
1035
  },
1112
1036
  "hasDynamicHelp": false,
1113
1037
  "hiddenAliases": [],
1114
- "id": "actors:push",
1038
+ "id": "datasets:rename",
1115
1039
  "pluginAlias": "apify-cli",
1116
1040
  "pluginName": "apify-cli",
1117
1041
  "pluginType": "core",
@@ -1120,24 +1044,24 @@
1120
1044
  "relativePath": [
1121
1045
  "dist",
1122
1046
  "commands",
1123
- "actors",
1124
- "push.js"
1047
+ "datasets",
1048
+ "rename.js"
1125
1049
  ]
1126
1050
  },
1127
- "actors:rm": {
1051
+ "datasets:rm": {
1128
1052
  "aliases": [],
1129
1053
  "args": {
1130
- "actorId": {
1131
- "description": "The Actor ID to delete.",
1132
- "name": "actorId",
1054
+ "datasetNameOrId": {
1055
+ "description": "The Dataset ID or name to delete",
1056
+ "name": "datasetNameOrId",
1133
1057
  "required": true
1134
1058
  }
1135
1059
  },
1136
- "description": "Deletes an Actor.",
1060
+ "description": "Deletes a Dataset",
1137
1061
  "flags": {},
1138
1062
  "hasDynamicHelp": false,
1139
1063
  "hiddenAliases": [],
1140
- "id": "actors:rm",
1064
+ "id": "datasets:rm",
1141
1065
  "pluginAlias": "apify-cli",
1142
1066
  "pluginName": "apify-cli",
1143
1067
  "pluginType": "core",
@@ -1146,20 +1070,20 @@
1146
1070
  "relativePath": [
1147
1071
  "dist",
1148
1072
  "commands",
1149
- "actors",
1073
+ "datasets",
1150
1074
  "rm.js"
1151
1075
  ]
1152
1076
  },
1153
- "actors:start": {
1077
+ "key-value-stores:create": {
1154
1078
  "aliases": [],
1155
1079
  "args": {
1156
- "actorId": {
1157
- "description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
1158
- "name": "actorId",
1080
+ "keyValueStoreName": {
1081
+ "description": "Optional name for the Key-value store",
1082
+ "name": "keyValueStoreName",
1159
1083
  "required": false
1160
1084
  }
1161
1085
  },
1162
- "description": "Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
1086
+ "description": "Creates a new Key-value store on your account",
1163
1087
  "flags": {
1164
1088
  "json": {
1165
1089
  "description": "Format output as json.",
@@ -1167,64 +1091,13 @@
1167
1091
  "name": "json",
1168
1092
  "allowNo": false,
1169
1093
  "type": "boolean"
1170
- },
1171
- "build": {
1172
- "char": "b",
1173
- "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1174
- "name": "build",
1175
- "required": false,
1176
- "hasDynamicHelp": false,
1177
- "multiple": false,
1178
- "type": "option"
1179
- },
1180
- "timeout": {
1181
- "char": "t",
1182
- "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1183
- "name": "timeout",
1184
- "required": false,
1185
- "hasDynamicHelp": false,
1186
- "multiple": false,
1187
- "type": "option"
1188
- },
1189
- "memory": {
1190
- "char": "m",
1191
- "description": "Amount of memory allocated for the Actor run, in megabytes.",
1192
- "name": "memory",
1193
- "required": false,
1194
- "hasDynamicHelp": false,
1195
- "multiple": false,
1196
- "type": "option"
1197
- },
1198
- "input": {
1199
- "char": "i",
1200
- "description": "Optional JSON input to be given to the Actor.",
1201
- "exclusive": [
1202
- "input-file"
1203
- ],
1204
- "name": "input",
1205
- "required": false,
1206
- "hasDynamicHelp": false,
1207
- "multiple": false,
1208
- "type": "option"
1209
- },
1210
- "input-file": {
1211
- "aliases": [
1212
- "if"
1213
- ],
1214
- "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
1215
- "exclusive": [
1216
- "input"
1217
- ],
1218
- "name": "input-file",
1219
- "required": false,
1220
- "hasDynamicHelp": false,
1221
- "multiple": false,
1222
- "type": "option"
1223
1094
  }
1224
1095
  },
1225
1096
  "hasDynamicHelp": false,
1226
- "hiddenAliases": [],
1227
- "id": "actors:start",
1097
+ "hiddenAliases": [
1098
+ "kvs:create"
1099
+ ],
1100
+ "id": "key-value-stores:create",
1228
1101
  "pluginAlias": "apify-cli",
1229
1102
  "pluginName": "apify-cli",
1230
1103
  "pluginType": "core",
@@ -1234,73 +1107,31 @@
1234
1107
  "relativePath": [
1235
1108
  "dist",
1236
1109
  "commands",
1237
- "actors",
1238
- "start.js"
1110
+ "key-value-stores",
1111
+ "create.js"
1239
1112
  ]
1240
1113
  },
1241
- "builds:create": {
1114
+ "key-value-stores:delete-value": {
1242
1115
  "aliases": [],
1243
1116
  "args": {
1244
- "actorId": {
1245
- "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1246
- "name": "actorId"
1247
- }
1248
- },
1249
- "description": "Creates a new build of the Actor.",
1250
- "flags": {
1251
- "json": {
1252
- "description": "Format output as json.",
1253
- "helpGroup": "GLOBAL",
1254
- "name": "json",
1255
- "allowNo": false,
1256
- "type": "boolean"
1257
- },
1258
- "tag": {
1259
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1260
- "name": "tag",
1261
- "hasDynamicHelp": false,
1262
- "multiple": false,
1263
- "type": "option"
1264
- },
1265
- "version": {
1266
- "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.",
1267
- "name": "version",
1268
- "required": false,
1269
- "hasDynamicHelp": false,
1270
- "multiple": false,
1271
- "type": "option"
1117
+ "storeId": {
1118
+ "description": "The key-value store ID to delete the value from.",
1119
+ "name": "storeId",
1120
+ "required": true
1272
1121
  },
1273
- "log": {
1274
- "description": "Whether to print out the build log after the build is triggered.",
1275
- "name": "log",
1276
- "allowNo": false,
1277
- "type": "boolean"
1122
+ "itemKey": {
1123
+ "description": "The key of the item in the key-value store.",
1124
+ "name": "itemKey",
1125
+ "required": true
1278
1126
  }
1279
1127
  },
1280
- "hasDynamicHelp": false,
1281
- "hiddenAliases": [],
1282
- "id": "builds:create",
1283
- "pluginAlias": "apify-cli",
1284
- "pluginName": "apify-cli",
1285
- "pluginType": "core",
1286
- "strict": true,
1287
- "enableJsonFlag": true,
1288
- "isESM": true,
1289
- "relativePath": [
1290
- "dist",
1291
- "commands",
1292
- "builds",
1293
- "create.js"
1294
- ]
1295
- },
1296
- "builds": {
1297
- "aliases": [],
1298
- "args": {},
1299
- "description": "Commands are designed to be used with Actor Builds.",
1128
+ "description": "Delete a value from a key-value store.",
1300
1129
  "flags": {},
1301
1130
  "hasDynamicHelp": false,
1302
- "hiddenAliases": [],
1303
- "id": "builds",
1131
+ "hiddenAliases": [
1132
+ "kvs:delete-value"
1133
+ ],
1134
+ "id": "key-value-stores:delete-value",
1304
1135
  "pluginAlias": "apify-cli",
1305
1136
  "pluginName": "apify-cli",
1306
1137
  "pluginType": "core",
@@ -1309,59 +1140,60 @@
1309
1140
  "relativePath": [
1310
1141
  "dist",
1311
1142
  "commands",
1312
- "builds",
1313
- "index.js"
1143
+ "key-value-stores",
1144
+ "delete-value.js"
1314
1145
  ]
1315
1146
  },
1316
- "builds:info": {
1147
+ "key-value-stores:get-value": {
1317
1148
  "aliases": [],
1318
1149
  "args": {
1319
- "buildId": {
1320
- "description": "The build ID to get information about.",
1321
- "name": "buildId",
1150
+ "keyValueStoreId": {
1151
+ "description": "The key-value store ID to get the value from.",
1152
+ "name": "keyValueStoreId",
1153
+ "required": true
1154
+ },
1155
+ "itemKey": {
1156
+ "description": "The key of the item in the key-value store.",
1157
+ "name": "itemKey",
1322
1158
  "required": true
1323
1159
  }
1324
1160
  },
1325
- "description": "Prints information about a specific build.",
1161
+ "description": "Gets a value by key in the given key-value store.",
1326
1162
  "flags": {
1327
- "json": {
1328
- "description": "Format output as json.",
1329
- "helpGroup": "GLOBAL",
1330
- "name": "json",
1163
+ "only-content-type": {
1164
+ "description": "Only return the content type of the specified key",
1165
+ "name": "only-content-type",
1331
1166
  "allowNo": false,
1332
1167
  "type": "boolean"
1333
1168
  }
1334
1169
  },
1335
1170
  "hasDynamicHelp": false,
1336
- "hiddenAliases": [],
1337
- "id": "builds:info",
1171
+ "hiddenAliases": [
1172
+ "kvs:get-value"
1173
+ ],
1174
+ "id": "key-value-stores:get-value",
1338
1175
  "pluginAlias": "apify-cli",
1339
1176
  "pluginName": "apify-cli",
1340
1177
  "pluginType": "core",
1341
1178
  "strict": true,
1342
- "enableJsonFlag": true,
1343
1179
  "isESM": true,
1344
1180
  "relativePath": [
1345
1181
  "dist",
1346
1182
  "commands",
1347
- "builds",
1348
- "info.js"
1183
+ "key-value-stores",
1184
+ "get-value.js"
1349
1185
  ]
1350
1186
  },
1351
- "builds:log": {
1187
+ "key-value-stores": {
1352
1188
  "aliases": [],
1353
- "args": {
1354
- "buildId": {
1355
- "description": "The build ID to get the log from.",
1356
- "name": "buildId",
1357
- "required": true
1358
- }
1359
- },
1360
- "description": "Prints the log of a specific build.",
1189
+ "args": {},
1190
+ "description": "Commands are designed to be used with Key Value Stores.\n\nAliases: kvs",
1361
1191
  "flags": {},
1362
1192
  "hasDynamicHelp": false,
1363
- "hiddenAliases": [],
1364
- "id": "builds:log",
1193
+ "hiddenAliases": [
1194
+ "kvs"
1195
+ ],
1196
+ "id": "key-value-stores",
1365
1197
  "pluginAlias": "apify-cli",
1366
1198
  "pluginName": "apify-cli",
1367
1199
  "pluginType": "core",
@@ -1370,19 +1202,20 @@
1370
1202
  "relativePath": [
1371
1203
  "dist",
1372
1204
  "commands",
1373
- "builds",
1374
- "log.js"
1205
+ "key-value-stores",
1206
+ "index.js"
1375
1207
  ]
1376
1208
  },
1377
- "builds:ls": {
1209
+ "key-value-stores:keys": {
1378
1210
  "aliases": [],
1379
1211
  "args": {
1380
- "actorId": {
1381
- "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1382
- "name": "actorId"
1212
+ "storeId": {
1213
+ "description": "The key-value store ID to list keys for.",
1214
+ "name": "storeId",
1215
+ "required": true
1383
1216
  }
1384
1217
  },
1385
- "description": "Lists all builds of the Actor.",
1218
+ "description": "Lists all keys in a key-value store.",
1386
1219
  "flags": {
1387
1220
  "json": {
1388
1221
  "description": "Format output as json.",
@@ -1391,100 +1224,27 @@
1391
1224
  "allowNo": false,
1392
1225
  "type": "boolean"
1393
1226
  },
1394
- "offset": {
1395
- "description": "Number of builds that will be skipped.",
1396
- "name": "offset",
1397
- "default": 0,
1227
+ "limit": {
1228
+ "description": "The maximum number of keys to return.",
1229
+ "name": "limit",
1230
+ "default": 20,
1398
1231
  "hasDynamicHelp": false,
1399
1232
  "multiple": false,
1400
1233
  "type": "option"
1401
1234
  },
1402
- "limit": {
1403
- "description": "Number of builds that will be listed.",
1404
- "name": "limit",
1405
- "default": 10,
1235
+ "exclusive-start-key": {
1236
+ "description": "The key to start the list from.",
1237
+ "name": "exclusive-start-key",
1406
1238
  "hasDynamicHelp": false,
1407
1239
  "multiple": false,
1408
1240
  "type": "option"
1409
- },
1410
- "desc": {
1411
- "description": "Sort builds in descending order.",
1412
- "name": "desc",
1413
- "allowNo": false,
1414
- "type": "boolean"
1415
- },
1416
- "compact": {
1417
- "char": "c",
1418
- "description": "Display a compact table.",
1419
- "name": "compact",
1420
- "allowNo": false,
1421
- "type": "boolean"
1422
- }
1423
- },
1424
- "hasDynamicHelp": false,
1425
- "hiddenAliases": [],
1426
- "id": "builds:ls",
1427
- "pluginAlias": "apify-cli",
1428
- "pluginName": "apify-cli",
1429
- "pluginType": "core",
1430
- "strict": true,
1431
- "enableJsonFlag": true,
1432
- "isESM": true,
1433
- "relativePath": [
1434
- "dist",
1435
- "commands",
1436
- "builds",
1437
- "ls.js"
1438
- ]
1439
- },
1440
- "builds:rm": {
1441
- "aliases": [],
1442
- "args": {
1443
- "buildId": {
1444
- "description": "The build ID to delete.",
1445
- "name": "buildId",
1446
- "required": true
1447
- }
1448
- },
1449
- "description": "Deletes an Actor Build.",
1450
- "flags": {},
1451
- "hasDynamicHelp": false,
1452
- "hiddenAliases": [],
1453
- "id": "builds:rm",
1454
- "pluginAlias": "apify-cli",
1455
- "pluginName": "apify-cli",
1456
- "pluginType": "core",
1457
- "strict": true,
1458
- "isESM": true,
1459
- "relativePath": [
1460
- "dist",
1461
- "commands",
1462
- "builds",
1463
- "rm.js"
1464
- ]
1465
- },
1466
- "datasets:create": {
1467
- "aliases": [],
1468
- "args": {
1469
- "datasetName": {
1470
- "description": "Optional name for the Dataset",
1471
- "name": "datasetName",
1472
- "required": false
1473
- }
1474
- },
1475
- "description": "Creates a new Dataset on your account",
1476
- "flags": {
1477
- "json": {
1478
- "description": "Format output as json.",
1479
- "helpGroup": "GLOBAL",
1480
- "name": "json",
1481
- "allowNo": false,
1482
- "type": "boolean"
1483
1241
  }
1484
1242
  },
1485
1243
  "hasDynamicHelp": false,
1486
- "hiddenAliases": [],
1487
- "id": "datasets:create",
1244
+ "hiddenAliases": [
1245
+ "kvs:keys"
1246
+ ],
1247
+ "id": "key-value-stores:keys",
1488
1248
  "pluginAlias": "apify-cli",
1489
1249
  "pluginName": "apify-cli",
1490
1250
  "pluginType": "core",
@@ -1494,92 +1254,14 @@
1494
1254
  "relativePath": [
1495
1255
  "dist",
1496
1256
  "commands",
1497
- "datasets",
1498
- "create.js"
1499
- ]
1500
- },
1501
- "datasets:get-items": {
1502
- "aliases": [],
1503
- "args": {
1504
- "datasetId": {
1505
- "description": "The ID of the Dataset to export the items for",
1506
- "name": "datasetId",
1507
- "required": true
1508
- }
1509
- },
1510
- "description": "Exports the items present in a Dataset.",
1511
- "flags": {
1512
- "limit": {
1513
- "description": "The amount of elements to get from the dataset. By default, it will return all available items.",
1514
- "name": "limit",
1515
- "hasDynamicHelp": false,
1516
- "multiple": false,
1517
- "type": "option"
1518
- },
1519
- "offset": {
1520
- "description": "The offset in the dataset where to start getting items.",
1521
- "name": "offset",
1522
- "hasDynamicHelp": false,
1523
- "multiple": false,
1524
- "type": "option"
1525
- },
1526
- "format": {
1527
- "description": "The format of the returned output. By default, it is set to 'json'",
1528
- "name": "format",
1529
- "default": "json",
1530
- "hasDynamicHelp": false,
1531
- "multiple": false,
1532
- "options": [
1533
- "json",
1534
- "jsonl",
1535
- "csv",
1536
- "html",
1537
- "rss",
1538
- "xml",
1539
- "xlsx"
1540
- ],
1541
- "type": "option"
1542
- }
1543
- },
1544
- "hasDynamicHelp": false,
1545
- "hiddenAliases": [],
1546
- "id": "datasets:get-items",
1547
- "pluginAlias": "apify-cli",
1548
- "pluginName": "apify-cli",
1549
- "pluginType": "core",
1550
- "strict": true,
1551
- "isESM": true,
1552
- "relativePath": [
1553
- "dist",
1554
- "commands",
1555
- "datasets",
1556
- "get-items.js"
1557
- ]
1558
- },
1559
- "datasets": {
1560
- "aliases": [],
1561
- "args": {},
1562
- "description": "Commands are designed to be used with Datasets.",
1563
- "flags": {},
1564
- "hasDynamicHelp": false,
1565
- "hiddenAliases": [],
1566
- "id": "datasets",
1567
- "pluginAlias": "apify-cli",
1568
- "pluginName": "apify-cli",
1569
- "pluginType": "core",
1570
- "strict": true,
1571
- "isESM": true,
1572
- "relativePath": [
1573
- "dist",
1574
- "commands",
1575
- "datasets",
1576
- "index.js"
1257
+ "key-value-stores",
1258
+ "keys.js"
1577
1259
  ]
1578
1260
  },
1579
- "datasets:ls": {
1261
+ "key-value-stores:ls": {
1580
1262
  "aliases": [],
1581
1263
  "args": {},
1582
- "description": "Lists all Datasets on your account.",
1264
+ "description": "Lists all Key-value stores on your account.",
1583
1265
  "flags": {
1584
1266
  "json": {
1585
1267
  "description": "Format output as json.",
@@ -1589,7 +1271,7 @@
1589
1271
  "type": "boolean"
1590
1272
  },
1591
1273
  "offset": {
1592
- "description": "Number of Datasets that will be skipped.",
1274
+ "description": "Number of Key-value stores that will be skipped.",
1593
1275
  "name": "offset",
1594
1276
  "default": 0,
1595
1277
  "hasDynamicHelp": false,
@@ -1597,7 +1279,7 @@
1597
1279
  "type": "option"
1598
1280
  },
1599
1281
  "limit": {
1600
- "description": "Number of Datasets that will be listed.",
1282
+ "description": "Number of Key-value stores that will be listed.",
1601
1283
  "name": "limit",
1602
1284
  "default": 20,
1603
1285
  "hasDynamicHelp": false,
@@ -1605,21 +1287,23 @@
1605
1287
  "type": "option"
1606
1288
  },
1607
1289
  "desc": {
1608
- "description": "Sorts Datasets in descending order.",
1290
+ "description": "Sorts Key-value stores in descending order.",
1609
1291
  "name": "desc",
1610
1292
  "allowNo": false,
1611
1293
  "type": "boolean"
1612
1294
  },
1613
1295
  "unnamed": {
1614
- "description": "Lists Datasets that don't have a name set.",
1296
+ "description": "Lists Key-value stores that don't have a name set.",
1615
1297
  "name": "unnamed",
1616
1298
  "allowNo": false,
1617
1299
  "type": "boolean"
1618
1300
  }
1619
1301
  },
1620
1302
  "hasDynamicHelp": false,
1621
- "hiddenAliases": [],
1622
- "id": "datasets:ls",
1303
+ "hiddenAliases": [
1304
+ "kvs:ls"
1305
+ ],
1306
+ "id": "key-value-stores:ls",
1623
1307
  "pluginAlias": "apify-cli",
1624
1308
  "pluginName": "apify-cli",
1625
1309
  "pluginType": "core",
@@ -1629,65 +1313,37 @@
1629
1313
  "relativePath": [
1630
1314
  "dist",
1631
1315
  "commands",
1632
- "datasets",
1316
+ "key-value-stores",
1633
1317
  "ls.js"
1634
1318
  ]
1635
1319
  },
1636
- "datasets:push-items": {
1637
- "aliases": [],
1638
- "args": {
1639
- "nameOrId": {
1640
- "description": "The Dataset ID or name to push the objects to",
1641
- "name": "nameOrId",
1642
- "required": true
1643
- },
1644
- "item": {
1645
- "description": "The object or array of objects to be pushed.",
1646
- "name": "item"
1647
- }
1648
- },
1649
- "description": "Pushes an object or an array of objects to the provided Dataset.",
1650
- "flags": {},
1651
- "hasDynamicHelp": false,
1652
- "hiddenAliases": [],
1653
- "id": "datasets:push-items",
1654
- "pluginAlias": "apify-cli",
1655
- "pluginName": "apify-cli",
1656
- "pluginType": "core",
1657
- "strict": true,
1658
- "isESM": true,
1659
- "relativePath": [
1660
- "dist",
1661
- "commands",
1662
- "datasets",
1663
- "push-items.js"
1664
- ]
1665
- },
1666
- "datasets:rename": {
1320
+ "key-value-stores:rename": {
1667
1321
  "aliases": [],
1668
1322
  "args": {
1669
- "nameOrId": {
1670
- "description": "The Dataset ID or name to delete",
1671
- "name": "nameOrId",
1323
+ "keyValueStoreNameOrId": {
1324
+ "description": "The Key-value store ID or name to delete",
1325
+ "name": "keyValueStoreNameOrId",
1672
1326
  "required": true
1673
1327
  },
1674
1328
  "newName": {
1675
- "description": "The new name for the Dataset",
1329
+ "description": "The new name for the Key-value store",
1676
1330
  "name": "newName"
1677
1331
  }
1678
1332
  },
1679
- "description": "Renames a Dataset, or removes its unique name",
1333
+ "description": "Renames a Key-value store, or removes its unique name",
1680
1334
  "flags": {
1681
1335
  "unname": {
1682
- "description": "Removes the unique name of the Dataset",
1336
+ "description": "Removes the unique name of the Key-value store",
1683
1337
  "name": "unname",
1684
1338
  "allowNo": false,
1685
1339
  "type": "boolean"
1686
1340
  }
1687
1341
  },
1688
1342
  "hasDynamicHelp": false,
1689
- "hiddenAliases": [],
1690
- "id": "datasets:rename",
1343
+ "hiddenAliases": [
1344
+ "kvs:rename"
1345
+ ],
1346
+ "id": "key-value-stores:rename",
1691
1347
  "pluginAlias": "apify-cli",
1692
1348
  "pluginName": "apify-cli",
1693
1349
  "pluginType": "core",
@@ -1696,24 +1352,26 @@
1696
1352
  "relativePath": [
1697
1353
  "dist",
1698
1354
  "commands",
1699
- "datasets",
1355
+ "key-value-stores",
1700
1356
  "rename.js"
1701
1357
  ]
1702
1358
  },
1703
- "datasets:rm": {
1359
+ "key-value-stores:rm": {
1704
1360
  "aliases": [],
1705
1361
  "args": {
1706
- "datasetNameOrId": {
1707
- "description": "The Dataset ID or name to delete",
1708
- "name": "datasetNameOrId",
1362
+ "keyValueStoreNameOrId": {
1363
+ "description": "The Key-value store ID or name to delete",
1364
+ "name": "keyValueStoreNameOrId",
1709
1365
  "required": true
1710
1366
  }
1711
1367
  },
1712
- "description": "Deletes a Dataset",
1368
+ "description": "Deletes a Key-value store",
1713
1369
  "flags": {},
1714
1370
  "hasDynamicHelp": false,
1715
- "hiddenAliases": [],
1716
- "id": "datasets:rm",
1371
+ "hiddenAliases": [
1372
+ "kvs:rm"
1373
+ ],
1374
+ "id": "key-value-stores:rm",
1717
1375
  "pluginAlias": "apify-cli",
1718
1376
  "pluginName": "apify-cli",
1719
1377
  "pluginType": "core",
@@ -1722,68 +1380,64 @@
1722
1380
  "relativePath": [
1723
1381
  "dist",
1724
1382
  "commands",
1725
- "datasets",
1383
+ "key-value-stores",
1726
1384
  "rm.js"
1727
1385
  ]
1728
1386
  },
1729
- "key-value-stores:create": {
1387
+ "key-value-stores:set-value": {
1730
1388
  "aliases": [],
1731
1389
  "args": {
1732
- "keyValueStoreName": {
1733
- "description": "Optional name for the Key-value store",
1734
- "name": "keyValueStoreName",
1735
- "required": false
1736
- }
1737
- },
1738
- "description": "Creates a new Key-value store on your account",
1390
+ "storeId": {
1391
+ "description": "The key-value store ID to set the value in.",
1392
+ "name": "storeId",
1393
+ "required": true
1394
+ },
1395
+ "itemKey": {
1396
+ "description": "The key of the item in the key-value store.",
1397
+ "name": "itemKey",
1398
+ "required": true
1399
+ },
1400
+ "value": {
1401
+ "description": "The value to set.",
1402
+ "name": "value"
1403
+ }
1404
+ },
1405
+ "description": "Sets a value in a key-value store.",
1739
1406
  "flags": {
1740
- "json": {
1741
- "description": "Format output as json.",
1742
- "helpGroup": "GLOBAL",
1743
- "name": "json",
1744
- "allowNo": false,
1745
- "type": "boolean"
1407
+ "content-type": {
1408
+ "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
1409
+ "name": "content-type",
1410
+ "default": "application/json",
1411
+ "hasDynamicHelp": false,
1412
+ "multiple": false,
1413
+ "type": "option"
1746
1414
  }
1747
1415
  },
1748
1416
  "hasDynamicHelp": false,
1749
1417
  "hiddenAliases": [
1750
- "kvs:create"
1418
+ "kvs:set-value"
1751
1419
  ],
1752
- "id": "key-value-stores:create",
1420
+ "id": "key-value-stores:set-value",
1753
1421
  "pluginAlias": "apify-cli",
1754
1422
  "pluginName": "apify-cli",
1755
1423
  "pluginType": "core",
1756
1424
  "strict": true,
1757
- "enableJsonFlag": true,
1758
1425
  "isESM": true,
1759
1426
  "relativePath": [
1760
1427
  "dist",
1761
1428
  "commands",
1762
1429
  "key-value-stores",
1763
- "create.js"
1430
+ "set-value.js"
1764
1431
  ]
1765
1432
  },
1766
- "key-value-stores:delete-value": {
1433
+ "request-queues": {
1767
1434
  "aliases": [],
1768
- "args": {
1769
- "storeId": {
1770
- "description": "The key-value store ID to delete the value from.",
1771
- "name": "storeId",
1772
- "required": true
1773
- },
1774
- "itemKey": {
1775
- "description": "The key of the item in the key-value store.",
1776
- "name": "itemKey",
1777
- "required": true
1778
- }
1779
- },
1780
- "description": "Delete a value from a key-value store.",
1435
+ "args": {},
1436
+ "description": "Commands are designed to be used with Request Queues.",
1781
1437
  "flags": {},
1782
1438
  "hasDynamicHelp": false,
1783
- "hiddenAliases": [
1784
- "kvs:delete-value"
1785
- ],
1786
- "id": "key-value-stores:delete-value",
1439
+ "hiddenAliases": [],
1440
+ "id": "request-queues",
1787
1441
  "pluginAlias": "apify-cli",
1788
1442
  "pluginName": "apify-cli",
1789
1443
  "pluginType": "core",
@@ -1792,38 +1446,44 @@
1792
1446
  "relativePath": [
1793
1447
  "dist",
1794
1448
  "commands",
1795
- "key-value-stores",
1796
- "delete-value.js"
1449
+ "request-queues",
1450
+ "index.js"
1797
1451
  ]
1798
1452
  },
1799
- "key-value-stores:get-value": {
1453
+ "actor:get-input": {
1454
+ "aliases": [],
1455
+ "args": {},
1456
+ "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
1457
+ "flags": {},
1458
+ "hasDynamicHelp": false,
1459
+ "hiddenAliases": [],
1460
+ "id": "actor:get-input",
1461
+ "pluginAlias": "apify-cli",
1462
+ "pluginName": "apify-cli",
1463
+ "pluginType": "core",
1464
+ "strict": true,
1465
+ "isESM": true,
1466
+ "relativePath": [
1467
+ "dist",
1468
+ "commands",
1469
+ "actor",
1470
+ "get-input.js"
1471
+ ]
1472
+ },
1473
+ "actor:get-value": {
1800
1474
  "aliases": [],
1801
1475
  "args": {
1802
- "keyValueStoreId": {
1803
- "description": "The key-value store ID to get the value from.",
1804
- "name": "keyValueStoreId",
1805
- "required": true
1806
- },
1807
- "itemKey": {
1808
- "description": "The key of the item in the key-value store.",
1809
- "name": "itemKey",
1476
+ "key": {
1477
+ "description": "Key of the record in key-value store",
1478
+ "name": "key",
1810
1479
  "required": true
1811
1480
  }
1812
1481
  },
1813
- "description": "Gets a value by key in the given key-value store.",
1814
- "flags": {
1815
- "only-content-type": {
1816
- "description": "Only return the content type of the specified key",
1817
- "name": "only-content-type",
1818
- "allowNo": false,
1819
- "type": "boolean"
1820
- }
1821
- },
1482
+ "description": "Gets a value from the default key-value store associated with the Actor run.",
1483
+ "flags": {},
1822
1484
  "hasDynamicHelp": false,
1823
- "hiddenAliases": [
1824
- "kvs:get-value"
1825
- ],
1826
- "id": "key-value-stores:get-value",
1485
+ "hiddenAliases": [],
1486
+ "id": "actor:get-value",
1827
1487
  "pluginAlias": "apify-cli",
1828
1488
  "pluginName": "apify-cli",
1829
1489
  "pluginType": "core",
@@ -1832,20 +1492,18 @@
1832
1492
  "relativePath": [
1833
1493
  "dist",
1834
1494
  "commands",
1835
- "key-value-stores",
1495
+ "actor",
1836
1496
  "get-value.js"
1837
1497
  ]
1838
1498
  },
1839
- "key-value-stores": {
1499
+ "actor": {
1840
1500
  "aliases": [],
1841
1501
  "args": {},
1842
- "description": "Commands are designed to be used with Key Value Stores.\n\nAliases: kvs",
1502
+ "description": "Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.\n",
1843
1503
  "flags": {},
1844
1504
  "hasDynamicHelp": false,
1845
- "hiddenAliases": [
1846
- "kvs"
1847
- ],
1848
- "id": "key-value-stores",
1505
+ "hiddenAliases": [],
1506
+ "id": "actor",
1849
1507
  "pluginAlias": "apify-cli",
1850
1508
  "pluginName": "apify-cli",
1851
1509
  "pluginType": "core",
@@ -1854,66 +1512,85 @@
1854
1512
  "relativePath": [
1855
1513
  "dist",
1856
1514
  "commands",
1857
- "key-value-stores",
1515
+ "actor",
1858
1516
  "index.js"
1859
1517
  ]
1860
1518
  },
1861
- "key-value-stores:keys": {
1519
+ "actor:push-data": {
1862
1520
  "aliases": [],
1863
1521
  "args": {
1864
- "storeId": {
1865
- "description": "The key-value store ID to list keys for.",
1866
- "name": "storeId",
1522
+ "item": {
1523
+ "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
1524
+ "name": "item"
1525
+ }
1526
+ },
1527
+ "description": "Stores an object or an array of objects to the default dataset of the Actor run.\nIt is possible to pass data using item argument or stdin.\nPassing data using argument:\n$ apify actor push-data {\"foo\": \"bar\"}\nPassing data using stdin with pipe:\n$ cat ./test.json | apify actor push-data\n",
1528
+ "flags": {},
1529
+ "hasDynamicHelp": false,
1530
+ "hiddenAliases": [],
1531
+ "id": "actor:push-data",
1532
+ "pluginAlias": "apify-cli",
1533
+ "pluginName": "apify-cli",
1534
+ "pluginType": "core",
1535
+ "strict": true,
1536
+ "isESM": true,
1537
+ "relativePath": [
1538
+ "dist",
1539
+ "commands",
1540
+ "actor",
1541
+ "push-data.js"
1542
+ ]
1543
+ },
1544
+ "actor:set-value": {
1545
+ "aliases": [],
1546
+ "args": {
1547
+ "key": {
1548
+ "description": "Key of the record in key-value store.",
1549
+ "name": "key",
1867
1550
  "required": true
1551
+ },
1552
+ "value": {
1553
+ "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.",
1554
+ "name": "value",
1555
+ "required": false
1868
1556
  }
1869
1557
  },
1870
- "description": "Lists all keys in a key-value store.",
1558
+ "description": "Sets or removes record into the default KeyValueStore associated with the Actor run.\nIt is possible to pass data using argument or stdin.\nPassing data using argument:\n$ apify actor set-value KEY my-value\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain\n",
1871
1559
  "flags": {
1872
- "json": {
1873
- "description": "Format output as json.",
1874
- "helpGroup": "GLOBAL",
1875
- "name": "json",
1876
- "allowNo": false,
1877
- "type": "boolean"
1878
- },
1879
- "limit": {
1880
- "description": "The maximum number of keys to return.",
1881
- "name": "limit",
1882
- "default": 20,
1883
- "hasDynamicHelp": false,
1884
- "multiple": false,
1885
- "type": "option"
1886
- },
1887
- "exclusive-start-key": {
1888
- "description": "The key to start the list from.",
1889
- "name": "exclusive-start-key",
1560
+ "contentType": {
1561
+ "char": "c",
1562
+ "description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
1563
+ "name": "contentType",
1564
+ "required": false,
1890
1565
  "hasDynamicHelp": false,
1891
1566
  "multiple": false,
1892
1567
  "type": "option"
1893
1568
  }
1894
1569
  },
1895
1570
  "hasDynamicHelp": false,
1896
- "hiddenAliases": [
1897
- "kvs:keys"
1898
- ],
1899
- "id": "key-value-stores:keys",
1571
+ "hiddenAliases": [],
1572
+ "id": "actor:set-value",
1900
1573
  "pluginAlias": "apify-cli",
1901
1574
  "pluginName": "apify-cli",
1902
1575
  "pluginType": "core",
1903
1576
  "strict": true,
1904
- "enableJsonFlag": true,
1905
1577
  "isESM": true,
1906
1578
  "relativePath": [
1907
1579
  "dist",
1908
1580
  "commands",
1909
- "key-value-stores",
1910
- "keys.js"
1581
+ "actor",
1582
+ "set-value.js"
1911
1583
  ]
1912
1584
  },
1913
- "key-value-stores:ls": {
1585
+ "actors:build": {
1914
1586
  "aliases": [],
1915
- "args": {},
1916
- "description": "Lists all Key-value stores on your account.",
1587
+ "args": {
1588
+ "actorId": {
1589
+ "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1590
+ "name": "actorId"
1591
+ }
1592
+ },
1593
+ "description": "Creates a new build of the Actor.",
1917
1594
  "flags": {
1918
1595
  "json": {
1919
1596
  "description": "Format output as json.",
@@ -1922,154 +1599,307 @@
1922
1599
  "allowNo": false,
1923
1600
  "type": "boolean"
1924
1601
  },
1925
- "offset": {
1926
- "description": "Number of Key-value stores that will be skipped.",
1927
- "name": "offset",
1928
- "default": 0,
1602
+ "tag": {
1603
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1604
+ "name": "tag",
1929
1605
  "hasDynamicHelp": false,
1930
1606
  "multiple": false,
1931
1607
  "type": "option"
1932
1608
  },
1933
- "limit": {
1934
- "description": "Number of Key-value stores that will be listed.",
1935
- "name": "limit",
1936
- "default": 20,
1609
+ "version": {
1610
+ "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.",
1611
+ "name": "version",
1612
+ "required": false,
1937
1613
  "hasDynamicHelp": false,
1938
1614
  "multiple": false,
1939
1615
  "type": "option"
1940
1616
  },
1941
- "desc": {
1942
- "description": "Sorts Key-value stores in descending order.",
1943
- "name": "desc",
1944
- "allowNo": false,
1945
- "type": "boolean"
1946
- },
1947
- "unnamed": {
1948
- "description": "Lists Key-value stores that don't have a name set.",
1949
- "name": "unnamed",
1617
+ "log": {
1618
+ "description": "Whether to print out the build log after the build is triggered.",
1619
+ "name": "log",
1950
1620
  "allowNo": false,
1951
1621
  "type": "boolean"
1952
1622
  }
1953
1623
  },
1954
1624
  "hasDynamicHelp": false,
1955
- "hiddenAliases": [
1956
- "kvs:ls"
1957
- ],
1958
- "id": "key-value-stores:ls",
1625
+ "hiddenAliases": [],
1626
+ "id": "actors:build",
1959
1627
  "pluginAlias": "apify-cli",
1960
1628
  "pluginName": "apify-cli",
1961
1629
  "pluginType": "core",
1962
- "strict": true,
1963
1630
  "enableJsonFlag": true,
1964
1631
  "isESM": true,
1965
1632
  "relativePath": [
1966
1633
  "dist",
1967
1634
  "commands",
1968
- "key-value-stores",
1969
- "ls.js"
1635
+ "actors",
1636
+ "build.js"
1970
1637
  ]
1971
1638
  },
1972
- "key-value-stores:rename": {
1639
+ "actors:call": {
1973
1640
  "aliases": [],
1974
1641
  "args": {
1975
- "keyValueStoreNameOrId": {
1976
- "description": "The Key-value store ID or name to delete",
1977
- "name": "keyValueStoreNameOrId",
1978
- "required": true
1979
- },
1980
- "newName": {
1981
- "description": "The new name for the Key-value store",
1982
- "name": "newName"
1642
+ "actorId": {
1643
+ "description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
1644
+ "name": "actorId",
1645
+ "required": false
1983
1646
  }
1984
1647
  },
1985
- "description": "Renames a Key-value store, or removes its unique name",
1648
+ "description": "Runs a specific Actor remotely on the Apify cloud platform.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
1986
1649
  "flags": {
1987
- "unname": {
1988
- "description": "Removes the unique name of the Key-value store",
1989
- "name": "unname",
1650
+ "json": {
1651
+ "description": "Format output as json.",
1652
+ "helpGroup": "GLOBAL",
1653
+ "name": "json",
1654
+ "allowNo": false,
1655
+ "type": "boolean"
1656
+ },
1657
+ "build": {
1658
+ "char": "b",
1659
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1660
+ "name": "build",
1661
+ "required": false,
1662
+ "hasDynamicHelp": false,
1663
+ "multiple": false,
1664
+ "type": "option"
1665
+ },
1666
+ "timeout": {
1667
+ "char": "t",
1668
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1669
+ "name": "timeout",
1670
+ "required": false,
1671
+ "hasDynamicHelp": false,
1672
+ "multiple": false,
1673
+ "type": "option"
1674
+ },
1675
+ "memory": {
1676
+ "char": "m",
1677
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
1678
+ "name": "memory",
1679
+ "required": false,
1680
+ "hasDynamicHelp": false,
1681
+ "multiple": false,
1682
+ "type": "option"
1683
+ },
1684
+ "input": {
1685
+ "char": "i",
1686
+ "description": "Optional JSON input to be given to the Actor.",
1687
+ "exclusive": [
1688
+ "input-file"
1689
+ ],
1690
+ "name": "input",
1691
+ "required": false,
1692
+ "hasDynamicHelp": false,
1693
+ "multiple": false,
1694
+ "type": "option"
1695
+ },
1696
+ "input-file": {
1697
+ "aliases": [
1698
+ "if"
1699
+ ],
1700
+ "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
1701
+ "exclusive": [
1702
+ "input"
1703
+ ],
1704
+ "name": "input-file",
1705
+ "required": false,
1706
+ "hasDynamicHelp": false,
1707
+ "multiple": false,
1708
+ "type": "option"
1709
+ },
1710
+ "silent": {
1711
+ "char": "s",
1712
+ "description": "Prevents printing the logs of the Actor run to the console.",
1713
+ "name": "silent",
1714
+ "allowNo": false,
1715
+ "type": "boolean"
1716
+ },
1717
+ "output-dataset": {
1718
+ "char": "o",
1719
+ "description": "Prints out the entire default dataset on successful run of the Actor.",
1720
+ "name": "output-dataset",
1990
1721
  "allowNo": false,
1991
1722
  "type": "boolean"
1992
1723
  }
1993
1724
  },
1994
1725
  "hasDynamicHelp": false,
1995
- "hiddenAliases": [
1996
- "kvs:rename"
1997
- ],
1998
- "id": "key-value-stores:rename",
1726
+ "hiddenAliases": [],
1727
+ "id": "actors:call",
1999
1728
  "pluginAlias": "apify-cli",
2000
1729
  "pluginName": "apify-cli",
2001
1730
  "pluginType": "core",
2002
1731
  "strict": true,
1732
+ "enableJsonFlag": true,
2003
1733
  "isESM": true,
2004
1734
  "relativePath": [
2005
1735
  "dist",
2006
1736
  "commands",
2007
- "key-value-stores",
2008
- "rename.js"
1737
+ "actors",
1738
+ "call.js"
2009
1739
  ]
2010
1740
  },
2011
- "key-value-stores:rm": {
1741
+ "actors": {
1742
+ "aliases": [],
1743
+ "args": {},
1744
+ "description": "Commands are designed to be used with Actors.",
1745
+ "flags": {},
1746
+ "hasDynamicHelp": false,
1747
+ "hiddenAliases": [],
1748
+ "id": "actors",
1749
+ "pluginAlias": "apify-cli",
1750
+ "pluginName": "apify-cli",
1751
+ "pluginType": "core",
1752
+ "strict": true,
1753
+ "isESM": true,
1754
+ "relativePath": [
1755
+ "dist",
1756
+ "commands",
1757
+ "actors",
1758
+ "index.js"
1759
+ ]
1760
+ },
1761
+ "actors:info": {
2012
1762
  "aliases": [],
2013
1763
  "args": {
2014
- "keyValueStoreNameOrId": {
2015
- "description": "The Key-value store ID or name to delete",
2016
- "name": "keyValueStoreNameOrId",
1764
+ "actorId": {
1765
+ "description": "The ID of the Actor to return information about.",
1766
+ "name": "actorId",
2017
1767
  "required": true
2018
1768
  }
2019
1769
  },
2020
- "description": "Deletes a Key-value store",
2021
- "flags": {},
1770
+ "description": "Get information about an Actor.",
1771
+ "flags": {
1772
+ "json": {
1773
+ "description": "Format output as json.",
1774
+ "helpGroup": "GLOBAL",
1775
+ "name": "json",
1776
+ "allowNo": false,
1777
+ "type": "boolean"
1778
+ },
1779
+ "readme": {
1780
+ "description": "Return the Actor README.",
1781
+ "exclusive": [
1782
+ "input"
1783
+ ],
1784
+ "name": "readme",
1785
+ "allowNo": false,
1786
+ "type": "boolean"
1787
+ },
1788
+ "input": {
1789
+ "description": "Return the Actor input schema.",
1790
+ "exclusive": [
1791
+ "readme"
1792
+ ],
1793
+ "name": "input",
1794
+ "allowNo": false,
1795
+ "type": "boolean"
1796
+ }
1797
+ },
2022
1798
  "hasDynamicHelp": false,
2023
- "hiddenAliases": [
2024
- "kvs:rm"
2025
- ],
2026
- "id": "key-value-stores:rm",
1799
+ "hiddenAliases": [],
1800
+ "id": "actors:info",
2027
1801
  "pluginAlias": "apify-cli",
2028
1802
  "pluginName": "apify-cli",
2029
1803
  "pluginType": "core",
2030
1804
  "strict": true,
1805
+ "enableJsonFlag": true,
2031
1806
  "isESM": true,
2032
1807
  "relativePath": [
2033
1808
  "dist",
2034
1809
  "commands",
2035
- "key-value-stores",
2036
- "rm.js"
1810
+ "actors",
1811
+ "info.js"
2037
1812
  ]
2038
1813
  },
2039
- "key-value-stores:set-value": {
1814
+ "actors:ls": {
2040
1815
  "aliases": [],
2041
- "args": {
2042
- "storeId": {
2043
- "description": "The key-value store ID to set the value in.",
2044
- "name": "storeId",
2045
- "required": true
1816
+ "args": {},
1817
+ "description": "Lists all recently ran Actors or your own Actors.",
1818
+ "flags": {
1819
+ "json": {
1820
+ "description": "Format output as json.",
1821
+ "helpGroup": "GLOBAL",
1822
+ "name": "json",
1823
+ "allowNo": false,
1824
+ "type": "boolean"
2046
1825
  },
2047
- "itemKey": {
2048
- "description": "The key of the item in the key-value store.",
2049
- "name": "itemKey",
2050
- "required": true
1826
+ "my": {
1827
+ "description": "Whether to list Actors made by the logged in user.",
1828
+ "name": "my",
1829
+ "allowNo": false,
1830
+ "type": "boolean"
2051
1831
  },
2052
- "value": {
2053
- "description": "The value to set.",
2054
- "name": "value"
1832
+ "offset": {
1833
+ "description": "Number of Actors that will be skipped.",
1834
+ "name": "offset",
1835
+ "default": 0,
1836
+ "hasDynamicHelp": false,
1837
+ "multiple": false,
1838
+ "type": "option"
1839
+ },
1840
+ "limit": {
1841
+ "description": "Number of Actors that will be listed.",
1842
+ "name": "limit",
1843
+ "default": 20,
1844
+ "hasDynamicHelp": false,
1845
+ "multiple": false,
1846
+ "type": "option"
1847
+ },
1848
+ "desc": {
1849
+ "description": "Sort Actors in descending order.",
1850
+ "name": "desc",
1851
+ "allowNo": false,
1852
+ "type": "boolean"
2055
1853
  }
2056
1854
  },
2057
- "description": "Sets a value in a key-value store.",
1855
+ "hasDynamicHelp": false,
1856
+ "hiddenAliases": [],
1857
+ "id": "actors:ls",
1858
+ "pluginAlias": "apify-cli",
1859
+ "pluginName": "apify-cli",
1860
+ "pluginType": "core",
1861
+ "strict": true,
1862
+ "enableJsonFlag": true,
1863
+ "isESM": true,
1864
+ "relativePath": [
1865
+ "dist",
1866
+ "commands",
1867
+ "actors",
1868
+ "ls.js"
1869
+ ]
1870
+ },
1871
+ "actors:pull": {
1872
+ "aliases": [],
1873
+ "args": {
1874
+ "actorId": {
1875
+ "description": "Name or ID of the Actor to run (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command will update the Actor in the current directory based on its name in \".actor/actor.json\" file.",
1876
+ "name": "actorId",
1877
+ "required": false
1878
+ }
1879
+ },
1880
+ "description": "Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be cloned. If it is defined as Web IDE, it will fetch the files.",
2058
1881
  "flags": {
2059
- "content-type": {
2060
- "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
2061
- "name": "content-type",
2062
- "default": "application/json",
1882
+ "version": {
1883
+ "char": "v",
1884
+ "description": "Actor version number which will be pulled, e.g. 1.2. Default: the highest version",
1885
+ "name": "version",
1886
+ "required": false,
1887
+ "hasDynamicHelp": false,
1888
+ "multiple": false,
1889
+ "type": "option"
1890
+ },
1891
+ "dir": {
1892
+ "description": "Directory where the Actor should be pulled to",
1893
+ "name": "dir",
1894
+ "required": false,
2063
1895
  "hasDynamicHelp": false,
2064
1896
  "multiple": false,
2065
1897
  "type": "option"
2066
1898
  }
2067
1899
  },
2068
1900
  "hasDynamicHelp": false,
2069
- "hiddenAliases": [
2070
- "kvs:set-value"
2071
- ],
2072
- "id": "key-value-stores:set-value",
1901
+ "hiddenAliases": [],
1902
+ "id": "actors:pull",
2073
1903
  "pluginAlias": "apify-cli",
2074
1904
  "pluginName": "apify-cli",
2075
1905
  "pluginType": "core",
@@ -2078,18 +1908,100 @@
2078
1908
  "relativePath": [
2079
1909
  "dist",
2080
1910
  "commands",
2081
- "key-value-stores",
2082
- "set-value.js"
1911
+ "actors",
1912
+ "pull.js"
2083
1913
  ]
2084
1914
  },
2085
- "request-queues": {
1915
+ "actors:push": {
2086
1916
  "aliases": [],
2087
- "args": {},
2088
- "description": "Commands are designed to be used with Request Queues.",
1917
+ "args": {
1918
+ "actorId": {
1919
+ "description": "Name or ID of the Actor to push (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command will create or modify the Actor with the name specified in \".actor/actor.json\" file.",
1920
+ "name": "actorId",
1921
+ "required": false
1922
+ }
1923
+ },
1924
+ "description": "Uploads the Actor to the Apify platform and builds it there.\nThe Actor settings are read from the \".actor/actor.json\" file in the current directory, but they can be overridden using command-line options.\nNOTE: If the source files are smaller than 3 MB then they are uploaded as \n\"Multiple source files\", otherwise they are uploaded as \"Zip file\".\n\nWhen there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be overwritten with --force flag.",
1925
+ "flags": {
1926
+ "version": {
1927
+ "char": "v",
1928
+ "description": "Actor version number to which the files should be pushed. By default, it is taken from the \".actor/actor.json\" file.",
1929
+ "name": "version",
1930
+ "required": false,
1931
+ "hasDynamicHelp": false,
1932
+ "multiple": false,
1933
+ "type": "option"
1934
+ },
1935
+ "build-tag": {
1936
+ "char": "b",
1937
+ "description": "Build tag to be applied to the successful Actor build. By default, it is taken from the \".actor/actor.json\" file",
1938
+ "name": "build-tag",
1939
+ "required": false,
1940
+ "hasDynamicHelp": false,
1941
+ "multiple": false,
1942
+ "type": "option"
1943
+ },
1944
+ "wait-for-finish": {
1945
+ "char": "w",
1946
+ "description": "Seconds for waiting to build to finish, if no value passed, it waits forever.",
1947
+ "name": "wait-for-finish",
1948
+ "required": false,
1949
+ "hasDynamicHelp": false,
1950
+ "multiple": false,
1951
+ "type": "option"
1952
+ },
1953
+ "no-prompt": {
1954
+ "description": "Do not prompt for opening the Actor details in a browser. This will also not open the browser automatically.",
1955
+ "name": "no-prompt",
1956
+ "required": false,
1957
+ "allowNo": false,
1958
+ "type": "boolean"
1959
+ },
1960
+ "force": {
1961
+ "description": "Push an Actor even when the local files are older than the Actor on the platform.",
1962
+ "name": "force",
1963
+ "required": false,
1964
+ "allowNo": false,
1965
+ "type": "boolean"
1966
+ },
1967
+ "dir": {
1968
+ "description": "Directory where the Actor is located",
1969
+ "name": "dir",
1970
+ "required": false,
1971
+ "hasDynamicHelp": false,
1972
+ "multiple": false,
1973
+ "type": "option"
1974
+ }
1975
+ },
1976
+ "hasDynamicHelp": false,
1977
+ "hiddenAliases": [],
1978
+ "id": "actors:push",
1979
+ "pluginAlias": "apify-cli",
1980
+ "pluginName": "apify-cli",
1981
+ "pluginType": "core",
1982
+ "strict": true,
1983
+ "isESM": true,
1984
+ "relativePath": [
1985
+ "dist",
1986
+ "commands",
1987
+ "actors",
1988
+ "push.js"
1989
+ ]
1990
+ },
1991
+ "actors:rm": {
1992
+ "aliases": [],
1993
+ "args": {
1994
+ "actorId": {
1995
+ "description": "The Actor ID to delete.",
1996
+ "name": "actorId",
1997
+ "required": true
1998
+ }
1999
+ },
2000
+ "description": "Deletes an Actor.",
2089
2001
  "flags": {},
2090
2002
  "hasDynamicHelp": false,
2091
2003
  "hiddenAliases": [],
2092
- "id": "request-queues",
2004
+ "id": "actors:rm",
2093
2005
  "pluginAlias": "apify-cli",
2094
2006
  "pluginName": "apify-cli",
2095
2007
  "pluginType": "core",
@@ -2098,8 +2010,96 @@
2098
2010
  "relativePath": [
2099
2011
  "dist",
2100
2012
  "commands",
2101
- "request-queues",
2102
- "index.js"
2013
+ "actors",
2014
+ "rm.js"
2015
+ ]
2016
+ },
2017
+ "actors:start": {
2018
+ "aliases": [],
2019
+ "args": {
2020
+ "actorId": {
2021
+ "description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
2022
+ "name": "actorId",
2023
+ "required": false
2024
+ }
2025
+ },
2026
+ "description": "Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
2027
+ "flags": {
2028
+ "json": {
2029
+ "description": "Format output as json.",
2030
+ "helpGroup": "GLOBAL",
2031
+ "name": "json",
2032
+ "allowNo": false,
2033
+ "type": "boolean"
2034
+ },
2035
+ "build": {
2036
+ "char": "b",
2037
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
2038
+ "name": "build",
2039
+ "required": false,
2040
+ "hasDynamicHelp": false,
2041
+ "multiple": false,
2042
+ "type": "option"
2043
+ },
2044
+ "timeout": {
2045
+ "char": "t",
2046
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
2047
+ "name": "timeout",
2048
+ "required": false,
2049
+ "hasDynamicHelp": false,
2050
+ "multiple": false,
2051
+ "type": "option"
2052
+ },
2053
+ "memory": {
2054
+ "char": "m",
2055
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
2056
+ "name": "memory",
2057
+ "required": false,
2058
+ "hasDynamicHelp": false,
2059
+ "multiple": false,
2060
+ "type": "option"
2061
+ },
2062
+ "input": {
2063
+ "char": "i",
2064
+ "description": "Optional JSON input to be given to the Actor.",
2065
+ "exclusive": [
2066
+ "input-file"
2067
+ ],
2068
+ "name": "input",
2069
+ "required": false,
2070
+ "hasDynamicHelp": false,
2071
+ "multiple": false,
2072
+ "type": "option"
2073
+ },
2074
+ "input-file": {
2075
+ "aliases": [
2076
+ "if"
2077
+ ],
2078
+ "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
2079
+ "exclusive": [
2080
+ "input"
2081
+ ],
2082
+ "name": "input-file",
2083
+ "required": false,
2084
+ "hasDynamicHelp": false,
2085
+ "multiple": false,
2086
+ "type": "option"
2087
+ }
2088
+ },
2089
+ "hasDynamicHelp": false,
2090
+ "hiddenAliases": [],
2091
+ "id": "actors:start",
2092
+ "pluginAlias": "apify-cli",
2093
+ "pluginName": "apify-cli",
2094
+ "pluginType": "core",
2095
+ "strict": true,
2096
+ "enableJsonFlag": true,
2097
+ "isESM": true,
2098
+ "relativePath": [
2099
+ "dist",
2100
+ "commands",
2101
+ "actors",
2102
+ "start.js"
2103
2103
  ]
2104
2104
  },
2105
2105
  "runs:abort": {
@@ -2508,5 +2508,5 @@
2508
2508
  ]
2509
2509
  }
2510
2510
  },
2511
- "version": "0.21.0-beta.85"
2511
+ "version": "0.21.0-beta.87"
2512
2512
  }