apify-cli 0.21.2-beta.4 → 0.21.2

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,137 +586,170 @@
586
586
  "validate-schema.js"
587
587
  ]
588
588
  },
589
- "actor:charge": {
589
+ "actors:build": {
590
590
  "aliases": [],
591
591
  "args": {
592
- "eventName": {
593
- "description": "Name of the event to charge for",
594
- "name": "eventName",
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": "Charge for a specific event in the pay-per-event Actor run.",
597
+ "description": "Creates a new build of the Actor.",
599
598
  "flags": {
600
- "count": {
601
- "description": "Number of events to charge",
602
- "name": "count",
603
- "required": false,
604
- "default": 1,
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
- "idempotency-key": {
610
- "description": "Idempotency key for the charge request",
611
- "name": "idempotency-key",
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
- "test-pay-per-event": {
618
- "description": "Test pay-per-event charging without actually charging",
619
- "name": "test-pay-per-event",
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": "actor:charge",
628
- "pluginAlias": "apify-cli",
629
- "pluginName": "apify-cli",
630
- "pluginType": "core",
631
- "strict": true,
632
- "isESM": true,
633
- "relativePath": [
634
- "dist",
635
- "commands",
636
- "actor",
637
- "charge.js"
638
- ]
639
- },
640
- "actor:get-input": {
641
- "aliases": [],
642
- "args": {},
643
- "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
644
- "flags": {},
645
- "hasDynamicHelp": false,
646
- "hiddenAliases": [],
647
- "id": "actor:get-input",
630
+ "id": "actors:build",
648
631
  "pluginAlias": "apify-cli",
649
632
  "pluginName": "apify-cli",
650
633
  "pluginType": "core",
651
- "strict": true,
634
+ "enableJsonFlag": true,
652
635
  "isESM": true,
653
636
  "relativePath": [
654
637
  "dist",
655
638
  "commands",
656
- "actor",
657
- "get-input.js"
639
+ "actors",
640
+ "build.js"
658
641
  ]
659
642
  },
660
- "actor:get-public-url": {
643
+ "actors:call": {
661
644
  "aliases": [],
662
645
  "args": {
663
- "key": {
664
- "description": "Key of the record in key-value store",
665
- "name": "key",
666
- "required": true
646
+ "actorId": {
647
+ "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.",
648
+ "name": "actorId",
649
+ "required": false
667
650
  }
668
651
  },
669
- "description": "Get an HTTP URL that allows public access to a key-value store item.",
670
- "flags": {},
671
- "hasDynamicHelp": false,
672
- "hiddenAliases": [],
673
- "id": "actor:get-public-url",
674
- "pluginAlias": "apify-cli",
675
- "pluginName": "apify-cli",
676
- "pluginType": "core",
677
- "strict": true,
678
- "isESM": true,
679
- "relativePath": [
680
- "dist",
681
- "commands",
682
- "actor",
683
- "get-public-url.js"
684
- ]
685
- },
686
- "actor:get-value": {
687
- "aliases": [],
688
- "args": {
689
- "key": {
690
- "description": "Key of the record in key-value store",
691
- "name": "key",
692
- "required": true
652
+ "description": "Executes Actor remotely using your authenticated account.\nReads input from local key-value store by default.",
653
+ "flags": {
654
+ "json": {
655
+ "description": "Format output as json.",
656
+ "helpGroup": "GLOBAL",
657
+ "name": "json",
658
+ "allowNo": false,
659
+ "type": "boolean"
660
+ },
661
+ "build": {
662
+ "char": "b",
663
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
664
+ "name": "build",
665
+ "required": false,
666
+ "hasDynamicHelp": false,
667
+ "multiple": false,
668
+ "type": "option"
669
+ },
670
+ "timeout": {
671
+ "char": "t",
672
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
673
+ "name": "timeout",
674
+ "required": false,
675
+ "hasDynamicHelp": false,
676
+ "multiple": false,
677
+ "type": "option"
678
+ },
679
+ "memory": {
680
+ "char": "m",
681
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
682
+ "name": "memory",
683
+ "required": false,
684
+ "hasDynamicHelp": false,
685
+ "multiple": false,
686
+ "type": "option"
687
+ },
688
+ "input": {
689
+ "char": "i",
690
+ "description": "Optional JSON input to be given to the Actor.",
691
+ "exclusive": [
692
+ "input-file"
693
+ ],
694
+ "name": "input",
695
+ "required": false,
696
+ "hasDynamicHelp": false,
697
+ "multiple": false,
698
+ "type": "option"
699
+ },
700
+ "input-file": {
701
+ "aliases": [
702
+ "if"
703
+ ],
704
+ "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.",
705
+ "exclusive": [
706
+ "input"
707
+ ],
708
+ "name": "input-file",
709
+ "required": false,
710
+ "hasDynamicHelp": false,
711
+ "multiple": false,
712
+ "type": "option"
713
+ },
714
+ "silent": {
715
+ "char": "s",
716
+ "description": "Prevents printing the logs of the Actor run to the console.",
717
+ "name": "silent",
718
+ "allowNo": false,
719
+ "type": "boolean"
720
+ },
721
+ "output-dataset": {
722
+ "char": "o",
723
+ "description": "Prints out the entire default dataset on successful run of the Actor.",
724
+ "name": "output-dataset",
725
+ "allowNo": false,
726
+ "type": "boolean"
693
727
  }
694
728
  },
695
- "description": "Gets a value from the default key-value store associated with the Actor run.",
696
- "flags": {},
697
729
  "hasDynamicHelp": false,
698
730
  "hiddenAliases": [],
699
- "id": "actor:get-value",
731
+ "id": "actors:call",
700
732
  "pluginAlias": "apify-cli",
701
733
  "pluginName": "apify-cli",
702
734
  "pluginType": "core",
703
735
  "strict": true,
736
+ "enableJsonFlag": true,
704
737
  "isESM": true,
705
738
  "relativePath": [
706
739
  "dist",
707
740
  "commands",
708
- "actor",
709
- "get-value.js"
741
+ "actors",
742
+ "call.js"
710
743
  ]
711
744
  },
712
- "actor": {
745
+ "actors": {
713
746
  "aliases": [],
714
747
  "args": {},
715
- "description": "Manages runtime data operations inside of a running Actor.",
748
+ "description": "Manages Actor creation, deployment, and execution on the Apify platform.",
716
749
  "flags": {},
717
750
  "hasDynamicHelp": false,
718
751
  "hiddenAliases": [],
719
- "id": "actor",
752
+ "id": "actors",
720
753
  "pluginAlias": "apify-cli",
721
754
  "pluginName": "apify-cli",
722
755
  "pluginType": "core",
@@ -725,85 +758,67 @@
725
758
  "relativePath": [
726
759
  "dist",
727
760
  "commands",
728
- "actor",
761
+ "actors",
729
762
  "index.js"
730
763
  ]
731
764
  },
732
- "actor:push-data": {
733
- "aliases": [],
734
- "args": {
735
- "item": {
736
- "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
737
- "name": "item"
738
- }
739
- },
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
- "hasDynamicHelp": false,
743
- "hiddenAliases": [],
744
- "id": "actor:push-data",
745
- "pluginAlias": "apify-cli",
746
- "pluginName": "apify-cli",
747
- "pluginType": "core",
748
- "strict": true,
749
- "isESM": true,
750
- "relativePath": [
751
- "dist",
752
- "commands",
753
- "actor",
754
- "push-data.js"
755
- ]
756
- },
757
- "actor:set-value": {
765
+ "actors:info": {
758
766
  "aliases": [],
759
767
  "args": {
760
- "key": {
761
- "description": "Key of the record in key-value store.",
762
- "name": "key",
768
+ "actorId": {
769
+ "description": "The ID of the Actor to return information about.",
770
+ "name": "actorId",
763
771
  "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
772
  }
770
773
  },
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",
774
+ "description": "Get information about an Actor.",
772
775
  "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"
776
+ "json": {
777
+ "description": "Format output as json.",
778
+ "helpGroup": "GLOBAL",
779
+ "name": "json",
780
+ "allowNo": false,
781
+ "type": "boolean"
782
+ },
783
+ "readme": {
784
+ "description": "Return the Actor README.",
785
+ "exclusive": [
786
+ "input"
787
+ ],
788
+ "name": "readme",
789
+ "allowNo": false,
790
+ "type": "boolean"
791
+ },
792
+ "input": {
793
+ "description": "Return the Actor input schema.",
794
+ "exclusive": [
795
+ "readme"
796
+ ],
797
+ "name": "input",
798
+ "allowNo": false,
799
+ "type": "boolean"
781
800
  }
782
801
  },
783
802
  "hasDynamicHelp": false,
784
803
  "hiddenAliases": [],
785
- "id": "actor:set-value",
804
+ "id": "actors:info",
786
805
  "pluginAlias": "apify-cli",
787
806
  "pluginName": "apify-cli",
788
807
  "pluginType": "core",
789
808
  "strict": true,
809
+ "enableJsonFlag": true,
790
810
  "isESM": true,
791
811
  "relativePath": [
792
812
  "dist",
793
813
  "commands",
794
- "actor",
795
- "set-value.js"
814
+ "actors",
815
+ "info.js"
796
816
  ]
797
817
  },
798
- "builds:create": {
818
+ "actors:ls": {
799
819
  "aliases": [],
800
- "args": {
801
- "actorId": {
802
- "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
803
- "name": "actorId"
804
- }
805
- },
806
- "description": "Creates a new build of the Actor.",
820
+ "args": {},
821
+ "description": "Prints a list of recently executed Actors or Actors you own.",
807
822
  "flags": {
808
823
  "json": {
809
824
  "description": "Format output as json.",
@@ -812,31 +827,38 @@
812
827
  "allowNo": false,
813
828
  "type": "boolean"
814
829
  },
815
- "tag": {
816
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
817
- "name": "tag",
830
+ "my": {
831
+ "description": "Whether to list Actors made by the logged in user.",
832
+ "name": "my",
833
+ "allowNo": false,
834
+ "type": "boolean"
835
+ },
836
+ "offset": {
837
+ "description": "Number of Actors that will be skipped.",
838
+ "name": "offset",
839
+ "default": 0,
818
840
  "hasDynamicHelp": false,
819
841
  "multiple": false,
820
842
  "type": "option"
821
843
  },
822
- "version": {
823
- "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.",
824
- "name": "version",
825
- "required": false,
844
+ "limit": {
845
+ "description": "Number of Actors that will be listed.",
846
+ "name": "limit",
847
+ "default": 20,
826
848
  "hasDynamicHelp": false,
827
849
  "multiple": false,
828
850
  "type": "option"
829
851
  },
830
- "log": {
831
- "description": "Whether to print out the build log after the build is triggered.",
832
- "name": "log",
852
+ "desc": {
853
+ "description": "Sort Actors in descending order.",
854
+ "name": "desc",
833
855
  "allowNo": false,
834
856
  "type": "boolean"
835
857
  }
836
858
  },
837
859
  "hasDynamicHelp": false,
838
860
  "hiddenAliases": [],
839
- "id": "builds:create",
861
+ "id": "actors:ls",
840
862
  "pluginAlias": "apify-cli",
841
863
  "pluginName": "apify-cli",
842
864
  "pluginType": "core",
@@ -846,18 +868,42 @@
846
868
  "relativePath": [
847
869
  "dist",
848
870
  "commands",
849
- "builds",
850
- "create.js"
871
+ "actors",
872
+ "ls.js"
851
873
  ]
852
874
  },
853
- "builds": {
875
+ "actors:pull": {
854
876
  "aliases": [],
855
- "args": {},
856
- "description": "Manages Actor build processes and versioning.",
857
- "flags": {},
877
+ "args": {
878
+ "actorId": {
879
+ "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.",
880
+ "name": "actorId",
881
+ "required": false
882
+ }
883
+ },
884
+ "description": "Download Actor code to current directory. Clones Git repositories or fetches Actor files based on the source type.",
885
+ "flags": {
886
+ "version": {
887
+ "char": "v",
888
+ "description": "Actor version number which will be pulled, e.g. 1.2. Default: the highest version",
889
+ "name": "version",
890
+ "required": false,
891
+ "hasDynamicHelp": false,
892
+ "multiple": false,
893
+ "type": "option"
894
+ },
895
+ "dir": {
896
+ "description": "Directory where the Actor should be pulled to",
897
+ "name": "dir",
898
+ "required": false,
899
+ "hasDynamicHelp": false,
900
+ "multiple": false,
901
+ "type": "option"
902
+ }
903
+ },
858
904
  "hasDynamicHelp": false,
859
905
  "hiddenAliases": [],
860
- "id": "builds",
906
+ "id": "actors:pull",
861
907
  "pluginAlias": "apify-cli",
862
908
  "pluginName": "apify-cli",
863
909
  "pluginType": "core",
@@ -866,59 +912,100 @@
866
912
  "relativePath": [
867
913
  "dist",
868
914
  "commands",
869
- "builds",
870
- "index.js"
915
+ "actors",
916
+ "pull.js"
871
917
  ]
872
918
  },
873
- "builds:info": {
919
+ "actors:push": {
874
920
  "aliases": [],
875
921
  "args": {
876
- "buildId": {
877
- "description": "The build ID to get information about.",
878
- "name": "buildId",
879
- "required": true
922
+ "actorId": {
923
+ "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.",
924
+ "name": "actorId",
925
+ "required": false
880
926
  }
881
927
  },
882
- "description": "Prints information about a specific build.",
928
+ "description": "Deploys Actor to Apify platform using settings from '.actor/actor.json'.\nFiles under '3' MB upload as \"Multiple source files\"; larger projects upload as ZIP file.\nUse --force to override newer remote versions.",
883
929
  "flags": {
884
- "json": {
885
- "description": "Format output as json.",
886
- "helpGroup": "GLOBAL",
887
- "name": "json",
930
+ "version": {
931
+ "char": "v",
932
+ "description": "Actor version number to which the files should be pushed. By default, it is taken from the '.actor/actor.json' file.",
933
+ "name": "version",
934
+ "required": false,
935
+ "hasDynamicHelp": false,
936
+ "multiple": false,
937
+ "type": "option"
938
+ },
939
+ "build-tag": {
940
+ "char": "b",
941
+ "description": "Build tag to be applied to the successful Actor build. By default, it is taken from the '.actor/actor.json' file",
942
+ "name": "build-tag",
943
+ "required": false,
944
+ "hasDynamicHelp": false,
945
+ "multiple": false,
946
+ "type": "option"
947
+ },
948
+ "wait-for-finish": {
949
+ "char": "w",
950
+ "description": "Seconds for waiting to build to finish, if no value passed, it waits forever.",
951
+ "name": "wait-for-finish",
952
+ "required": false,
953
+ "hasDynamicHelp": false,
954
+ "multiple": false,
955
+ "type": "option"
956
+ },
957
+ "no-prompt": {
958
+ "description": "Do not prompt for opening the Actor details in a browser. This will also not open the browser automatically.",
959
+ "name": "no-prompt",
960
+ "required": false,
961
+ "allowNo": false,
962
+ "type": "boolean"
963
+ },
964
+ "force": {
965
+ "description": "Push an Actor even when the local files are older than the Actor on the platform.",
966
+ "name": "force",
967
+ "required": false,
888
968
  "allowNo": false,
889
969
  "type": "boolean"
970
+ },
971
+ "dir": {
972
+ "description": "Directory where the Actor is located",
973
+ "name": "dir",
974
+ "required": false,
975
+ "hasDynamicHelp": false,
976
+ "multiple": false,
977
+ "type": "option"
890
978
  }
891
979
  },
892
980
  "hasDynamicHelp": false,
893
981
  "hiddenAliases": [],
894
- "id": "builds:info",
982
+ "id": "actors:push",
895
983
  "pluginAlias": "apify-cli",
896
984
  "pluginName": "apify-cli",
897
985
  "pluginType": "core",
898
986
  "strict": true,
899
- "enableJsonFlag": true,
900
987
  "isESM": true,
901
988
  "relativePath": [
902
989
  "dist",
903
990
  "commands",
904
- "builds",
905
- "info.js"
991
+ "actors",
992
+ "push.js"
906
993
  ]
907
994
  },
908
- "builds:log": {
995
+ "actors:rm": {
909
996
  "aliases": [],
910
997
  "args": {
911
- "buildId": {
912
- "description": "The build ID to get the log from.",
913
- "name": "buildId",
998
+ "actorId": {
999
+ "description": "The Actor ID to delete.",
1000
+ "name": "actorId",
914
1001
  "required": true
915
1002
  }
916
1003
  },
917
- "description": "Prints the log of a specific build.",
1004
+ "description": "Permanently removes an Actor from your account.",
918
1005
  "flags": {},
919
1006
  "hasDynamicHelp": false,
920
1007
  "hiddenAliases": [],
921
- "id": "builds:log",
1008
+ "id": "actors:rm",
922
1009
  "pluginAlias": "apify-cli",
923
1010
  "pluginName": "apify-cli",
924
1011
  "pluginType": "core",
@@ -927,19 +1014,20 @@
927
1014
  "relativePath": [
928
1015
  "dist",
929
1016
  "commands",
930
- "builds",
931
- "log.js"
1017
+ "actors",
1018
+ "rm.js"
932
1019
  ]
933
1020
  },
934
- "builds:ls": {
1021
+ "actors:start": {
935
1022
  "aliases": [],
936
1023
  "args": {
937
1024
  "actorId": {
938
- "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
939
- "name": "actorId"
1025
+ "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.",
1026
+ "name": "actorId",
1027
+ "required": false
940
1028
  }
941
1029
  },
942
- "description": "Lists all builds of the Actor.",
1030
+ "description": "Starts Actor remotely and returns run details immediately.\nUses authenticated account and local key-value store for input.",
943
1031
  "flags": {
944
1032
  "json": {
945
1033
  "description": "Format output as json.",
@@ -948,88 +1036,85 @@
948
1036
  "allowNo": false,
949
1037
  "type": "boolean"
950
1038
  },
951
- "offset": {
952
- "description": "Number of builds that will be skipped.",
953
- "name": "offset",
954
- "default": 0,
1039
+ "build": {
1040
+ "char": "b",
1041
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1042
+ "name": "build",
1043
+ "required": false,
955
1044
  "hasDynamicHelp": false,
956
1045
  "multiple": false,
957
1046
  "type": "option"
958
1047
  },
959
- "limit": {
960
- "description": "Number of builds that will be listed.",
961
- "name": "limit",
962
- "default": 10,
1048
+ "timeout": {
1049
+ "char": "t",
1050
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1051
+ "name": "timeout",
1052
+ "required": false,
963
1053
  "hasDynamicHelp": false,
964
1054
  "multiple": false,
965
1055
  "type": "option"
966
1056
  },
967
- "desc": {
968
- "description": "Sort builds in descending order.",
969
- "name": "desc",
970
- "allowNo": false,
971
- "type": "boolean"
1057
+ "memory": {
1058
+ "char": "m",
1059
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
1060
+ "name": "memory",
1061
+ "required": false,
1062
+ "hasDynamicHelp": false,
1063
+ "multiple": false,
1064
+ "type": "option"
972
1065
  },
973
- "compact": {
974
- "char": "c",
975
- "description": "Display a compact table.",
976
- "name": "compact",
977
- "allowNo": false,
978
- "type": "boolean"
979
- }
980
- },
981
- "hasDynamicHelp": false,
982
- "hiddenAliases": [],
983
- "id": "builds:ls",
984
- "pluginAlias": "apify-cli",
985
- "pluginName": "apify-cli",
986
- "pluginType": "core",
987
- "strict": true,
988
- "enableJsonFlag": true,
989
- "isESM": true,
990
- "relativePath": [
991
- "dist",
992
- "commands",
993
- "builds",
994
- "ls.js"
995
- ]
996
- },
997
- "builds:rm": {
998
- "aliases": [],
999
- "args": {
1000
- "buildId": {
1001
- "description": "The build ID to delete.",
1002
- "name": "buildId",
1003
- "required": true
1066
+ "input": {
1067
+ "char": "i",
1068
+ "description": "Optional JSON input to be given to the Actor.",
1069
+ "exclusive": [
1070
+ "input-file"
1071
+ ],
1072
+ "name": "input",
1073
+ "required": false,
1074
+ "hasDynamicHelp": false,
1075
+ "multiple": false,
1076
+ "type": "option"
1077
+ },
1078
+ "input-file": {
1079
+ "aliases": [
1080
+ "if"
1081
+ ],
1082
+ "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.",
1083
+ "exclusive": [
1084
+ "input"
1085
+ ],
1086
+ "name": "input-file",
1087
+ "required": false,
1088
+ "hasDynamicHelp": false,
1089
+ "multiple": false,
1090
+ "type": "option"
1004
1091
  }
1005
1092
  },
1006
- "description": "Permanently removes an Actor build from the Apify platform.",
1007
- "flags": {},
1008
1093
  "hasDynamicHelp": false,
1009
1094
  "hiddenAliases": [],
1010
- "id": "builds:rm",
1095
+ "id": "actors:start",
1011
1096
  "pluginAlias": "apify-cli",
1012
1097
  "pluginName": "apify-cli",
1013
1098
  "pluginType": "core",
1014
1099
  "strict": true,
1100
+ "enableJsonFlag": true,
1015
1101
  "isESM": true,
1016
1102
  "relativePath": [
1017
1103
  "dist",
1018
1104
  "commands",
1019
- "builds",
1020
- "rm.js"
1105
+ "actors",
1106
+ "start.js"
1021
1107
  ]
1022
1108
  },
1023
- "datasets:create": {
1109
+ "builds:create": {
1024
1110
  "aliases": [],
1025
1111
  "args": {
1026
- "datasetName": {
1027
- "description": "Optional name for the Dataset",
1028
- "name": "datasetName",
1029
- "required": false
1112
+ "actorId": {
1113
+ "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1114
+ "name": "actorId"
1030
1115
  }
1031
1116
  },
1032
- "description": "Creates a new dataset for storing structured data on your account.",
1117
+ "description": "Creates a new build of the Actor.",
1033
1118
  "flags": {
1034
1119
  "json": {
1035
1120
  "description": "Format output as json.",
@@ -1037,90 +1122,53 @@
1037
1122
  "name": "json",
1038
1123
  "allowNo": false,
1039
1124
  "type": "boolean"
1040
- }
1041
- },
1042
- "hasDynamicHelp": false,
1043
- "hiddenAliases": [],
1044
- "id": "datasets:create",
1045
- "pluginAlias": "apify-cli",
1046
- "pluginName": "apify-cli",
1047
- "pluginType": "core",
1048
- "strict": true,
1049
- "enableJsonFlag": true,
1050
- "isESM": true,
1051
- "relativePath": [
1052
- "dist",
1053
- "commands",
1054
- "datasets",
1055
- "create.js"
1056
- ]
1057
- },
1058
- "datasets:get-items": {
1059
- "aliases": [],
1060
- "args": {
1061
- "datasetId": {
1062
- "description": "The ID of the Dataset to export the items for",
1063
- "name": "datasetId",
1064
- "required": true
1065
- }
1066
- },
1067
- "description": "Retrieves dataset items in specified format (JSON, CSV, etc).",
1068
- "flags": {
1069
- "limit": {
1070
- "description": "The amount of elements to get from the dataset. By default, it will return all available items.",
1071
- "name": "limit",
1072
- "hasDynamicHelp": false,
1073
- "multiple": false,
1074
- "type": "option"
1075
1125
  },
1076
- "offset": {
1077
- "description": "The offset in the dataset where to start getting items.",
1078
- "name": "offset",
1126
+ "tag": {
1127
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1128
+ "name": "tag",
1079
1129
  "hasDynamicHelp": false,
1080
1130
  "multiple": false,
1081
1131
  "type": "option"
1082
1132
  },
1083
- "format": {
1084
- "description": "The format of the returned output. By default, it is set to 'json'",
1085
- "name": "format",
1086
- "default": "json",
1133
+ "version": {
1134
+ "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.",
1135
+ "name": "version",
1136
+ "required": false,
1087
1137
  "hasDynamicHelp": false,
1088
1138
  "multiple": false,
1089
- "options": [
1090
- "json",
1091
- "jsonl",
1092
- "csv",
1093
- "html",
1094
- "rss",
1095
- "xml",
1096
- "xlsx"
1097
- ],
1098
1139
  "type": "option"
1140
+ },
1141
+ "log": {
1142
+ "description": "Whether to print out the build log after the build is triggered.",
1143
+ "name": "log",
1144
+ "allowNo": false,
1145
+ "type": "boolean"
1099
1146
  }
1100
1147
  },
1101
1148
  "hasDynamicHelp": false,
1102
1149
  "hiddenAliases": [],
1103
- "id": "datasets:get-items",
1150
+ "id": "builds:create",
1104
1151
  "pluginAlias": "apify-cli",
1105
1152
  "pluginName": "apify-cli",
1106
1153
  "pluginType": "core",
1107
1154
  "strict": true,
1155
+ "enableJsonFlag": true,
1108
1156
  "isESM": true,
1109
1157
  "relativePath": [
1110
1158
  "dist",
1111
1159
  "commands",
1112
- "datasets",
1113
- "get-items.js"
1160
+ "builds",
1161
+ "create.js"
1114
1162
  ]
1115
1163
  },
1116
- "datasets": {
1164
+ "builds": {
1117
1165
  "aliases": [],
1118
1166
  "args": {},
1119
- "description": "Manages structured data storage and retrieval.",
1167
+ "description": "Manages Actor build processes and versioning.",
1120
1168
  "flags": {},
1121
1169
  "hasDynamicHelp": false,
1122
1170
  "hiddenAliases": [],
1123
- "id": "datasets",
1171
+ "id": "builds",
1124
1172
  "pluginAlias": "apify-cli",
1125
1173
  "pluginName": "apify-cli",
1126
1174
  "pluginType": "core",
@@ -1129,20 +1177,20 @@
1129
1177
  "relativePath": [
1130
1178
  "dist",
1131
1179
  "commands",
1132
- "datasets",
1180
+ "builds",
1133
1181
  "index.js"
1134
1182
  ]
1135
1183
  },
1136
- "datasets:info": {
1184
+ "builds:info": {
1137
1185
  "aliases": [],
1138
1186
  "args": {
1139
- "storeId": {
1140
- "description": "The dataset store ID to print information about.",
1141
- "name": "storeId",
1187
+ "buildId": {
1188
+ "description": "The build ID to get information about.",
1189
+ "name": "buildId",
1142
1190
  "required": true
1143
1191
  }
1144
1192
  },
1145
- "description": "Prints information about a specific dataset.",
1193
+ "description": "Prints information about a specific build.",
1146
1194
  "flags": {
1147
1195
  "json": {
1148
1196
  "description": "Format output as json.",
@@ -1154,7 +1202,7 @@
1154
1202
  },
1155
1203
  "hasDynamicHelp": false,
1156
1204
  "hiddenAliases": [],
1157
- "id": "datasets:info",
1205
+ "id": "builds:info",
1158
1206
  "pluginAlias": "apify-cli",
1159
1207
  "pluginName": "apify-cli",
1160
1208
  "pluginType": "core",
@@ -1164,14 +1212,45 @@
1164
1212
  "relativePath": [
1165
1213
  "dist",
1166
1214
  "commands",
1167
- "datasets",
1215
+ "builds",
1168
1216
  "info.js"
1169
1217
  ]
1170
1218
  },
1171
- "datasets:ls": {
1219
+ "builds:log": {
1172
1220
  "aliases": [],
1173
- "args": {},
1174
- "description": "Prints all datasets on your account.",
1221
+ "args": {
1222
+ "buildId": {
1223
+ "description": "The build ID to get the log from.",
1224
+ "name": "buildId",
1225
+ "required": true
1226
+ }
1227
+ },
1228
+ "description": "Prints the log of a specific build.",
1229
+ "flags": {},
1230
+ "hasDynamicHelp": false,
1231
+ "hiddenAliases": [],
1232
+ "id": "builds:log",
1233
+ "pluginAlias": "apify-cli",
1234
+ "pluginName": "apify-cli",
1235
+ "pluginType": "core",
1236
+ "strict": true,
1237
+ "isESM": true,
1238
+ "relativePath": [
1239
+ "dist",
1240
+ "commands",
1241
+ "builds",
1242
+ "log.js"
1243
+ ]
1244
+ },
1245
+ "builds:ls": {
1246
+ "aliases": [],
1247
+ "args": {
1248
+ "actorId": {
1249
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1250
+ "name": "actorId"
1251
+ }
1252
+ },
1253
+ "description": "Lists all builds of the Actor.",
1175
1254
  "flags": {
1176
1255
  "json": {
1177
1256
  "description": "Format output as json.",
@@ -1181,7 +1260,7 @@
1181
1260
  "type": "boolean"
1182
1261
  },
1183
1262
  "offset": {
1184
- "description": "Number of datasets that will be skipped.",
1263
+ "description": "Number of builds that will be skipped.",
1185
1264
  "name": "offset",
1186
1265
  "default": 0,
1187
1266
  "hasDynamicHelp": false,
@@ -1189,29 +1268,30 @@
1189
1268
  "type": "option"
1190
1269
  },
1191
1270
  "limit": {
1192
- "description": "Number of datasets that will be listed.",
1271
+ "description": "Number of builds that will be listed.",
1193
1272
  "name": "limit",
1194
- "default": 20,
1273
+ "default": 10,
1195
1274
  "hasDynamicHelp": false,
1196
1275
  "multiple": false,
1197
1276
  "type": "option"
1198
1277
  },
1199
1278
  "desc": {
1200
- "description": "Sorts datasets in descending order.",
1279
+ "description": "Sort builds in descending order.",
1201
1280
  "name": "desc",
1202
1281
  "allowNo": false,
1203
1282
  "type": "boolean"
1204
1283
  },
1205
- "unnamed": {
1206
- "description": "Lists datasets that don't have a name set.",
1207
- "name": "unnamed",
1284
+ "compact": {
1285
+ "char": "c",
1286
+ "description": "Display a compact table.",
1287
+ "name": "compact",
1208
1288
  "allowNo": false,
1209
1289
  "type": "boolean"
1210
1290
  }
1211
1291
  },
1212
1292
  "hasDynamicHelp": false,
1213
1293
  "hiddenAliases": [],
1214
- "id": "datasets:ls",
1294
+ "id": "builds:ls",
1215
1295
  "pluginAlias": "apify-cli",
1216
1296
  "pluginName": "apify-cli",
1217
1297
  "pluginType": "core",
@@ -1221,91 +1301,24 @@
1221
1301
  "relativePath": [
1222
1302
  "dist",
1223
1303
  "commands",
1224
- "datasets",
1304
+ "builds",
1225
1305
  "ls.js"
1226
1306
  ]
1227
1307
  },
1228
- "datasets:push-items": {
1229
- "aliases": [],
1230
- "args": {
1231
- "nameOrId": {
1232
- "description": "The dataset ID or name to push the objects to",
1233
- "name": "nameOrId",
1234
- "required": true
1235
- },
1236
- "item": {
1237
- "description": "The object or array of objects to be pushed.",
1238
- "name": "item"
1239
- }
1240
- },
1241
- "description": "Adds data items to specified dataset. Accepts single object or array of objects.",
1242
- "flags": {},
1243
- "hasDynamicHelp": false,
1244
- "hiddenAliases": [],
1245
- "id": "datasets:push-items",
1246
- "pluginAlias": "apify-cli",
1247
- "pluginName": "apify-cli",
1248
- "pluginType": "core",
1249
- "strict": true,
1250
- "isESM": true,
1251
- "relativePath": [
1252
- "dist",
1253
- "commands",
1254
- "datasets",
1255
- "push-items.js"
1256
- ]
1257
- },
1258
- "datasets:rename": {
1259
- "aliases": [],
1260
- "args": {
1261
- "nameOrId": {
1262
- "description": "The dataset ID or name to delete.",
1263
- "name": "nameOrId",
1264
- "required": true
1265
- },
1266
- "newName": {
1267
- "description": "The new name for the dataset.",
1268
- "name": "newName"
1269
- }
1270
- },
1271
- "description": "Change dataset name or removes name with --unname flag.",
1272
- "flags": {
1273
- "unname": {
1274
- "description": "Removes the unique name of the dataset.",
1275
- "name": "unname",
1276
- "allowNo": false,
1277
- "type": "boolean"
1278
- }
1279
- },
1280
- "hasDynamicHelp": false,
1281
- "hiddenAliases": [],
1282
- "id": "datasets:rename",
1283
- "pluginAlias": "apify-cli",
1284
- "pluginName": "apify-cli",
1285
- "pluginType": "core",
1286
- "strict": true,
1287
- "isESM": true,
1288
- "relativePath": [
1289
- "dist",
1290
- "commands",
1291
- "datasets",
1292
- "rename.js"
1293
- ]
1294
- },
1295
- "datasets:rm": {
1308
+ "builds:rm": {
1296
1309
  "aliases": [],
1297
1310
  "args": {
1298
- "datasetNameOrId": {
1299
- "description": "The dataset ID or name to delete",
1300
- "name": "datasetNameOrId",
1311
+ "buildId": {
1312
+ "description": "The build ID to delete.",
1313
+ "name": "buildId",
1301
1314
  "required": true
1302
1315
  }
1303
1316
  },
1304
- "description": "Permanently removes a dataset.",
1317
+ "description": "Permanently removes an Actor build from the Apify platform.",
1305
1318
  "flags": {},
1306
1319
  "hasDynamicHelp": false,
1307
1320
  "hiddenAliases": [],
1308
- "id": "datasets:rm",
1321
+ "id": "builds:rm",
1309
1322
  "pluginAlias": "apify-cli",
1310
1323
  "pluginName": "apify-cli",
1311
1324
  "pluginType": "core",
@@ -1314,174 +1327,95 @@
1314
1327
  "relativePath": [
1315
1328
  "dist",
1316
1329
  "commands",
1317
- "datasets",
1330
+ "builds",
1318
1331
  "rm.js"
1319
1332
  ]
1320
1333
  },
1321
- "actors:build": {
1334
+ "actor:charge": {
1322
1335
  "aliases": [],
1323
1336
  "args": {
1324
- "actorId": {
1325
- "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1326
- "name": "actorId"
1337
+ "eventName": {
1338
+ "description": "Name of the event to charge for",
1339
+ "name": "eventName",
1340
+ "required": true
1327
1341
  }
1328
1342
  },
1329
- "description": "Creates a new build of the Actor.",
1343
+ "description": "Charge for a specific event in the pay-per-event Actor run.",
1330
1344
  "flags": {
1331
- "json": {
1332
- "description": "Format output as json.",
1333
- "helpGroup": "GLOBAL",
1334
- "name": "json",
1335
- "allowNo": false,
1336
- "type": "boolean"
1337
- },
1338
- "tag": {
1339
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1340
- "name": "tag",
1345
+ "count": {
1346
+ "description": "Number of events to charge",
1347
+ "name": "count",
1348
+ "required": false,
1349
+ "default": 1,
1341
1350
  "hasDynamicHelp": false,
1342
1351
  "multiple": false,
1343
1352
  "type": "option"
1344
1353
  },
1345
- "version": {
1346
- "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.",
1347
- "name": "version",
1354
+ "idempotency-key": {
1355
+ "description": "Idempotency key for the charge request",
1356
+ "name": "idempotency-key",
1348
1357
  "required": false,
1349
1358
  "hasDynamicHelp": false,
1350
1359
  "multiple": false,
1351
1360
  "type": "option"
1352
1361
  },
1353
- "log": {
1354
- "description": "Whether to print out the build log after the build is triggered.",
1355
- "name": "log",
1362
+ "test-pay-per-event": {
1363
+ "description": "Test pay-per-event charging without actually charging",
1364
+ "name": "test-pay-per-event",
1365
+ "required": false,
1356
1366
  "allowNo": false,
1357
1367
  "type": "boolean"
1358
1368
  }
1359
1369
  },
1360
1370
  "hasDynamicHelp": false,
1361
1371
  "hiddenAliases": [],
1362
- "id": "actors:build",
1372
+ "id": "actor:charge",
1363
1373
  "pluginAlias": "apify-cli",
1364
1374
  "pluginName": "apify-cli",
1365
1375
  "pluginType": "core",
1366
- "enableJsonFlag": true,
1376
+ "strict": true,
1367
1377
  "isESM": true,
1368
1378
  "relativePath": [
1369
1379
  "dist",
1370
1380
  "commands",
1371
- "actors",
1372
- "build.js"
1381
+ "actor",
1382
+ "charge.js"
1373
1383
  ]
1374
1384
  },
1375
- "actors:call": {
1385
+ "actor:get-input": {
1376
1386
  "aliases": [],
1377
- "args": {
1378
- "actorId": {
1379
- "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.",
1380
- "name": "actorId",
1381
- "required": false
1382
- }
1383
- },
1384
- "description": "Executes Actor remotely using your authenticated account.\nReads input from local key-value store by default.",
1385
- "flags": {
1386
- "json": {
1387
- "description": "Format output as json.",
1388
- "helpGroup": "GLOBAL",
1389
- "name": "json",
1390
- "allowNo": false,
1391
- "type": "boolean"
1392
- },
1393
- "build": {
1394
- "char": "b",
1395
- "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1396
- "name": "build",
1397
- "required": false,
1398
- "hasDynamicHelp": false,
1399
- "multiple": false,
1400
- "type": "option"
1401
- },
1402
- "timeout": {
1403
- "char": "t",
1404
- "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1405
- "name": "timeout",
1406
- "required": false,
1407
- "hasDynamicHelp": false,
1408
- "multiple": false,
1409
- "type": "option"
1410
- },
1411
- "memory": {
1412
- "char": "m",
1413
- "description": "Amount of memory allocated for the Actor run, in megabytes.",
1414
- "name": "memory",
1415
- "required": false,
1416
- "hasDynamicHelp": false,
1417
- "multiple": false,
1418
- "type": "option"
1419
- },
1420
- "input": {
1421
- "char": "i",
1422
- "description": "Optional JSON input to be given to the Actor.",
1423
- "exclusive": [
1424
- "input-file"
1425
- ],
1426
- "name": "input",
1427
- "required": false,
1428
- "hasDynamicHelp": false,
1429
- "multiple": false,
1430
- "type": "option"
1431
- },
1432
- "input-file": {
1433
- "aliases": [
1434
- "if"
1435
- ],
1436
- "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.",
1437
- "exclusive": [
1438
- "input"
1439
- ],
1440
- "name": "input-file",
1441
- "required": false,
1442
- "hasDynamicHelp": false,
1443
- "multiple": false,
1444
- "type": "option"
1445
- },
1446
- "silent": {
1447
- "char": "s",
1448
- "description": "Prevents printing the logs of the Actor run to the console.",
1449
- "name": "silent",
1450
- "allowNo": false,
1451
- "type": "boolean"
1452
- },
1453
- "output-dataset": {
1454
- "char": "o",
1455
- "description": "Prints out the entire default dataset on successful run of the Actor.",
1456
- "name": "output-dataset",
1457
- "allowNo": false,
1458
- "type": "boolean"
1459
- }
1460
- },
1387
+ "args": {},
1388
+ "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
1389
+ "flags": {},
1461
1390
  "hasDynamicHelp": false,
1462
1391
  "hiddenAliases": [],
1463
- "id": "actors:call",
1392
+ "id": "actor:get-input",
1464
1393
  "pluginAlias": "apify-cli",
1465
1394
  "pluginName": "apify-cli",
1466
1395
  "pluginType": "core",
1467
1396
  "strict": true,
1468
- "enableJsonFlag": true,
1469
1397
  "isESM": true,
1470
1398
  "relativePath": [
1471
1399
  "dist",
1472
1400
  "commands",
1473
- "actors",
1474
- "call.js"
1401
+ "actor",
1402
+ "get-input.js"
1475
1403
  ]
1476
1404
  },
1477
- "actors": {
1405
+ "actor:get-public-url": {
1478
1406
  "aliases": [],
1479
- "args": {},
1480
- "description": "Manages Actor creation, deployment, and execution on the Apify platform.",
1407
+ "args": {
1408
+ "key": {
1409
+ "description": "Key of the record in key-value store",
1410
+ "name": "key",
1411
+ "required": true
1412
+ }
1413
+ },
1414
+ "description": "Get an HTTP URL that allows public access to a key-value store item.",
1481
1415
  "flags": {},
1482
1416
  "hasDynamicHelp": false,
1483
1417
  "hiddenAliases": [],
1484
- "id": "actors",
1418
+ "id": "actor:get-public-url",
1485
1419
  "pluginAlias": "apify-cli",
1486
1420
  "pluginName": "apify-cli",
1487
1421
  "pluginType": "core",
@@ -1490,143 +1424,101 @@
1490
1424
  "relativePath": [
1491
1425
  "dist",
1492
1426
  "commands",
1493
- "actors",
1494
- "index.js"
1427
+ "actor",
1428
+ "get-public-url.js"
1495
1429
  ]
1496
1430
  },
1497
- "actors:info": {
1431
+ "actor:get-value": {
1498
1432
  "aliases": [],
1499
1433
  "args": {
1500
- "actorId": {
1501
- "description": "The ID of the Actor to return information about.",
1502
- "name": "actorId",
1434
+ "key": {
1435
+ "description": "Key of the record in key-value store",
1436
+ "name": "key",
1503
1437
  "required": true
1504
1438
  }
1505
1439
  },
1506
- "description": "Get information about an Actor.",
1507
- "flags": {
1508
- "json": {
1509
- "description": "Format output as json.",
1510
- "helpGroup": "GLOBAL",
1511
- "name": "json",
1512
- "allowNo": false,
1513
- "type": "boolean"
1514
- },
1515
- "readme": {
1516
- "description": "Return the Actor README.",
1517
- "exclusive": [
1518
- "input"
1519
- ],
1520
- "name": "readme",
1521
- "allowNo": false,
1522
- "type": "boolean"
1523
- },
1524
- "input": {
1525
- "description": "Return the Actor input schema.",
1526
- "exclusive": [
1527
- "readme"
1528
- ],
1529
- "name": "input",
1530
- "allowNo": false,
1531
- "type": "boolean"
1532
- }
1533
- },
1440
+ "description": "Gets a value from the default key-value store associated with the Actor run.",
1441
+ "flags": {},
1534
1442
  "hasDynamicHelp": false,
1535
1443
  "hiddenAliases": [],
1536
- "id": "actors:info",
1444
+ "id": "actor:get-value",
1537
1445
  "pluginAlias": "apify-cli",
1538
1446
  "pluginName": "apify-cli",
1539
1447
  "pluginType": "core",
1540
1448
  "strict": true,
1541
- "enableJsonFlag": true,
1542
1449
  "isESM": true,
1543
1450
  "relativePath": [
1544
1451
  "dist",
1545
1452
  "commands",
1546
- "actors",
1547
- "info.js"
1453
+ "actor",
1454
+ "get-value.js"
1548
1455
  ]
1549
1456
  },
1550
- "actors:ls": {
1457
+ "actor": {
1551
1458
  "aliases": [],
1552
1459
  "args": {},
1553
- "description": "Prints a list of recently executed Actors or Actors you own.",
1554
- "flags": {
1555
- "json": {
1556
- "description": "Format output as json.",
1557
- "helpGroup": "GLOBAL",
1558
- "name": "json",
1559
- "allowNo": false,
1560
- "type": "boolean"
1561
- },
1562
- "my": {
1563
- "description": "Whether to list Actors made by the logged in user.",
1564
- "name": "my",
1565
- "allowNo": false,
1566
- "type": "boolean"
1567
- },
1568
- "offset": {
1569
- "description": "Number of Actors that will be skipped.",
1570
- "name": "offset",
1571
- "default": 0,
1572
- "hasDynamicHelp": false,
1573
- "multiple": false,
1574
- "type": "option"
1575
- },
1576
- "limit": {
1577
- "description": "Number of Actors that will be listed.",
1578
- "name": "limit",
1579
- "default": 20,
1580
- "hasDynamicHelp": false,
1581
- "multiple": false,
1582
- "type": "option"
1583
- },
1584
- "desc": {
1585
- "description": "Sort Actors in descending order.",
1586
- "name": "desc",
1587
- "allowNo": false,
1588
- "type": "boolean"
1460
+ "description": "Manages runtime data operations inside of a running Actor.",
1461
+ "flags": {},
1462
+ "hasDynamicHelp": false,
1463
+ "hiddenAliases": [],
1464
+ "id": "actor",
1465
+ "pluginAlias": "apify-cli",
1466
+ "pluginName": "apify-cli",
1467
+ "pluginType": "core",
1468
+ "strict": true,
1469
+ "isESM": true,
1470
+ "relativePath": [
1471
+ "dist",
1472
+ "commands",
1473
+ "actor",
1474
+ "index.js"
1475
+ ]
1476
+ },
1477
+ "actor:push-data": {
1478
+ "aliases": [],
1479
+ "args": {
1480
+ "item": {
1481
+ "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
1482
+ "name": "item"
1589
1483
  }
1590
1484
  },
1485
+ "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",
1486
+ "flags": {},
1591
1487
  "hasDynamicHelp": false,
1592
1488
  "hiddenAliases": [],
1593
- "id": "actors:ls",
1489
+ "id": "actor:push-data",
1594
1490
  "pluginAlias": "apify-cli",
1595
1491
  "pluginName": "apify-cli",
1596
1492
  "pluginType": "core",
1597
1493
  "strict": true,
1598
- "enableJsonFlag": true,
1599
1494
  "isESM": true,
1600
1495
  "relativePath": [
1601
1496
  "dist",
1602
1497
  "commands",
1603
- "actors",
1604
- "ls.js"
1498
+ "actor",
1499
+ "push-data.js"
1605
1500
  ]
1606
1501
  },
1607
- "actors:pull": {
1502
+ "actor:set-value": {
1608
1503
  "aliases": [],
1609
1504
  "args": {
1610
- "actorId": {
1611
- "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.",
1612
- "name": "actorId",
1505
+ "key": {
1506
+ "description": "Key of the record in key-value store.",
1507
+ "name": "key",
1508
+ "required": true
1509
+ },
1510
+ "value": {
1511
+ "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.",
1512
+ "name": "value",
1613
1513
  "required": false
1614
1514
  }
1615
1515
  },
1616
- "description": "Download Actor code to current directory. Clones Git repositories or fetches Actor files based on the source type.",
1516
+ "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",
1617
1517
  "flags": {
1618
- "version": {
1619
- "char": "v",
1620
- "description": "Actor version number which will be pulled, e.g. 1.2. Default: the highest version",
1621
- "name": "version",
1622
- "required": false,
1623
- "hasDynamicHelp": false,
1624
- "multiple": false,
1625
- "type": "option"
1626
- },
1627
- "dir": {
1628
- "description": "Directory where the Actor should be pulled to",
1629
- "name": "dir",
1518
+ "contentType": {
1519
+ "char": "c",
1520
+ "description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
1521
+ "name": "contentType",
1630
1522
  "required": false,
1631
1523
  "hasDynamicHelp": false,
1632
1524
  "multiple": false,
@@ -1635,7 +1527,7 @@
1635
1527
  },
1636
1528
  "hasDynamicHelp": false,
1637
1529
  "hiddenAliases": [],
1638
- "id": "actors:pull",
1530
+ "id": "actor:set-value",
1639
1531
  "pluginAlias": "apify-cli",
1640
1532
  "pluginName": "apify-cli",
1641
1533
  "pluginType": "core",
@@ -1644,74 +1536,91 @@
1644
1536
  "relativePath": [
1645
1537
  "dist",
1646
1538
  "commands",
1647
- "actors",
1648
- "pull.js"
1539
+ "actor",
1540
+ "set-value.js"
1649
1541
  ]
1650
1542
  },
1651
- "actors:push": {
1543
+ "datasets:create": {
1652
1544
  "aliases": [],
1653
1545
  "args": {
1654
- "actorId": {
1655
- "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.",
1656
- "name": "actorId",
1546
+ "datasetName": {
1547
+ "description": "Optional name for the Dataset",
1548
+ "name": "datasetName",
1657
1549
  "required": false
1658
1550
  }
1659
1551
  },
1660
- "description": "Deploys Actor to Apify platform using settings from '.actor/actor.json'.\nFiles under '3' MB upload as \"Multiple source files\"; larger projects upload as ZIP file.\nUse --force to override newer remote versions.",
1552
+ "description": "Creates a new dataset for storing structured data on your account.",
1661
1553
  "flags": {
1662
- "version": {
1663
- "char": "v",
1664
- "description": "Actor version number to which the files should be pushed. By default, it is taken from the '.actor/actor.json' file.",
1665
- "name": "version",
1666
- "required": false,
1667
- "hasDynamicHelp": false,
1668
- "multiple": false,
1669
- "type": "option"
1670
- },
1671
- "build-tag": {
1672
- "char": "b",
1673
- "description": "Build tag to be applied to the successful Actor build. By default, it is taken from the '.actor/actor.json' file",
1674
- "name": "build-tag",
1675
- "required": false,
1554
+ "json": {
1555
+ "description": "Format output as json.",
1556
+ "helpGroup": "GLOBAL",
1557
+ "name": "json",
1558
+ "allowNo": false,
1559
+ "type": "boolean"
1560
+ }
1561
+ },
1562
+ "hasDynamicHelp": false,
1563
+ "hiddenAliases": [],
1564
+ "id": "datasets:create",
1565
+ "pluginAlias": "apify-cli",
1566
+ "pluginName": "apify-cli",
1567
+ "pluginType": "core",
1568
+ "strict": true,
1569
+ "enableJsonFlag": true,
1570
+ "isESM": true,
1571
+ "relativePath": [
1572
+ "dist",
1573
+ "commands",
1574
+ "datasets",
1575
+ "create.js"
1576
+ ]
1577
+ },
1578
+ "datasets:get-items": {
1579
+ "aliases": [],
1580
+ "args": {
1581
+ "datasetId": {
1582
+ "description": "The ID of the Dataset to export the items for",
1583
+ "name": "datasetId",
1584
+ "required": true
1585
+ }
1586
+ },
1587
+ "description": "Retrieves dataset items in specified format (JSON, CSV, etc).",
1588
+ "flags": {
1589
+ "limit": {
1590
+ "description": "The amount of elements to get from the dataset. By default, it will return all available items.",
1591
+ "name": "limit",
1676
1592
  "hasDynamicHelp": false,
1677
1593
  "multiple": false,
1678
1594
  "type": "option"
1679
1595
  },
1680
- "wait-for-finish": {
1681
- "char": "w",
1682
- "description": "Seconds for waiting to build to finish, if no value passed, it waits forever.",
1683
- "name": "wait-for-finish",
1684
- "required": false,
1596
+ "offset": {
1597
+ "description": "The offset in the dataset where to start getting items.",
1598
+ "name": "offset",
1685
1599
  "hasDynamicHelp": false,
1686
1600
  "multiple": false,
1687
1601
  "type": "option"
1688
1602
  },
1689
- "no-prompt": {
1690
- "description": "Do not prompt for opening the Actor details in a browser. This will also not open the browser automatically.",
1691
- "name": "no-prompt",
1692
- "required": false,
1693
- "allowNo": false,
1694
- "type": "boolean"
1695
- },
1696
- "force": {
1697
- "description": "Push an Actor even when the local files are older than the Actor on the platform.",
1698
- "name": "force",
1699
- "required": false,
1700
- "allowNo": false,
1701
- "type": "boolean"
1702
- },
1703
- "dir": {
1704
- "description": "Directory where the Actor is located",
1705
- "name": "dir",
1706
- "required": false,
1603
+ "format": {
1604
+ "description": "The format of the returned output. By default, it is set to 'json'",
1605
+ "name": "format",
1606
+ "default": "json",
1707
1607
  "hasDynamicHelp": false,
1708
1608
  "multiple": false,
1609
+ "options": [
1610
+ "json",
1611
+ "jsonl",
1612
+ "csv",
1613
+ "html",
1614
+ "rss",
1615
+ "xml",
1616
+ "xlsx"
1617
+ ],
1709
1618
  "type": "option"
1710
1619
  }
1711
1620
  },
1712
1621
  "hasDynamicHelp": false,
1713
1622
  "hiddenAliases": [],
1714
- "id": "actors:push",
1623
+ "id": "datasets:get-items",
1715
1624
  "pluginAlias": "apify-cli",
1716
1625
  "pluginName": "apify-cli",
1717
1626
  "pluginType": "core",
@@ -1720,24 +1629,18 @@
1720
1629
  "relativePath": [
1721
1630
  "dist",
1722
1631
  "commands",
1723
- "actors",
1724
- "push.js"
1632
+ "datasets",
1633
+ "get-items.js"
1725
1634
  ]
1726
1635
  },
1727
- "actors:rm": {
1636
+ "datasets": {
1728
1637
  "aliases": [],
1729
- "args": {
1730
- "actorId": {
1731
- "description": "The Actor ID to delete.",
1732
- "name": "actorId",
1733
- "required": true
1734
- }
1735
- },
1736
- "description": "Permanently removes an Actor from your account.",
1638
+ "args": {},
1639
+ "description": "Manages structured data storage and retrieval.",
1737
1640
  "flags": {},
1738
1641
  "hasDynamicHelp": false,
1739
1642
  "hiddenAliases": [],
1740
- "id": "actors:rm",
1643
+ "id": "datasets",
1741
1644
  "pluginAlias": "apify-cli",
1742
1645
  "pluginName": "apify-cli",
1743
1646
  "pluginType": "core",
@@ -1746,85 +1649,32 @@
1746
1649
  "relativePath": [
1747
1650
  "dist",
1748
1651
  "commands",
1749
- "actors",
1750
- "rm.js"
1652
+ "datasets",
1653
+ "index.js"
1751
1654
  ]
1752
1655
  },
1753
- "actors:start": {
1656
+ "datasets:info": {
1754
1657
  "aliases": [],
1755
1658
  "args": {
1756
- "actorId": {
1757
- "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.",
1758
- "name": "actorId",
1759
- "required": false
1659
+ "storeId": {
1660
+ "description": "The dataset store ID to print information about.",
1661
+ "name": "storeId",
1662
+ "required": true
1760
1663
  }
1761
1664
  },
1762
- "description": "Starts Actor remotely and returns run details immediately.\nUses authenticated account and local key-value store for input.",
1665
+ "description": "Prints information about a specific dataset.",
1763
1666
  "flags": {
1764
1667
  "json": {
1765
1668
  "description": "Format output as json.",
1766
1669
  "helpGroup": "GLOBAL",
1767
1670
  "name": "json",
1768
- "allowNo": false,
1769
- "type": "boolean"
1770
- },
1771
- "build": {
1772
- "char": "b",
1773
- "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1774
- "name": "build",
1775
- "required": false,
1776
- "hasDynamicHelp": false,
1777
- "multiple": false,
1778
- "type": "option"
1779
- },
1780
- "timeout": {
1781
- "char": "t",
1782
- "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1783
- "name": "timeout",
1784
- "required": false,
1785
- "hasDynamicHelp": false,
1786
- "multiple": false,
1787
- "type": "option"
1788
- },
1789
- "memory": {
1790
- "char": "m",
1791
- "description": "Amount of memory allocated for the Actor run, in megabytes.",
1792
- "name": "memory",
1793
- "required": false,
1794
- "hasDynamicHelp": false,
1795
- "multiple": false,
1796
- "type": "option"
1797
- },
1798
- "input": {
1799
- "char": "i",
1800
- "description": "Optional JSON input to be given to the Actor.",
1801
- "exclusive": [
1802
- "input-file"
1803
- ],
1804
- "name": "input",
1805
- "required": false,
1806
- "hasDynamicHelp": false,
1807
- "multiple": false,
1808
- "type": "option"
1809
- },
1810
- "input-file": {
1811
- "aliases": [
1812
- "if"
1813
- ],
1814
- "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.",
1815
- "exclusive": [
1816
- "input"
1817
- ],
1818
- "name": "input-file",
1819
- "required": false,
1820
- "hasDynamicHelp": false,
1821
- "multiple": false,
1822
- "type": "option"
1671
+ "allowNo": false,
1672
+ "type": "boolean"
1823
1673
  }
1824
1674
  },
1825
1675
  "hasDynamicHelp": false,
1826
1676
  "hiddenAliases": [],
1827
- "id": "actors:start",
1677
+ "id": "datasets:info",
1828
1678
  "pluginAlias": "apify-cli",
1829
1679
  "pluginName": "apify-cli",
1830
1680
  "pluginType": "core",
@@ -1834,20 +1684,14 @@
1834
1684
  "relativePath": [
1835
1685
  "dist",
1836
1686
  "commands",
1837
- "actors",
1838
- "start.js"
1687
+ "datasets",
1688
+ "info.js"
1839
1689
  ]
1840
1690
  },
1841
- "key-value-stores:create": {
1691
+ "datasets:ls": {
1842
1692
  "aliases": [],
1843
- "args": {
1844
- "keyValueStoreName": {
1845
- "description": "Optional name for the key-value store",
1846
- "name": "keyValueStoreName",
1847
- "required": false
1848
- }
1849
- },
1850
- "description": "Creates a new key-value store on your account.",
1693
+ "args": {},
1694
+ "description": "Prints all datasets on your account.",
1851
1695
  "flags": {
1852
1696
  "json": {
1853
1697
  "description": "Format output as json.",
@@ -1855,13 +1699,39 @@
1855
1699
  "name": "json",
1856
1700
  "allowNo": false,
1857
1701
  "type": "boolean"
1702
+ },
1703
+ "offset": {
1704
+ "description": "Number of datasets that will be skipped.",
1705
+ "name": "offset",
1706
+ "default": 0,
1707
+ "hasDynamicHelp": false,
1708
+ "multiple": false,
1709
+ "type": "option"
1710
+ },
1711
+ "limit": {
1712
+ "description": "Number of datasets that will be listed.",
1713
+ "name": "limit",
1714
+ "default": 20,
1715
+ "hasDynamicHelp": false,
1716
+ "multiple": false,
1717
+ "type": "option"
1718
+ },
1719
+ "desc": {
1720
+ "description": "Sorts datasets in descending order.",
1721
+ "name": "desc",
1722
+ "allowNo": false,
1723
+ "type": "boolean"
1724
+ },
1725
+ "unnamed": {
1726
+ "description": "Lists datasets that don't have a name set.",
1727
+ "name": "unnamed",
1728
+ "allowNo": false,
1729
+ "type": "boolean"
1858
1730
  }
1859
1731
  },
1860
1732
  "hasDynamicHelp": false,
1861
- "hiddenAliases": [
1862
- "kvs:create"
1863
- ],
1864
- "id": "key-value-stores:create",
1733
+ "hiddenAliases": [],
1734
+ "id": "datasets:ls",
1865
1735
  "pluginAlias": "apify-cli",
1866
1736
  "pluginName": "apify-cli",
1867
1737
  "pluginType": "core",
@@ -1871,31 +1741,28 @@
1871
1741
  "relativePath": [
1872
1742
  "dist",
1873
1743
  "commands",
1874
- "key-value-stores",
1875
- "create.js"
1744
+ "datasets",
1745
+ "ls.js"
1876
1746
  ]
1877
1747
  },
1878
- "key-value-stores:delete-value": {
1748
+ "datasets:push-items": {
1879
1749
  "aliases": [],
1880
1750
  "args": {
1881
- "storeId": {
1882
- "description": "The key-value store ID to delete the value from.",
1883
- "name": "storeId",
1751
+ "nameOrId": {
1752
+ "description": "The dataset ID or name to push the objects to",
1753
+ "name": "nameOrId",
1884
1754
  "required": true
1885
1755
  },
1886
- "itemKey": {
1887
- "description": "The key of the item in the key-value store.",
1888
- "name": "itemKey",
1889
- "required": true
1756
+ "item": {
1757
+ "description": "The object or array of objects to be pushed.",
1758
+ "name": "item"
1890
1759
  }
1891
1760
  },
1892
- "description": "Delete a value from a key-value store.",
1761
+ "description": "Adds data items to specified dataset. Accepts single object or array of objects.",
1893
1762
  "flags": {},
1894
1763
  "hasDynamicHelp": false,
1895
- "hiddenAliases": [
1896
- "kvs:delete-value"
1897
- ],
1898
- "id": "key-value-stores:delete-value",
1764
+ "hiddenAliases": [],
1765
+ "id": "datasets:push-items",
1899
1766
  "pluginAlias": "apify-cli",
1900
1767
  "pluginName": "apify-cli",
1901
1768
  "pluginType": "core",
@@ -1904,38 +1771,35 @@
1904
1771
  "relativePath": [
1905
1772
  "dist",
1906
1773
  "commands",
1907
- "key-value-stores",
1908
- "delete-value.js"
1774
+ "datasets",
1775
+ "push-items.js"
1909
1776
  ]
1910
1777
  },
1911
- "key-value-stores:get-value": {
1778
+ "datasets:rename": {
1912
1779
  "aliases": [],
1913
1780
  "args": {
1914
- "keyValueStoreId": {
1915
- "description": "The key-value store ID to get the value from.",
1916
- "name": "keyValueStoreId",
1781
+ "nameOrId": {
1782
+ "description": "The dataset ID or name to delete.",
1783
+ "name": "nameOrId",
1917
1784
  "required": true
1918
1785
  },
1919
- "itemKey": {
1920
- "description": "The key of the item in the key-value store.",
1921
- "name": "itemKey",
1922
- "required": true
1786
+ "newName": {
1787
+ "description": "The new name for the dataset.",
1788
+ "name": "newName"
1923
1789
  }
1924
1790
  },
1925
- "description": "Retrieves stored value for specified key. Use --only-content-type to check MIME type.",
1791
+ "description": "Change dataset name or removes name with --unname flag.",
1926
1792
  "flags": {
1927
- "only-content-type": {
1928
- "description": "Only return the content type of the specified key",
1929
- "name": "only-content-type",
1793
+ "unname": {
1794
+ "description": "Removes the unique name of the dataset.",
1795
+ "name": "unname",
1930
1796
  "allowNo": false,
1931
1797
  "type": "boolean"
1932
1798
  }
1933
1799
  },
1934
1800
  "hasDynamicHelp": false,
1935
- "hiddenAliases": [
1936
- "kvs:get-value"
1937
- ],
1938
- "id": "key-value-stores:get-value",
1801
+ "hiddenAliases": [],
1802
+ "id": "datasets:rename",
1939
1803
  "pluginAlias": "apify-cli",
1940
1804
  "pluginName": "apify-cli",
1941
1805
  "pluginType": "core",
@@ -1944,20 +1808,24 @@
1944
1808
  "relativePath": [
1945
1809
  "dist",
1946
1810
  "commands",
1947
- "key-value-stores",
1948
- "get-value.js"
1811
+ "datasets",
1812
+ "rename.js"
1949
1813
  ]
1950
1814
  },
1951
- "key-value-stores": {
1815
+ "datasets:rm": {
1952
1816
  "aliases": [],
1953
- "args": {},
1954
- "description": "Manages persistent key-value storage.\n\nAlias: kvs",
1817
+ "args": {
1818
+ "datasetNameOrId": {
1819
+ "description": "The dataset ID or name to delete",
1820
+ "name": "datasetNameOrId",
1821
+ "required": true
1822
+ }
1823
+ },
1824
+ "description": "Permanently removes a dataset.",
1955
1825
  "flags": {},
1956
1826
  "hasDynamicHelp": false,
1957
- "hiddenAliases": [
1958
- "kvs"
1959
- ],
1960
- "id": "key-value-stores",
1827
+ "hiddenAliases": [],
1828
+ "id": "datasets:rm",
1961
1829
  "pluginAlias": "apify-cli",
1962
1830
  "pluginName": "apify-cli",
1963
1831
  "pluginType": "core",
@@ -1966,20 +1834,20 @@
1966
1834
  "relativePath": [
1967
1835
  "dist",
1968
1836
  "commands",
1969
- "key-value-stores",
1970
- "index.js"
1837
+ "datasets",
1838
+ "rm.js"
1971
1839
  ]
1972
1840
  },
1973
- "key-value-stores:info": {
1841
+ "runs:abort": {
1974
1842
  "aliases": [],
1975
1843
  "args": {
1976
- "storeId": {
1977
- "description": "The key-value store ID to print information about.",
1978
- "name": "storeId",
1844
+ "runId": {
1845
+ "description": "The run ID to abort.",
1846
+ "name": "runId",
1979
1847
  "required": true
1980
1848
  }
1981
1849
  },
1982
- "description": "Shows information about a key-value store.",
1850
+ "description": "Aborts an Actor run.",
1983
1851
  "flags": {
1984
1852
  "json": {
1985
1853
  "description": "Format output as json.",
@@ -1987,13 +1855,18 @@
1987
1855
  "name": "json",
1988
1856
  "allowNo": false,
1989
1857
  "type": "boolean"
1858
+ },
1859
+ "force": {
1860
+ "char": "f",
1861
+ "description": "Whether to force the run to abort immediately, instead of gracefully.",
1862
+ "name": "force",
1863
+ "allowNo": false,
1864
+ "type": "boolean"
1990
1865
  }
1991
1866
  },
1992
1867
  "hasDynamicHelp": false,
1993
- "hiddenAliases": [
1994
- "kvs:info"
1995
- ],
1996
- "id": "key-value-stores:info",
1868
+ "hiddenAliases": [],
1869
+ "id": "runs:abort",
1997
1870
  "pluginAlias": "apify-cli",
1998
1871
  "pluginName": "apify-cli",
1999
1872
  "pluginType": "core",
@@ -2003,20 +1876,40 @@
2003
1876
  "relativePath": [
2004
1877
  "dist",
2005
1878
  "commands",
2006
- "key-value-stores",
2007
- "info.js"
1879
+ "runs",
1880
+ "abort.js"
2008
1881
  ]
2009
1882
  },
2010
- "key-value-stores:keys": {
1883
+ "runs": {
1884
+ "aliases": [],
1885
+ "args": {},
1886
+ "description": "Manages Actor run operations ",
1887
+ "flags": {},
1888
+ "hasDynamicHelp": false,
1889
+ "hiddenAliases": [],
1890
+ "id": "runs",
1891
+ "pluginAlias": "apify-cli",
1892
+ "pluginName": "apify-cli",
1893
+ "pluginType": "core",
1894
+ "strict": true,
1895
+ "isESM": true,
1896
+ "relativePath": [
1897
+ "dist",
1898
+ "commands",
1899
+ "runs",
1900
+ "index.js"
1901
+ ]
1902
+ },
1903
+ "runs:info": {
2011
1904
  "aliases": [],
2012
1905
  "args": {
2013
- "storeId": {
2014
- "description": "The key-value store ID to list keys for.",
2015
- "name": "storeId",
1906
+ "runId": {
1907
+ "description": "The run ID to print information about.",
1908
+ "name": "runId",
2016
1909
  "required": true
2017
1910
  }
2018
1911
  },
2019
- "description": "Lists all keys in a key-value store.",
1912
+ "description": "Prints information about an Actor run.",
2020
1913
  "flags": {
2021
1914
  "json": {
2022
1915
  "description": "Format output as json.",
@@ -2025,27 +1918,17 @@
2025
1918
  "allowNo": false,
2026
1919
  "type": "boolean"
2027
1920
  },
2028
- "limit": {
2029
- "description": "The maximum number of keys to return.",
2030
- "name": "limit",
2031
- "default": 20,
2032
- "hasDynamicHelp": false,
2033
- "multiple": false,
2034
- "type": "option"
2035
- },
2036
- "exclusive-start-key": {
2037
- "description": "The key to start the list from.",
2038
- "name": "exclusive-start-key",
2039
- "hasDynamicHelp": false,
2040
- "multiple": false,
2041
- "type": "option"
1921
+ "verbose": {
1922
+ "char": "v",
1923
+ "description": "Prints more in-depth information about the Actor run.",
1924
+ "name": "verbose",
1925
+ "allowNo": false,
1926
+ "type": "boolean"
2042
1927
  }
2043
1928
  },
2044
1929
  "hasDynamicHelp": false,
2045
- "hiddenAliases": [
2046
- "kvs:keys"
2047
- ],
2048
- "id": "key-value-stores:keys",
1930
+ "hiddenAliases": [],
1931
+ "id": "runs:info",
2049
1932
  "pluginAlias": "apify-cli",
2050
1933
  "pluginName": "apify-cli",
2051
1934
  "pluginType": "core",
@@ -2055,14 +1938,45 @@
2055
1938
  "relativePath": [
2056
1939
  "dist",
2057
1940
  "commands",
2058
- "key-value-stores",
2059
- "keys.js"
1941
+ "runs",
1942
+ "info.js"
2060
1943
  ]
2061
1944
  },
2062
- "key-value-stores:ls": {
1945
+ "runs:log": {
2063
1946
  "aliases": [],
2064
- "args": {},
2065
- "description": "Lists all key-value stores on your account.",
1947
+ "args": {
1948
+ "runId": {
1949
+ "description": "The run ID to get the log from.",
1950
+ "name": "runId",
1951
+ "required": true
1952
+ }
1953
+ },
1954
+ "description": "Prints the log of a specific run.",
1955
+ "flags": {},
1956
+ "hasDynamicHelp": false,
1957
+ "hiddenAliases": [],
1958
+ "id": "runs:log",
1959
+ "pluginAlias": "apify-cli",
1960
+ "pluginName": "apify-cli",
1961
+ "pluginType": "core",
1962
+ "strict": true,
1963
+ "isESM": true,
1964
+ "relativePath": [
1965
+ "dist",
1966
+ "commands",
1967
+ "runs",
1968
+ "log.js"
1969
+ ]
1970
+ },
1971
+ "runs:ls": {
1972
+ "aliases": [],
1973
+ "args": {
1974
+ "actorId": {
1975
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1976
+ "name": "actorId"
1977
+ }
1978
+ },
1979
+ "description": "Lists all runs of the Actor.",
2066
1980
  "flags": {
2067
1981
  "json": {
2068
1982
  "description": "Format output as json.",
@@ -2072,7 +1986,7 @@
2072
1986
  "type": "boolean"
2073
1987
  },
2074
1988
  "offset": {
2075
- "description": "Number of key-value stores that will be skipped.",
1989
+ "description": "Number of runs that will be skipped.",
2076
1990
  "name": "offset",
2077
1991
  "default": 0,
2078
1992
  "hasDynamicHelp": false,
@@ -2080,31 +1994,30 @@
2080
1994
  "type": "option"
2081
1995
  },
2082
1996
  "limit": {
2083
- "description": "Number of key-value stores that will be listed.",
1997
+ "description": "Number of runs that will be listed.",
2084
1998
  "name": "limit",
2085
- "default": 20,
1999
+ "default": 10,
2086
2000
  "hasDynamicHelp": false,
2087
2001
  "multiple": false,
2088
2002
  "type": "option"
2089
2003
  },
2090
2004
  "desc": {
2091
- "description": "Sorts key-value stores in descending order.",
2005
+ "description": "Sort runs in descending order.",
2092
2006
  "name": "desc",
2093
2007
  "allowNo": false,
2094
2008
  "type": "boolean"
2095
2009
  },
2096
- "unnamed": {
2097
- "description": "Lists key-value stores that don't have a name set.",
2098
- "name": "unnamed",
2010
+ "compact": {
2011
+ "char": "c",
2012
+ "description": "Display a compact table.",
2013
+ "name": "compact",
2099
2014
  "allowNo": false,
2100
2015
  "type": "boolean"
2101
2016
  }
2102
2017
  },
2103
2018
  "hasDynamicHelp": false,
2104
- "hiddenAliases": [
2105
- "kvs:ls"
2106
- ],
2107
- "id": "key-value-stores:ls",
2019
+ "hiddenAliases": [],
2020
+ "id": "runs:ls",
2108
2021
  "pluginAlias": "apify-cli",
2109
2022
  "pluginName": "apify-cli",
2110
2023
  "pluginType": "core",
@@ -2114,65 +2027,59 @@
2114
2027
  "relativePath": [
2115
2028
  "dist",
2116
2029
  "commands",
2117
- "key-value-stores",
2030
+ "runs",
2118
2031
  "ls.js"
2119
2032
  ]
2120
2033
  },
2121
- "key-value-stores:rename": {
2034
+ "runs:resurrect": {
2122
2035
  "aliases": [],
2123
2036
  "args": {
2124
- "keyValueStoreNameOrId": {
2125
- "description": "The key-value store ID or name to delete",
2126
- "name": "keyValueStoreNameOrId",
2037
+ "runId": {
2038
+ "description": "The run ID to resurrect.",
2039
+ "name": "runId",
2127
2040
  "required": true
2128
- },
2129
- "newName": {
2130
- "description": "The new name for the key-value store",
2131
- "name": "newName"
2132
2041
  }
2133
2042
  },
2134
- "description": "Renames a key-value store, or removes its unique name.",
2043
+ "description": "Resurrects an aborted or finished Actor Run.",
2135
2044
  "flags": {
2136
- "unname": {
2137
- "description": "Removes the unique name of the key-value store",
2138
- "name": "unname",
2045
+ "json": {
2046
+ "description": "Format output as json.",
2047
+ "helpGroup": "GLOBAL",
2048
+ "name": "json",
2139
2049
  "allowNo": false,
2140
2050
  "type": "boolean"
2141
2051
  }
2142
2052
  },
2143
2053
  "hasDynamicHelp": false,
2144
- "hiddenAliases": [
2145
- "kvs:rename"
2146
- ],
2147
- "id": "key-value-stores:rename",
2054
+ "hiddenAliases": [],
2055
+ "id": "runs:resurrect",
2148
2056
  "pluginAlias": "apify-cli",
2149
2057
  "pluginName": "apify-cli",
2150
2058
  "pluginType": "core",
2151
2059
  "strict": true,
2060
+ "enableJsonFlag": true,
2152
2061
  "isESM": true,
2153
2062
  "relativePath": [
2154
2063
  "dist",
2155
2064
  "commands",
2156
- "key-value-stores",
2157
- "rename.js"
2065
+ "runs",
2066
+ "resurrect.js"
2158
2067
  ]
2159
2068
  },
2160
- "key-value-stores:rm": {
2069
+ "runs:rm": {
2161
2070
  "aliases": [],
2162
2071
  "args": {
2163
- "keyValueStoreNameOrId": {
2164
- "description": "The key-value store ID or name to delete",
2165
- "name": "keyValueStoreNameOrId",
2072
+ "runId": {
2073
+ "description": "The run ID to delete.",
2074
+ "name": "runId",
2166
2075
  "required": true
2167
2076
  }
2168
2077
  },
2169
- "description": "Permanently removes a key-value store.",
2078
+ "description": "Deletes an Actor Run.",
2170
2079
  "flags": {},
2171
2080
  "hasDynamicHelp": false,
2172
- "hiddenAliases": [
2173
- "kvs:rm"
2174
- ],
2175
- "id": "key-value-stores:rm",
2081
+ "hiddenAliases": [],
2082
+ "id": "runs:rm",
2176
2083
  "pluginAlias": "apify-cli",
2177
2084
  "pluginName": "apify-cli",
2178
2085
  "pluginType": "core",
@@ -2181,44 +2088,75 @@
2181
2088
  "relativePath": [
2182
2089
  "dist",
2183
2090
  "commands",
2184
- "key-value-stores",
2091
+ "runs",
2185
2092
  "rm.js"
2186
2093
  ]
2187
2094
  },
2188
- "key-value-stores:set-value": {
2095
+ "secrets:add": {
2189
2096
  "aliases": [],
2190
2097
  "args": {
2191
- "storeId": {
2192
- "description": "The key-value store ID to set the value in.",
2193
- "name": "storeId",
2194
- "required": true
2195
- },
2196
- "itemKey": {
2197
- "description": "The key of the item in the key-value store.",
2198
- "name": "itemKey",
2098
+ "name": {
2099
+ "description": "Name of the secret",
2100
+ "name": "name",
2199
2101
  "required": true
2200
2102
  },
2201
2103
  "value": {
2202
- "description": "The value to set.",
2203
- "name": "value"
2104
+ "description": "Value of the secret",
2105
+ "name": "value",
2106
+ "required": true
2204
2107
  }
2205
2108
  },
2206
- "description": "Stores value with specified key. Set content-type with --content-type flag.",
2207
- "flags": {
2208
- "content-type": {
2209
- "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
2210
- "name": "content-type",
2211
- "default": "application/json",
2212
- "hasDynamicHelp": false,
2213
- "multiple": false,
2214
- "type": "option"
2109
+ "description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
2110
+ "flags": {},
2111
+ "hasDynamicHelp": false,
2112
+ "hiddenAliases": [],
2113
+ "id": "secrets:add",
2114
+ "pluginAlias": "apify-cli",
2115
+ "pluginName": "apify-cli",
2116
+ "pluginType": "core",
2117
+ "strict": true,
2118
+ "isESM": true,
2119
+ "relativePath": [
2120
+ "dist",
2121
+ "commands",
2122
+ "secrets",
2123
+ "add.js"
2124
+ ]
2125
+ },
2126
+ "secrets": {
2127
+ "aliases": [],
2128
+ "args": {},
2129
+ "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.",
2130
+ "flags": {},
2131
+ "hasDynamicHelp": false,
2132
+ "hiddenAliases": [],
2133
+ "id": "secrets",
2134
+ "pluginAlias": "apify-cli",
2135
+ "pluginName": "apify-cli",
2136
+ "pluginType": "core",
2137
+ "strict": true,
2138
+ "isESM": true,
2139
+ "relativePath": [
2140
+ "dist",
2141
+ "commands",
2142
+ "secrets",
2143
+ "index.js"
2144
+ ]
2145
+ },
2146
+ "secrets:rm": {
2147
+ "aliases": [],
2148
+ "args": {
2149
+ "name": {
2150
+ "description": "Name of the secret",
2151
+ "name": "name",
2152
+ "required": true
2215
2153
  }
2216
2154
  },
2155
+ "description": "Permanently deletes a secret from your stored credentials.",
2156
+ "flags": {},
2217
2157
  "hasDynamicHelp": false,
2218
- "hiddenAliases": [
2219
- "kvs:set-value"
2220
- ],
2221
- "id": "key-value-stores:set-value",
2158
+ "hiddenAliases": [],
2159
+ "id": "secrets:rm",
2222
2160
  "pluginAlias": "apify-cli",
2223
2161
  "pluginName": "apify-cli",
2224
2162
  "pluginType": "core",
@@ -2227,8 +2165,8 @@
2227
2165
  "relativePath": [
2228
2166
  "dist",
2229
2167
  "commands",
2230
- "key-value-stores",
2231
- "set-value.js"
2168
+ "secrets",
2169
+ "rm.js"
2232
2170
  ]
2233
2171
  },
2234
2172
  "request-queues": {
@@ -2251,16 +2189,16 @@
2251
2189
  "index.js"
2252
2190
  ]
2253
2191
  },
2254
- "runs:abort": {
2192
+ "key-value-stores:create": {
2255
2193
  "aliases": [],
2256
2194
  "args": {
2257
- "runId": {
2258
- "description": "The run ID to abort.",
2259
- "name": "runId",
2260
- "required": true
2195
+ "keyValueStoreName": {
2196
+ "description": "Optional name for the key-value store",
2197
+ "name": "keyValueStoreName",
2198
+ "required": false
2261
2199
  }
2262
2200
  },
2263
- "description": "Aborts an Actor run.",
2201
+ "description": "Creates a new key-value store on your account.",
2264
2202
  "flags": {
2265
2203
  "json": {
2266
2204
  "description": "Format output as json.",
@@ -2268,39 +2206,109 @@
2268
2206
  "name": "json",
2269
2207
  "allowNo": false,
2270
2208
  "type": "boolean"
2209
+ }
2210
+ },
2211
+ "hasDynamicHelp": false,
2212
+ "hiddenAliases": [
2213
+ "kvs:create"
2214
+ ],
2215
+ "id": "key-value-stores:create",
2216
+ "pluginAlias": "apify-cli",
2217
+ "pluginName": "apify-cli",
2218
+ "pluginType": "core",
2219
+ "strict": true,
2220
+ "enableJsonFlag": true,
2221
+ "isESM": true,
2222
+ "relativePath": [
2223
+ "dist",
2224
+ "commands",
2225
+ "key-value-stores",
2226
+ "create.js"
2227
+ ]
2228
+ },
2229
+ "key-value-stores:delete-value": {
2230
+ "aliases": [],
2231
+ "args": {
2232
+ "storeId": {
2233
+ "description": "The key-value store ID to delete the value from.",
2234
+ "name": "storeId",
2235
+ "required": true
2271
2236
  },
2272
- "force": {
2273
- "char": "f",
2274
- "description": "Whether to force the run to abort immediately, instead of gracefully.",
2275
- "name": "force",
2237
+ "itemKey": {
2238
+ "description": "The key of the item in the key-value store.",
2239
+ "name": "itemKey",
2240
+ "required": true
2241
+ }
2242
+ },
2243
+ "description": "Delete a value from a key-value store.",
2244
+ "flags": {},
2245
+ "hasDynamicHelp": false,
2246
+ "hiddenAliases": [
2247
+ "kvs:delete-value"
2248
+ ],
2249
+ "id": "key-value-stores:delete-value",
2250
+ "pluginAlias": "apify-cli",
2251
+ "pluginName": "apify-cli",
2252
+ "pluginType": "core",
2253
+ "strict": true,
2254
+ "isESM": true,
2255
+ "relativePath": [
2256
+ "dist",
2257
+ "commands",
2258
+ "key-value-stores",
2259
+ "delete-value.js"
2260
+ ]
2261
+ },
2262
+ "key-value-stores:get-value": {
2263
+ "aliases": [],
2264
+ "args": {
2265
+ "keyValueStoreId": {
2266
+ "description": "The key-value store ID to get the value from.",
2267
+ "name": "keyValueStoreId",
2268
+ "required": true
2269
+ },
2270
+ "itemKey": {
2271
+ "description": "The key of the item in the key-value store.",
2272
+ "name": "itemKey",
2273
+ "required": true
2274
+ }
2275
+ },
2276
+ "description": "Retrieves stored value for specified key. Use --only-content-type to check MIME type.",
2277
+ "flags": {
2278
+ "only-content-type": {
2279
+ "description": "Only return the content type of the specified key",
2280
+ "name": "only-content-type",
2276
2281
  "allowNo": false,
2277
2282
  "type": "boolean"
2278
2283
  }
2279
2284
  },
2280
2285
  "hasDynamicHelp": false,
2281
- "hiddenAliases": [],
2282
- "id": "runs:abort",
2286
+ "hiddenAliases": [
2287
+ "kvs:get-value"
2288
+ ],
2289
+ "id": "key-value-stores:get-value",
2283
2290
  "pluginAlias": "apify-cli",
2284
2291
  "pluginName": "apify-cli",
2285
2292
  "pluginType": "core",
2286
2293
  "strict": true,
2287
- "enableJsonFlag": true,
2288
2294
  "isESM": true,
2289
2295
  "relativePath": [
2290
2296
  "dist",
2291
2297
  "commands",
2292
- "runs",
2293
- "abort.js"
2298
+ "key-value-stores",
2299
+ "get-value.js"
2294
2300
  ]
2295
2301
  },
2296
- "runs": {
2302
+ "key-value-stores": {
2297
2303
  "aliases": [],
2298
2304
  "args": {},
2299
- "description": "Manages Actor run operations ",
2305
+ "description": "Manages persistent key-value storage.\n\nAlias: kvs",
2300
2306
  "flags": {},
2301
2307
  "hasDynamicHelp": false,
2302
- "hiddenAliases": [],
2303
- "id": "runs",
2308
+ "hiddenAliases": [
2309
+ "kvs"
2310
+ ],
2311
+ "id": "key-value-stores",
2304
2312
  "pluginAlias": "apify-cli",
2305
2313
  "pluginName": "apify-cli",
2306
2314
  "pluginType": "core",
@@ -2309,20 +2317,20 @@
2309
2317
  "relativePath": [
2310
2318
  "dist",
2311
2319
  "commands",
2312
- "runs",
2320
+ "key-value-stores",
2313
2321
  "index.js"
2314
2322
  ]
2315
2323
  },
2316
- "runs:info": {
2324
+ "key-value-stores:info": {
2317
2325
  "aliases": [],
2318
2326
  "args": {
2319
- "runId": {
2320
- "description": "The run ID to print information about.",
2321
- "name": "runId",
2327
+ "storeId": {
2328
+ "description": "The key-value store ID to print information about.",
2329
+ "name": "storeId",
2322
2330
  "required": true
2323
2331
  }
2324
2332
  },
2325
- "description": "Prints information about an Actor run.",
2333
+ "description": "Shows information about a key-value store.",
2326
2334
  "flags": {
2327
2335
  "json": {
2328
2336
  "description": "Format output as json.",
@@ -2330,18 +2338,13 @@
2330
2338
  "name": "json",
2331
2339
  "allowNo": false,
2332
2340
  "type": "boolean"
2333
- },
2334
- "verbose": {
2335
- "char": "v",
2336
- "description": "Prints more in-depth information about the Actor run.",
2337
- "name": "verbose",
2338
- "allowNo": false,
2339
- "type": "boolean"
2340
2341
  }
2341
2342
  },
2342
2343
  "hasDynamicHelp": false,
2343
- "hiddenAliases": [],
2344
- "id": "runs:info",
2344
+ "hiddenAliases": [
2345
+ "kvs:info"
2346
+ ],
2347
+ "id": "key-value-stores:info",
2345
2348
  "pluginAlias": "apify-cli",
2346
2349
  "pluginName": "apify-cli",
2347
2350
  "pluginType": "core",
@@ -2351,45 +2354,66 @@
2351
2354
  "relativePath": [
2352
2355
  "dist",
2353
2356
  "commands",
2354
- "runs",
2357
+ "key-value-stores",
2355
2358
  "info.js"
2356
2359
  ]
2357
2360
  },
2358
- "runs:log": {
2361
+ "key-value-stores:keys": {
2359
2362
  "aliases": [],
2360
2363
  "args": {
2361
- "runId": {
2362
- "description": "The run ID to get the log from.",
2363
- "name": "runId",
2364
+ "storeId": {
2365
+ "description": "The key-value store ID to list keys for.",
2366
+ "name": "storeId",
2364
2367
  "required": true
2365
2368
  }
2366
2369
  },
2367
- "description": "Prints the log of a specific run.",
2368
- "flags": {},
2370
+ "description": "Lists all keys in a key-value store.",
2371
+ "flags": {
2372
+ "json": {
2373
+ "description": "Format output as json.",
2374
+ "helpGroup": "GLOBAL",
2375
+ "name": "json",
2376
+ "allowNo": false,
2377
+ "type": "boolean"
2378
+ },
2379
+ "limit": {
2380
+ "description": "The maximum number of keys to return.",
2381
+ "name": "limit",
2382
+ "default": 20,
2383
+ "hasDynamicHelp": false,
2384
+ "multiple": false,
2385
+ "type": "option"
2386
+ },
2387
+ "exclusive-start-key": {
2388
+ "description": "The key to start the list from.",
2389
+ "name": "exclusive-start-key",
2390
+ "hasDynamicHelp": false,
2391
+ "multiple": false,
2392
+ "type": "option"
2393
+ }
2394
+ },
2369
2395
  "hasDynamicHelp": false,
2370
- "hiddenAliases": [],
2371
- "id": "runs:log",
2396
+ "hiddenAliases": [
2397
+ "kvs:keys"
2398
+ ],
2399
+ "id": "key-value-stores:keys",
2372
2400
  "pluginAlias": "apify-cli",
2373
2401
  "pluginName": "apify-cli",
2374
2402
  "pluginType": "core",
2375
2403
  "strict": true,
2404
+ "enableJsonFlag": true,
2376
2405
  "isESM": true,
2377
2406
  "relativePath": [
2378
2407
  "dist",
2379
2408
  "commands",
2380
- "runs",
2381
- "log.js"
2409
+ "key-value-stores",
2410
+ "keys.js"
2382
2411
  ]
2383
2412
  },
2384
- "runs:ls": {
2413
+ "key-value-stores:ls": {
2385
2414
  "aliases": [],
2386
- "args": {
2387
- "actorId": {
2388
- "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
2389
- "name": "actorId"
2390
- }
2391
- },
2392
- "description": "Lists all runs of the Actor.",
2415
+ "args": {},
2416
+ "description": "Lists all key-value stores on your account.",
2393
2417
  "flags": {
2394
2418
  "json": {
2395
2419
  "description": "Format output as json.",
@@ -2399,7 +2423,7 @@
2399
2423
  "type": "boolean"
2400
2424
  },
2401
2425
  "offset": {
2402
- "description": "Number of runs that will be skipped.",
2426
+ "description": "Number of key-value stores that will be skipped.",
2403
2427
  "name": "offset",
2404
2428
  "default": 0,
2405
2429
  "hasDynamicHelp": false,
@@ -2407,30 +2431,31 @@
2407
2431
  "type": "option"
2408
2432
  },
2409
2433
  "limit": {
2410
- "description": "Number of runs that will be listed.",
2434
+ "description": "Number of key-value stores that will be listed.",
2411
2435
  "name": "limit",
2412
- "default": 10,
2436
+ "default": 20,
2413
2437
  "hasDynamicHelp": false,
2414
2438
  "multiple": false,
2415
2439
  "type": "option"
2416
2440
  },
2417
2441
  "desc": {
2418
- "description": "Sort runs in descending order.",
2442
+ "description": "Sorts key-value stores in descending order.",
2419
2443
  "name": "desc",
2420
2444
  "allowNo": false,
2421
2445
  "type": "boolean"
2422
2446
  },
2423
- "compact": {
2424
- "char": "c",
2425
- "description": "Display a compact table.",
2426
- "name": "compact",
2447
+ "unnamed": {
2448
+ "description": "Lists key-value stores that don't have a name set.",
2449
+ "name": "unnamed",
2427
2450
  "allowNo": false,
2428
2451
  "type": "boolean"
2429
2452
  }
2430
2453
  },
2431
2454
  "hasDynamicHelp": false,
2432
- "hiddenAliases": [],
2433
- "id": "runs:ls",
2455
+ "hiddenAliases": [
2456
+ "kvs:ls"
2457
+ ],
2458
+ "id": "key-value-stores:ls",
2434
2459
  "pluginAlias": "apify-cli",
2435
2460
  "pluginName": "apify-cli",
2436
2461
  "pluginType": "core",
@@ -2440,59 +2465,65 @@
2440
2465
  "relativePath": [
2441
2466
  "dist",
2442
2467
  "commands",
2443
- "runs",
2468
+ "key-value-stores",
2444
2469
  "ls.js"
2445
2470
  ]
2446
2471
  },
2447
- "runs:resurrect": {
2472
+ "key-value-stores:rename": {
2448
2473
  "aliases": [],
2449
2474
  "args": {
2450
- "runId": {
2451
- "description": "The run ID to resurrect.",
2452
- "name": "runId",
2475
+ "keyValueStoreNameOrId": {
2476
+ "description": "The key-value store ID or name to delete",
2477
+ "name": "keyValueStoreNameOrId",
2453
2478
  "required": true
2479
+ },
2480
+ "newName": {
2481
+ "description": "The new name for the key-value store",
2482
+ "name": "newName"
2454
2483
  }
2455
2484
  },
2456
- "description": "Resurrects an aborted or finished Actor Run.",
2485
+ "description": "Renames a key-value store, or removes its unique name.",
2457
2486
  "flags": {
2458
- "json": {
2459
- "description": "Format output as json.",
2460
- "helpGroup": "GLOBAL",
2461
- "name": "json",
2487
+ "unname": {
2488
+ "description": "Removes the unique name of the key-value store",
2489
+ "name": "unname",
2462
2490
  "allowNo": false,
2463
2491
  "type": "boolean"
2464
2492
  }
2465
2493
  },
2466
2494
  "hasDynamicHelp": false,
2467
- "hiddenAliases": [],
2468
- "id": "runs:resurrect",
2495
+ "hiddenAliases": [
2496
+ "kvs:rename"
2497
+ ],
2498
+ "id": "key-value-stores:rename",
2469
2499
  "pluginAlias": "apify-cli",
2470
2500
  "pluginName": "apify-cli",
2471
2501
  "pluginType": "core",
2472
2502
  "strict": true,
2473
- "enableJsonFlag": true,
2474
2503
  "isESM": true,
2475
2504
  "relativePath": [
2476
2505
  "dist",
2477
2506
  "commands",
2478
- "runs",
2479
- "resurrect.js"
2507
+ "key-value-stores",
2508
+ "rename.js"
2480
2509
  ]
2481
2510
  },
2482
- "runs:rm": {
2511
+ "key-value-stores:rm": {
2483
2512
  "aliases": [],
2484
2513
  "args": {
2485
- "runId": {
2486
- "description": "The run ID to delete.",
2487
- "name": "runId",
2514
+ "keyValueStoreNameOrId": {
2515
+ "description": "The key-value store ID or name to delete",
2516
+ "name": "keyValueStoreNameOrId",
2488
2517
  "required": true
2489
2518
  }
2490
2519
  },
2491
- "description": "Deletes an Actor Run.",
2520
+ "description": "Permanently removes a key-value store.",
2492
2521
  "flags": {},
2493
2522
  "hasDynamicHelp": false,
2494
- "hiddenAliases": [],
2495
- "id": "runs:rm",
2523
+ "hiddenAliases": [
2524
+ "kvs:rm"
2525
+ ],
2526
+ "id": "key-value-stores:rm",
2496
2527
  "pluginAlias": "apify-cli",
2497
2528
  "pluginName": "apify-cli",
2498
2529
  "pluginType": "core",
@@ -2501,75 +2532,44 @@
2501
2532
  "relativePath": [
2502
2533
  "dist",
2503
2534
  "commands",
2504
- "runs",
2535
+ "key-value-stores",
2505
2536
  "rm.js"
2506
2537
  ]
2507
2538
  },
2508
- "secrets:add": {
2539
+ "key-value-stores:set-value": {
2509
2540
  "aliases": [],
2510
2541
  "args": {
2511
- "name": {
2512
- "description": "Name of the secret",
2513
- "name": "name",
2542
+ "storeId": {
2543
+ "description": "The key-value store ID to set the value in.",
2544
+ "name": "storeId",
2514
2545
  "required": true
2515
2546
  },
2516
- "value": {
2517
- "description": "Value of the secret",
2518
- "name": "value",
2547
+ "itemKey": {
2548
+ "description": "The key of the item in the key-value store.",
2549
+ "name": "itemKey",
2519
2550
  "required": true
2551
+ },
2552
+ "value": {
2553
+ "description": "The value to set.",
2554
+ "name": "value"
2520
2555
  }
2521
2556
  },
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
2557
+ "description": "Stores value with specified key. Set content-type with --content-type flag.",
2558
+ "flags": {
2559
+ "content-type": {
2560
+ "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
2561
+ "name": "content-type",
2562
+ "default": "application/json",
2563
+ "hasDynamicHelp": false,
2564
+ "multiple": false,
2565
+ "type": "option"
2566
2566
  }
2567
2567
  },
2568
- "description": "Permanently deletes a secret from your stored credentials.",
2569
- "flags": {},
2570
2568
  "hasDynamicHelp": false,
2571
- "hiddenAliases": [],
2572
- "id": "secrets:rm",
2569
+ "hiddenAliases": [
2570
+ "kvs:set-value"
2571
+ ],
2572
+ "id": "key-value-stores:set-value",
2573
2573
  "pluginAlias": "apify-cli",
2574
2574
  "pluginName": "apify-cli",
2575
2575
  "pluginType": "core",
@@ -2578,8 +2578,8 @@
2578
2578
  "relativePath": [
2579
2579
  "dist",
2580
2580
  "commands",
2581
- "secrets",
2582
- "rm.js"
2581
+ "key-value-stores",
2582
+ "set-value.js"
2583
2583
  ]
2584
2584
  },
2585
2585
  "task": {
@@ -2657,5 +2657,5 @@
2657
2657
  ]
2658
2658
  }
2659
2659
  },
2660
- "version": "0.21.2-beta.4"
2660
+ "version": "0.21.2"
2661
2661
  }