apify-cli 0.21.2 → 0.21.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -586,170 +586,137 @@
586
586
  "validate-schema.js"
587
587
  ]
588
588
  },
589
- "actors:build": {
589
+ "actor:charge": {
590
590
  "aliases": [],
591
591
  "args": {
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"
592
+ "eventName": {
593
+ "description": "Name of the event to charge for",
594
+ "name": "eventName",
595
+ "required": true
595
596
  }
596
597
  },
597
- "description": "Creates a new build of the Actor.",
598
+ "description": "Charge for a specific event in the pay-per-event Actor run.",
598
599
  "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",
600
+ "count": {
601
+ "description": "Number of events to charge",
602
+ "name": "count",
603
+ "required": false,
604
+ "default": 1,
609
605
  "hasDynamicHelp": false,
610
606
  "multiple": false,
611
607
  "type": "option"
612
608
  },
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",
609
+ "idempotency-key": {
610
+ "description": "Idempotency key for the charge request",
611
+ "name": "idempotency-key",
616
612
  "required": false,
617
613
  "hasDynamicHelp": false,
618
614
  "multiple": false,
619
615
  "type": "option"
620
616
  },
621
- "log": {
622
- "description": "Whether to print out the build log after the build is triggered.",
623
- "name": "log",
617
+ "test-pay-per-event": {
618
+ "description": "Test pay-per-event charging without actually charging",
619
+ "name": "test-pay-per-event",
620
+ "required": false,
624
621
  "allowNo": false,
625
622
  "type": "boolean"
626
623
  }
627
624
  },
628
625
  "hasDynamicHelp": false,
629
626
  "hiddenAliases": [],
630
- "id": "actors:build",
627
+ "id": "actor:charge",
631
628
  "pluginAlias": "apify-cli",
632
629
  "pluginName": "apify-cli",
633
630
  "pluginType": "core",
634
- "enableJsonFlag": true,
631
+ "strict": true,
635
632
  "isESM": true,
636
633
  "relativePath": [
637
634
  "dist",
638
635
  "commands",
639
- "actors",
640
- "build.js"
636
+ "actor",
637
+ "charge.js"
641
638
  ]
642
639
  },
643
- "actors:call": {
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",
648
+ "pluginAlias": "apify-cli",
649
+ "pluginName": "apify-cli",
650
+ "pluginType": "core",
651
+ "strict": true,
652
+ "isESM": true,
653
+ "relativePath": [
654
+ "dist",
655
+ "commands",
656
+ "actor",
657
+ "get-input.js"
658
+ ]
659
+ },
660
+ "actor:get-public-url": {
644
661
  "aliases": [],
645
662
  "args": {
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
663
+ "key": {
664
+ "description": "Key of the record in key-value store",
665
+ "name": "key",
666
+ "required": true
650
667
  }
651
668
  },
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"
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
727
693
  }
728
694
  },
695
+ "description": "Gets a value from the default key-value store associated with the Actor run.",
696
+ "flags": {},
729
697
  "hasDynamicHelp": false,
730
698
  "hiddenAliases": [],
731
- "id": "actors:call",
699
+ "id": "actor:get-value",
732
700
  "pluginAlias": "apify-cli",
733
701
  "pluginName": "apify-cli",
734
702
  "pluginType": "core",
735
703
  "strict": true,
736
- "enableJsonFlag": true,
737
704
  "isESM": true,
738
705
  "relativePath": [
739
706
  "dist",
740
707
  "commands",
741
- "actors",
742
- "call.js"
708
+ "actor",
709
+ "get-value.js"
743
710
  ]
744
711
  },
745
- "actors": {
712
+ "actor": {
746
713
  "aliases": [],
747
714
  "args": {},
748
- "description": "Manages Actor creation, deployment, and execution on the Apify platform.",
715
+ "description": "Manages runtime data operations inside of a running Actor.",
749
716
  "flags": {},
750
717
  "hasDynamicHelp": false,
751
718
  "hiddenAliases": [],
752
- "id": "actors",
719
+ "id": "actor",
753
720
  "pluginAlias": "apify-cli",
754
721
  "pluginName": "apify-cli",
755
722
  "pluginType": "core",
@@ -758,67 +725,85 @@
758
725
  "relativePath": [
759
726
  "dist",
760
727
  "commands",
761
- "actors",
728
+ "actor",
762
729
  "index.js"
763
730
  ]
764
731
  },
765
- "actors:info": {
732
+ "actor:push-data": {
766
733
  "aliases": [],
767
734
  "args": {
768
- "actorId": {
769
- "description": "The ID of the Actor to return information about.",
770
- "name": "actorId",
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": {
758
+ "aliases": [],
759
+ "args": {
760
+ "key": {
761
+ "description": "Key of the record in key-value store.",
762
+ "name": "key",
771
763
  "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
772
769
  }
773
770
  },
774
- "description": "Get information about an Actor.",
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",
775
772
  "flags": {
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"
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"
800
781
  }
801
782
  },
802
783
  "hasDynamicHelp": false,
803
784
  "hiddenAliases": [],
804
- "id": "actors:info",
785
+ "id": "actor:set-value",
805
786
  "pluginAlias": "apify-cli",
806
787
  "pluginName": "apify-cli",
807
788
  "pluginType": "core",
808
789
  "strict": true,
809
- "enableJsonFlag": true,
810
790
  "isESM": true,
811
791
  "relativePath": [
812
792
  "dist",
813
793
  "commands",
814
- "actors",
815
- "info.js"
794
+ "actor",
795
+ "set-value.js"
816
796
  ]
817
797
  },
818
- "actors:ls": {
798
+ "builds:create": {
819
799
  "aliases": [],
820
- "args": {},
821
- "description": "Prints a list of recently executed Actors or Actors you own.",
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.",
822
807
  "flags": {
823
808
  "json": {
824
809
  "description": "Format output as json.",
@@ -827,38 +812,31 @@
827
812
  "allowNo": false,
828
813
  "type": "boolean"
829
814
  },
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,
815
+ "tag": {
816
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
817
+ "name": "tag",
840
818
  "hasDynamicHelp": false,
841
819
  "multiple": false,
842
820
  "type": "option"
843
821
  },
844
- "limit": {
845
- "description": "Number of Actors that will be listed.",
846
- "name": "limit",
847
- "default": 20,
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,
848
826
  "hasDynamicHelp": false,
849
827
  "multiple": false,
850
828
  "type": "option"
851
829
  },
852
- "desc": {
853
- "description": "Sort Actors in descending order.",
854
- "name": "desc",
830
+ "log": {
831
+ "description": "Whether to print out the build log after the build is triggered.",
832
+ "name": "log",
855
833
  "allowNo": false,
856
834
  "type": "boolean"
857
835
  }
858
836
  },
859
837
  "hasDynamicHelp": false,
860
838
  "hiddenAliases": [],
861
- "id": "actors:ls",
839
+ "id": "builds:create",
862
840
  "pluginAlias": "apify-cli",
863
841
  "pluginName": "apify-cli",
864
842
  "pluginType": "core",
@@ -868,144 +846,168 @@
868
846
  "relativePath": [
869
847
  "dist",
870
848
  "commands",
871
- "actors",
872
- "ls.js"
849
+ "builds",
850
+ "create.js"
873
851
  ]
874
852
  },
875
- "actors:pull": {
853
+ "builds": {
854
+ "aliases": [],
855
+ "args": {},
856
+ "description": "Manages Actor build processes and versioning.",
857
+ "flags": {},
858
+ "hasDynamicHelp": false,
859
+ "hiddenAliases": [],
860
+ "id": "builds",
861
+ "pluginAlias": "apify-cli",
862
+ "pluginName": "apify-cli",
863
+ "pluginType": "core",
864
+ "strict": true,
865
+ "isESM": true,
866
+ "relativePath": [
867
+ "dist",
868
+ "commands",
869
+ "builds",
870
+ "index.js"
871
+ ]
872
+ },
873
+ "builds:info": {
876
874
  "aliases": [],
877
875
  "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
876
+ "buildId": {
877
+ "description": "The build ID to get information about.",
878
+ "name": "buildId",
879
+ "required": true
882
880
  }
883
881
  },
884
- "description": "Download Actor code to current directory. Clones Git repositories or fetches Actor files based on the source type.",
882
+ "description": "Prints information about a specific build.",
885
883
  "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"
884
+ "json": {
885
+ "description": "Format output as json.",
886
+ "helpGroup": "GLOBAL",
887
+ "name": "json",
888
+ "allowNo": false,
889
+ "type": "boolean"
902
890
  }
903
891
  },
904
892
  "hasDynamicHelp": false,
905
893
  "hiddenAliases": [],
906
- "id": "actors:pull",
894
+ "id": "builds:info",
907
895
  "pluginAlias": "apify-cli",
908
896
  "pluginName": "apify-cli",
909
897
  "pluginType": "core",
910
898
  "strict": true,
899
+ "enableJsonFlag": true,
911
900
  "isESM": true,
912
901
  "relativePath": [
913
902
  "dist",
914
903
  "commands",
915
- "actors",
916
- "pull.js"
904
+ "builds",
905
+ "info.js"
917
906
  ]
918
907
  },
919
- "actors:push": {
908
+ "builds:log": {
909
+ "aliases": [],
910
+ "args": {
911
+ "buildId": {
912
+ "description": "The build ID to get the log from.",
913
+ "name": "buildId",
914
+ "required": true
915
+ }
916
+ },
917
+ "description": "Prints the log of a specific build.",
918
+ "flags": {},
919
+ "hasDynamicHelp": false,
920
+ "hiddenAliases": [],
921
+ "id": "builds:log",
922
+ "pluginAlias": "apify-cli",
923
+ "pluginName": "apify-cli",
924
+ "pluginType": "core",
925
+ "strict": true,
926
+ "isESM": true,
927
+ "relativePath": [
928
+ "dist",
929
+ "commands",
930
+ "builds",
931
+ "log.js"
932
+ ]
933
+ },
934
+ "builds:ls": {
920
935
  "aliases": [],
921
936
  "args": {
922
937
  "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
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"
926
940
  }
927
941
  },
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.",
942
+ "description": "Lists all builds of the Actor.",
929
943
  "flags": {
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"
944
+ "json": {
945
+ "description": "Format output as json.",
946
+ "helpGroup": "GLOBAL",
947
+ "name": "json",
948
+ "allowNo": false,
949
+ "type": "boolean"
938
950
  },
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,
951
+ "offset": {
952
+ "description": "Number of builds that will be skipped.",
953
+ "name": "offset",
954
+ "default": 0,
944
955
  "hasDynamicHelp": false,
945
956
  "multiple": false,
946
957
  "type": "option"
947
958
  },
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,
959
+ "limit": {
960
+ "description": "Number of builds that will be listed.",
961
+ "name": "limit",
962
+ "default": 10,
953
963
  "hasDynamicHelp": false,
954
964
  "multiple": false,
955
965
  "type": "option"
956
966
  },
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,
967
+ "desc": {
968
+ "description": "Sort builds in descending order.",
969
+ "name": "desc",
961
970
  "allowNo": false,
962
971
  "type": "boolean"
963
972
  },
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,
973
+ "compact": {
974
+ "char": "c",
975
+ "description": "Display a compact table.",
976
+ "name": "compact",
968
977
  "allowNo": false,
969
978
  "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"
978
979
  }
979
980
  },
980
981
  "hasDynamicHelp": false,
981
982
  "hiddenAliases": [],
982
- "id": "actors:push",
983
+ "id": "builds:ls",
983
984
  "pluginAlias": "apify-cli",
984
985
  "pluginName": "apify-cli",
985
986
  "pluginType": "core",
986
987
  "strict": true,
988
+ "enableJsonFlag": true,
987
989
  "isESM": true,
988
990
  "relativePath": [
989
991
  "dist",
990
992
  "commands",
991
- "actors",
992
- "push.js"
993
+ "builds",
994
+ "ls.js"
993
995
  ]
994
996
  },
995
- "actors:rm": {
997
+ "builds:rm": {
996
998
  "aliases": [],
997
999
  "args": {
998
- "actorId": {
999
- "description": "The Actor ID to delete.",
1000
- "name": "actorId",
1000
+ "buildId": {
1001
+ "description": "The build ID to delete.",
1002
+ "name": "buildId",
1001
1003
  "required": true
1002
1004
  }
1003
1005
  },
1004
- "description": "Permanently removes an Actor from your account.",
1006
+ "description": "Permanently removes an Actor build from the Apify platform.",
1005
1007
  "flags": {},
1006
1008
  "hasDynamicHelp": false,
1007
1009
  "hiddenAliases": [],
1008
- "id": "actors:rm",
1010
+ "id": "builds:rm",
1009
1011
  "pluginAlias": "apify-cli",
1010
1012
  "pluginName": "apify-cli",
1011
1013
  "pluginType": "core",
@@ -1014,11 +1016,65 @@
1014
1016
  "relativePath": [
1015
1017
  "dist",
1016
1018
  "commands",
1017
- "actors",
1019
+ "builds",
1018
1020
  "rm.js"
1019
1021
  ]
1020
1022
  },
1021
- "actors:start": {
1023
+ "actors:build": {
1024
+ "aliases": [],
1025
+ "args": {
1026
+ "actorId": {
1027
+ "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1028
+ "name": "actorId"
1029
+ }
1030
+ },
1031
+ "description": "Creates a new build of the Actor.",
1032
+ "flags": {
1033
+ "json": {
1034
+ "description": "Format output as json.",
1035
+ "helpGroup": "GLOBAL",
1036
+ "name": "json",
1037
+ "allowNo": false,
1038
+ "type": "boolean"
1039
+ },
1040
+ "tag": {
1041
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1042
+ "name": "tag",
1043
+ "hasDynamicHelp": false,
1044
+ "multiple": false,
1045
+ "type": "option"
1046
+ },
1047
+ "version": {
1048
+ "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.",
1049
+ "name": "version",
1050
+ "required": false,
1051
+ "hasDynamicHelp": false,
1052
+ "multiple": false,
1053
+ "type": "option"
1054
+ },
1055
+ "log": {
1056
+ "description": "Whether to print out the build log after the build is triggered.",
1057
+ "name": "log",
1058
+ "allowNo": false,
1059
+ "type": "boolean"
1060
+ }
1061
+ },
1062
+ "hasDynamicHelp": false,
1063
+ "hiddenAliases": [],
1064
+ "id": "actors:build",
1065
+ "pluginAlias": "apify-cli",
1066
+ "pluginName": "apify-cli",
1067
+ "pluginType": "core",
1068
+ "enableJsonFlag": true,
1069
+ "isESM": true,
1070
+ "relativePath": [
1071
+ "dist",
1072
+ "commands",
1073
+ "actors",
1074
+ "build.js"
1075
+ ]
1076
+ },
1077
+ "actors:call": {
1022
1078
  "aliases": [],
1023
1079
  "args": {
1024
1080
  "actorId": {
@@ -1027,7 +1083,7 @@
1027
1083
  "required": false
1028
1084
  }
1029
1085
  },
1030
- "description": "Starts Actor remotely and returns run details immediately.\nUses authenticated account and local key-value store for input.",
1086
+ "description": "Executes Actor remotely using your authenticated account.\nReads input from local key-value store by default.",
1031
1087
  "flags": {
1032
1088
  "json": {
1033
1089
  "description": "Format output as json.",
@@ -1088,66 +1144,25 @@
1088
1144
  "hasDynamicHelp": false,
1089
1145
  "multiple": false,
1090
1146
  "type": "option"
1091
- }
1092
- },
1093
- "hasDynamicHelp": false,
1094
- "hiddenAliases": [],
1095
- "id": "actors:start",
1096
- "pluginAlias": "apify-cli",
1097
- "pluginName": "apify-cli",
1098
- "pluginType": "core",
1099
- "strict": true,
1100
- "enableJsonFlag": true,
1101
- "isESM": true,
1102
- "relativePath": [
1103
- "dist",
1104
- "commands",
1105
- "actors",
1106
- "start.js"
1107
- ]
1108
- },
1109
- "builds:create": {
1110
- "aliases": [],
1111
- "args": {
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"
1115
- }
1116
- },
1117
- "description": "Creates a new build of the Actor.",
1118
- "flags": {
1119
- "json": {
1120
- "description": "Format output as json.",
1121
- "helpGroup": "GLOBAL",
1122
- "name": "json",
1147
+ },
1148
+ "silent": {
1149
+ "char": "s",
1150
+ "description": "Prevents printing the logs of the Actor run to the console.",
1151
+ "name": "silent",
1123
1152
  "allowNo": false,
1124
1153
  "type": "boolean"
1125
1154
  },
1126
- "tag": {
1127
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1128
- "name": "tag",
1129
- "hasDynamicHelp": false,
1130
- "multiple": false,
1131
- "type": "option"
1132
- },
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,
1137
- "hasDynamicHelp": false,
1138
- "multiple": false,
1139
- "type": "option"
1140
- },
1141
- "log": {
1142
- "description": "Whether to print out the build log after the build is triggered.",
1143
- "name": "log",
1155
+ "output-dataset": {
1156
+ "char": "o",
1157
+ "description": "Prints out the entire default dataset on successful run of the Actor.",
1158
+ "name": "output-dataset",
1144
1159
  "allowNo": false,
1145
1160
  "type": "boolean"
1146
1161
  }
1147
1162
  },
1148
1163
  "hasDynamicHelp": false,
1149
1164
  "hiddenAliases": [],
1150
- "id": "builds:create",
1165
+ "id": "actors:call",
1151
1166
  "pluginAlias": "apify-cli",
1152
1167
  "pluginName": "apify-cli",
1153
1168
  "pluginType": "core",
@@ -1157,18 +1172,18 @@
1157
1172
  "relativePath": [
1158
1173
  "dist",
1159
1174
  "commands",
1160
- "builds",
1161
- "create.js"
1175
+ "actors",
1176
+ "call.js"
1162
1177
  ]
1163
1178
  },
1164
- "builds": {
1179
+ "actors": {
1165
1180
  "aliases": [],
1166
1181
  "args": {},
1167
- "description": "Manages Actor build processes and versioning.",
1182
+ "description": "Manages Actor creation, deployment, and execution on the Apify platform.",
1168
1183
  "flags": {},
1169
1184
  "hasDynamicHelp": false,
1170
1185
  "hiddenAliases": [],
1171
- "id": "builds",
1186
+ "id": "actors",
1172
1187
  "pluginAlias": "apify-cli",
1173
1188
  "pluginName": "apify-cli",
1174
1189
  "pluginType": "core",
@@ -1177,20 +1192,20 @@
1177
1192
  "relativePath": [
1178
1193
  "dist",
1179
1194
  "commands",
1180
- "builds",
1195
+ "actors",
1181
1196
  "index.js"
1182
1197
  ]
1183
1198
  },
1184
- "builds:info": {
1199
+ "actors:info": {
1185
1200
  "aliases": [],
1186
1201
  "args": {
1187
- "buildId": {
1188
- "description": "The build ID to get information about.",
1189
- "name": "buildId",
1202
+ "actorId": {
1203
+ "description": "The ID of the Actor to return information about.",
1204
+ "name": "actorId",
1190
1205
  "required": true
1191
1206
  }
1192
1207
  },
1193
- "description": "Prints information about a specific build.",
1208
+ "description": "Get information about an Actor.",
1194
1209
  "flags": {
1195
1210
  "json": {
1196
1211
  "description": "Format output as json.",
@@ -1198,11 +1213,29 @@
1198
1213
  "name": "json",
1199
1214
  "allowNo": false,
1200
1215
  "type": "boolean"
1216
+ },
1217
+ "readme": {
1218
+ "description": "Return the Actor README.",
1219
+ "exclusive": [
1220
+ "input"
1221
+ ],
1222
+ "name": "readme",
1223
+ "allowNo": false,
1224
+ "type": "boolean"
1225
+ },
1226
+ "input": {
1227
+ "description": "Return the Actor input schema.",
1228
+ "exclusive": [
1229
+ "readme"
1230
+ ],
1231
+ "name": "input",
1232
+ "allowNo": false,
1233
+ "type": "boolean"
1201
1234
  }
1202
1235
  },
1203
1236
  "hasDynamicHelp": false,
1204
1237
  "hiddenAliases": [],
1205
- "id": "builds:info",
1238
+ "id": "actors:info",
1206
1239
  "pluginAlias": "apify-cli",
1207
1240
  "pluginName": "apify-cli",
1208
1241
  "pluginType": "core",
@@ -1212,45 +1245,14 @@
1212
1245
  "relativePath": [
1213
1246
  "dist",
1214
1247
  "commands",
1215
- "builds",
1216
- "info.js"
1217
- ]
1218
- },
1219
- "builds:log": {
1220
- "aliases": [],
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.",
1248
+ "actors",
1249
+ "info.js"
1250
+ ]
1251
+ },
1252
+ "actors:ls": {
1253
+ "aliases": [],
1254
+ "args": {},
1255
+ "description": "Prints a list of recently executed Actors or Actors you own.",
1254
1256
  "flags": {
1255
1257
  "json": {
1256
1258
  "description": "Format output as json.",
@@ -1259,8 +1261,14 @@
1259
1261
  "allowNo": false,
1260
1262
  "type": "boolean"
1261
1263
  },
1264
+ "my": {
1265
+ "description": "Whether to list Actors made by the logged in user.",
1266
+ "name": "my",
1267
+ "allowNo": false,
1268
+ "type": "boolean"
1269
+ },
1262
1270
  "offset": {
1263
- "description": "Number of builds that will be skipped.",
1271
+ "description": "Number of Actors that will be skipped.",
1264
1272
  "name": "offset",
1265
1273
  "default": 0,
1266
1274
  "hasDynamicHelp": false,
@@ -1268,30 +1276,23 @@
1268
1276
  "type": "option"
1269
1277
  },
1270
1278
  "limit": {
1271
- "description": "Number of builds that will be listed.",
1279
+ "description": "Number of Actors that will be listed.",
1272
1280
  "name": "limit",
1273
- "default": 10,
1281
+ "default": 20,
1274
1282
  "hasDynamicHelp": false,
1275
1283
  "multiple": false,
1276
1284
  "type": "option"
1277
1285
  },
1278
1286
  "desc": {
1279
- "description": "Sort builds in descending order.",
1287
+ "description": "Sort Actors in descending order.",
1280
1288
  "name": "desc",
1281
1289
  "allowNo": false,
1282
1290
  "type": "boolean"
1283
- },
1284
- "compact": {
1285
- "char": "c",
1286
- "description": "Display a compact table.",
1287
- "name": "compact",
1288
- "allowNo": false,
1289
- "type": "boolean"
1290
1291
  }
1291
1292
  },
1292
1293
  "hasDynamicHelp": false,
1293
1294
  "hiddenAliases": [],
1294
- "id": "builds:ls",
1295
+ "id": "actors:ls",
1295
1296
  "pluginAlias": "apify-cli",
1296
1297
  "pluginName": "apify-cli",
1297
1298
  "pluginType": "core",
@@ -1301,24 +1302,42 @@
1301
1302
  "relativePath": [
1302
1303
  "dist",
1303
1304
  "commands",
1304
- "builds",
1305
+ "actors",
1305
1306
  "ls.js"
1306
1307
  ]
1307
1308
  },
1308
- "builds:rm": {
1309
+ "actors:pull": {
1309
1310
  "aliases": [],
1310
1311
  "args": {
1311
- "buildId": {
1312
- "description": "The build ID to delete.",
1313
- "name": "buildId",
1314
- "required": true
1312
+ "actorId": {
1313
+ "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.",
1314
+ "name": "actorId",
1315
+ "required": false
1316
+ }
1317
+ },
1318
+ "description": "Download Actor code to current directory. Clones Git repositories or fetches Actor files based on the source type.",
1319
+ "flags": {
1320
+ "version": {
1321
+ "char": "v",
1322
+ "description": "Actor version number which will be pulled, e.g. 1.2. Default: the highest version",
1323
+ "name": "version",
1324
+ "required": false,
1325
+ "hasDynamicHelp": false,
1326
+ "multiple": false,
1327
+ "type": "option"
1328
+ },
1329
+ "dir": {
1330
+ "description": "Directory where the Actor should be pulled to",
1331
+ "name": "dir",
1332
+ "required": false,
1333
+ "hasDynamicHelp": false,
1334
+ "multiple": false,
1335
+ "type": "option"
1315
1336
  }
1316
1337
  },
1317
- "description": "Permanently removes an Actor build from the Apify platform.",
1318
- "flags": {},
1319
1338
  "hasDynamicHelp": false,
1320
1339
  "hiddenAliases": [],
1321
- "id": "builds:rm",
1340
+ "id": "actors:pull",
1322
1341
  "pluginAlias": "apify-cli",
1323
1342
  "pluginName": "apify-cli",
1324
1343
  "pluginType": "core",
@@ -1327,95 +1346,74 @@
1327
1346
  "relativePath": [
1328
1347
  "dist",
1329
1348
  "commands",
1330
- "builds",
1331
- "rm.js"
1349
+ "actors",
1350
+ "pull.js"
1332
1351
  ]
1333
1352
  },
1334
- "actor:charge": {
1353
+ "actors:push": {
1335
1354
  "aliases": [],
1336
1355
  "args": {
1337
- "eventName": {
1338
- "description": "Name of the event to charge for",
1339
- "name": "eventName",
1340
- "required": true
1356
+ "actorId": {
1357
+ "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.",
1358
+ "name": "actorId",
1359
+ "required": false
1341
1360
  }
1342
1361
  },
1343
- "description": "Charge for a specific event in the pay-per-event Actor run.",
1362
+ "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.",
1344
1363
  "flags": {
1345
- "count": {
1346
- "description": "Number of events to charge",
1347
- "name": "count",
1364
+ "version": {
1365
+ "char": "v",
1366
+ "description": "Actor version number to which the files should be pushed. By default, it is taken from the '.actor/actor.json' file.",
1367
+ "name": "version",
1348
1368
  "required": false,
1349
- "default": 1,
1350
1369
  "hasDynamicHelp": false,
1351
1370
  "multiple": false,
1352
1371
  "type": "option"
1353
1372
  },
1354
- "idempotency-key": {
1355
- "description": "Idempotency key for the charge request",
1356
- "name": "idempotency-key",
1373
+ "build-tag": {
1374
+ "char": "b",
1375
+ "description": "Build tag to be applied to the successful Actor build. By default, it is taken from the '.actor/actor.json' file",
1376
+ "name": "build-tag",
1357
1377
  "required": false,
1358
1378
  "hasDynamicHelp": false,
1359
1379
  "multiple": false,
1360
1380
  "type": "option"
1361
1381
  },
1362
- "test-pay-per-event": {
1363
- "description": "Test pay-per-event charging without actually charging",
1364
- "name": "test-pay-per-event",
1382
+ "wait-for-finish": {
1383
+ "char": "w",
1384
+ "description": "Seconds for waiting to build to finish, if no value passed, it waits forever.",
1385
+ "name": "wait-for-finish",
1386
+ "required": false,
1387
+ "hasDynamicHelp": false,
1388
+ "multiple": false,
1389
+ "type": "option"
1390
+ },
1391
+ "no-prompt": {
1392
+ "description": "Do not prompt for opening the Actor details in a browser. This will also not open the browser automatically.",
1393
+ "name": "no-prompt",
1365
1394
  "required": false,
1366
1395
  "allowNo": false,
1367
1396
  "type": "boolean"
1397
+ },
1398
+ "force": {
1399
+ "description": "Push an Actor even when the local files are older than the Actor on the platform.",
1400
+ "name": "force",
1401
+ "required": false,
1402
+ "allowNo": false,
1403
+ "type": "boolean"
1404
+ },
1405
+ "dir": {
1406
+ "description": "Directory where the Actor is located",
1407
+ "name": "dir",
1408
+ "required": false,
1409
+ "hasDynamicHelp": false,
1410
+ "multiple": false,
1411
+ "type": "option"
1368
1412
  }
1369
1413
  },
1370
1414
  "hasDynamicHelp": false,
1371
1415
  "hiddenAliases": [],
1372
- "id": "actor:charge",
1373
- "pluginAlias": "apify-cli",
1374
- "pluginName": "apify-cli",
1375
- "pluginType": "core",
1376
- "strict": true,
1377
- "isESM": true,
1378
- "relativePath": [
1379
- "dist",
1380
- "commands",
1381
- "actor",
1382
- "charge.js"
1383
- ]
1384
- },
1385
- "actor:get-input": {
1386
- "aliases": [],
1387
- "args": {},
1388
- "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
1389
- "flags": {},
1390
- "hasDynamicHelp": false,
1391
- "hiddenAliases": [],
1392
- "id": "actor:get-input",
1393
- "pluginAlias": "apify-cli",
1394
- "pluginName": "apify-cli",
1395
- "pluginType": "core",
1396
- "strict": true,
1397
- "isESM": true,
1398
- "relativePath": [
1399
- "dist",
1400
- "commands",
1401
- "actor",
1402
- "get-input.js"
1403
- ]
1404
- },
1405
- "actor:get-public-url": {
1406
- "aliases": [],
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.",
1415
- "flags": {},
1416
- "hasDynamicHelp": false,
1417
- "hiddenAliases": [],
1418
- "id": "actor:get-public-url",
1416
+ "id": "actors:push",
1419
1417
  "pluginAlias": "apify-cli",
1420
1418
  "pluginName": "apify-cli",
1421
1419
  "pluginType": "core",
@@ -1424,69 +1422,24 @@
1424
1422
  "relativePath": [
1425
1423
  "dist",
1426
1424
  "commands",
1427
- "actor",
1428
- "get-public-url.js"
1425
+ "actors",
1426
+ "push.js"
1429
1427
  ]
1430
1428
  },
1431
- "actor:get-value": {
1429
+ "actors:rm": {
1432
1430
  "aliases": [],
1433
1431
  "args": {
1434
- "key": {
1435
- "description": "Key of the record in key-value store",
1436
- "name": "key",
1432
+ "actorId": {
1433
+ "description": "The Actor ID to delete.",
1434
+ "name": "actorId",
1437
1435
  "required": true
1438
1436
  }
1439
1437
  },
1440
- "description": "Gets a value from the default key-value store associated with the Actor run.",
1441
- "flags": {},
1442
- "hasDynamicHelp": false,
1443
- "hiddenAliases": [],
1444
- "id": "actor:get-value",
1445
- "pluginAlias": "apify-cli",
1446
- "pluginName": "apify-cli",
1447
- "pluginType": "core",
1448
- "strict": true,
1449
- "isESM": true,
1450
- "relativePath": [
1451
- "dist",
1452
- "commands",
1453
- "actor",
1454
- "get-value.js"
1455
- ]
1456
- },
1457
- "actor": {
1458
- "aliases": [],
1459
- "args": {},
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"
1483
- }
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",
1438
+ "description": "Permanently removes an Actor from your account.",
1486
1439
  "flags": {},
1487
1440
  "hasDynamicHelp": false,
1488
1441
  "hiddenAliases": [],
1489
- "id": "actor:push-data",
1442
+ "id": "actors:rm",
1490
1443
  "pluginAlias": "apify-cli",
1491
1444
  "pluginName": "apify-cli",
1492
1445
  "pluginType": "core",
@@ -1495,30 +1448,76 @@
1495
1448
  "relativePath": [
1496
1449
  "dist",
1497
1450
  "commands",
1498
- "actor",
1499
- "push-data.js"
1451
+ "actors",
1452
+ "rm.js"
1500
1453
  ]
1501
1454
  },
1502
- "actor:set-value": {
1455
+ "actors:start": {
1503
1456
  "aliases": [],
1504
1457
  "args": {
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",
1458
+ "actorId": {
1459
+ "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.",
1460
+ "name": "actorId",
1513
1461
  "required": false
1514
1462
  }
1515
1463
  },
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",
1464
+ "description": "Starts Actor remotely and returns run details immediately.\nUses authenticated account and local key-value store for input.",
1517
1465
  "flags": {
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",
1466
+ "json": {
1467
+ "description": "Format output as json.",
1468
+ "helpGroup": "GLOBAL",
1469
+ "name": "json",
1470
+ "allowNo": false,
1471
+ "type": "boolean"
1472
+ },
1473
+ "build": {
1474
+ "char": "b",
1475
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1476
+ "name": "build",
1477
+ "required": false,
1478
+ "hasDynamicHelp": false,
1479
+ "multiple": false,
1480
+ "type": "option"
1481
+ },
1482
+ "timeout": {
1483
+ "char": "t",
1484
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1485
+ "name": "timeout",
1486
+ "required": false,
1487
+ "hasDynamicHelp": false,
1488
+ "multiple": false,
1489
+ "type": "option"
1490
+ },
1491
+ "memory": {
1492
+ "char": "m",
1493
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
1494
+ "name": "memory",
1495
+ "required": false,
1496
+ "hasDynamicHelp": false,
1497
+ "multiple": false,
1498
+ "type": "option"
1499
+ },
1500
+ "input": {
1501
+ "char": "i",
1502
+ "description": "Optional JSON input to be given to the Actor.",
1503
+ "exclusive": [
1504
+ "input-file"
1505
+ ],
1506
+ "name": "input",
1507
+ "required": false,
1508
+ "hasDynamicHelp": false,
1509
+ "multiple": false,
1510
+ "type": "option"
1511
+ },
1512
+ "input-file": {
1513
+ "aliases": [
1514
+ "if"
1515
+ ],
1516
+ "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.",
1517
+ "exclusive": [
1518
+ "input"
1519
+ ],
1520
+ "name": "input-file",
1522
1521
  "required": false,
1523
1522
  "hasDynamicHelp": false,
1524
1523
  "multiple": false,
@@ -1527,17 +1526,18 @@
1527
1526
  },
1528
1527
  "hasDynamicHelp": false,
1529
1528
  "hiddenAliases": [],
1530
- "id": "actor:set-value",
1529
+ "id": "actors:start",
1531
1530
  "pluginAlias": "apify-cli",
1532
1531
  "pluginName": "apify-cli",
1533
1532
  "pluginType": "core",
1534
1533
  "strict": true,
1534
+ "enableJsonFlag": true,
1535
1535
  "isESM": true,
1536
1536
  "relativePath": [
1537
1537
  "dist",
1538
1538
  "commands",
1539
- "actor",
1540
- "set-value.js"
1539
+ "actors",
1540
+ "start.js"
1541
1541
  ]
1542
1542
  },
1543
1543
  "datasets:create": {
@@ -1838,16 +1838,16 @@
1838
1838
  "rm.js"
1839
1839
  ]
1840
1840
  },
1841
- "runs:abort": {
1841
+ "key-value-stores:create": {
1842
1842
  "aliases": [],
1843
1843
  "args": {
1844
- "runId": {
1845
- "description": "The run ID to abort.",
1846
- "name": "runId",
1847
- "required": true
1844
+ "keyValueStoreName": {
1845
+ "description": "Optional name for the key-value store",
1846
+ "name": "keyValueStoreName",
1847
+ "required": false
1848
1848
  }
1849
1849
  },
1850
- "description": "Aborts an Actor run.",
1850
+ "description": "Creates a new key-value store on your account.",
1851
1851
  "flags": {
1852
1852
  "json": {
1853
1853
  "description": "Format output as json.",
@@ -1855,39 +1855,109 @@
1855
1855
  "name": "json",
1856
1856
  "allowNo": false,
1857
1857
  "type": "boolean"
1858
+ }
1859
+ },
1860
+ "hasDynamicHelp": false,
1861
+ "hiddenAliases": [
1862
+ "kvs:create"
1863
+ ],
1864
+ "id": "key-value-stores:create",
1865
+ "pluginAlias": "apify-cli",
1866
+ "pluginName": "apify-cli",
1867
+ "pluginType": "core",
1868
+ "strict": true,
1869
+ "enableJsonFlag": true,
1870
+ "isESM": true,
1871
+ "relativePath": [
1872
+ "dist",
1873
+ "commands",
1874
+ "key-value-stores",
1875
+ "create.js"
1876
+ ]
1877
+ },
1878
+ "key-value-stores:delete-value": {
1879
+ "aliases": [],
1880
+ "args": {
1881
+ "storeId": {
1882
+ "description": "The key-value store ID to delete the value from.",
1883
+ "name": "storeId",
1884
+ "required": true
1858
1885
  },
1859
- "force": {
1860
- "char": "f",
1861
- "description": "Whether to force the run to abort immediately, instead of gracefully.",
1862
- "name": "force",
1886
+ "itemKey": {
1887
+ "description": "The key of the item in the key-value store.",
1888
+ "name": "itemKey",
1889
+ "required": true
1890
+ }
1891
+ },
1892
+ "description": "Delete a value from a key-value store.",
1893
+ "flags": {},
1894
+ "hasDynamicHelp": false,
1895
+ "hiddenAliases": [
1896
+ "kvs:delete-value"
1897
+ ],
1898
+ "id": "key-value-stores:delete-value",
1899
+ "pluginAlias": "apify-cli",
1900
+ "pluginName": "apify-cli",
1901
+ "pluginType": "core",
1902
+ "strict": true,
1903
+ "isESM": true,
1904
+ "relativePath": [
1905
+ "dist",
1906
+ "commands",
1907
+ "key-value-stores",
1908
+ "delete-value.js"
1909
+ ]
1910
+ },
1911
+ "key-value-stores:get-value": {
1912
+ "aliases": [],
1913
+ "args": {
1914
+ "keyValueStoreId": {
1915
+ "description": "The key-value store ID to get the value from.",
1916
+ "name": "keyValueStoreId",
1917
+ "required": true
1918
+ },
1919
+ "itemKey": {
1920
+ "description": "The key of the item in the key-value store.",
1921
+ "name": "itemKey",
1922
+ "required": true
1923
+ }
1924
+ },
1925
+ "description": "Retrieves stored value for specified key. Use --only-content-type to check MIME type.",
1926
+ "flags": {
1927
+ "only-content-type": {
1928
+ "description": "Only return the content type of the specified key",
1929
+ "name": "only-content-type",
1863
1930
  "allowNo": false,
1864
1931
  "type": "boolean"
1865
1932
  }
1866
1933
  },
1867
1934
  "hasDynamicHelp": false,
1868
- "hiddenAliases": [],
1869
- "id": "runs:abort",
1935
+ "hiddenAliases": [
1936
+ "kvs:get-value"
1937
+ ],
1938
+ "id": "key-value-stores:get-value",
1870
1939
  "pluginAlias": "apify-cli",
1871
1940
  "pluginName": "apify-cli",
1872
1941
  "pluginType": "core",
1873
1942
  "strict": true,
1874
- "enableJsonFlag": true,
1875
1943
  "isESM": true,
1876
1944
  "relativePath": [
1877
1945
  "dist",
1878
1946
  "commands",
1879
- "runs",
1880
- "abort.js"
1947
+ "key-value-stores",
1948
+ "get-value.js"
1881
1949
  ]
1882
1950
  },
1883
- "runs": {
1951
+ "key-value-stores": {
1884
1952
  "aliases": [],
1885
1953
  "args": {},
1886
- "description": "Manages Actor run operations ",
1954
+ "description": "Manages persistent key-value storage.\n\nAlias: kvs",
1887
1955
  "flags": {},
1888
1956
  "hasDynamicHelp": false,
1889
- "hiddenAliases": [],
1890
- "id": "runs",
1957
+ "hiddenAliases": [
1958
+ "kvs"
1959
+ ],
1960
+ "id": "key-value-stores",
1891
1961
  "pluginAlias": "apify-cli",
1892
1962
  "pluginName": "apify-cli",
1893
1963
  "pluginType": "core",
@@ -1896,20 +1966,20 @@
1896
1966
  "relativePath": [
1897
1967
  "dist",
1898
1968
  "commands",
1899
- "runs",
1969
+ "key-value-stores",
1900
1970
  "index.js"
1901
1971
  ]
1902
1972
  },
1903
- "runs:info": {
1973
+ "key-value-stores:info": {
1904
1974
  "aliases": [],
1905
1975
  "args": {
1906
- "runId": {
1907
- "description": "The run ID to print information about.",
1908
- "name": "runId",
1976
+ "storeId": {
1977
+ "description": "The key-value store ID to print information about.",
1978
+ "name": "storeId",
1909
1979
  "required": true
1910
1980
  }
1911
1981
  },
1912
- "description": "Prints information about an Actor run.",
1982
+ "description": "Shows information about a key-value store.",
1913
1983
  "flags": {
1914
1984
  "json": {
1915
1985
  "description": "Format output as json.",
@@ -1917,18 +1987,13 @@
1917
1987
  "name": "json",
1918
1988
  "allowNo": false,
1919
1989
  "type": "boolean"
1920
- },
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"
1927
1990
  }
1928
1991
  },
1929
1992
  "hasDynamicHelp": false,
1930
- "hiddenAliases": [],
1931
- "id": "runs:info",
1993
+ "hiddenAliases": [
1994
+ "kvs:info"
1995
+ ],
1996
+ "id": "key-value-stores:info",
1932
1997
  "pluginAlias": "apify-cli",
1933
1998
  "pluginName": "apify-cli",
1934
1999
  "pluginType": "core",
@@ -1938,45 +2003,66 @@
1938
2003
  "relativePath": [
1939
2004
  "dist",
1940
2005
  "commands",
1941
- "runs",
2006
+ "key-value-stores",
1942
2007
  "info.js"
1943
2008
  ]
1944
2009
  },
1945
- "runs:log": {
2010
+ "key-value-stores:keys": {
1946
2011
  "aliases": [],
1947
2012
  "args": {
1948
- "runId": {
1949
- "description": "The run ID to get the log from.",
1950
- "name": "runId",
2013
+ "storeId": {
2014
+ "description": "The key-value store ID to list keys for.",
2015
+ "name": "storeId",
1951
2016
  "required": true
1952
2017
  }
1953
2018
  },
1954
- "description": "Prints the log of a specific run.",
1955
- "flags": {},
2019
+ "description": "Lists all keys in a key-value store.",
2020
+ "flags": {
2021
+ "json": {
2022
+ "description": "Format output as json.",
2023
+ "helpGroup": "GLOBAL",
2024
+ "name": "json",
2025
+ "allowNo": false,
2026
+ "type": "boolean"
2027
+ },
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"
2042
+ }
2043
+ },
1956
2044
  "hasDynamicHelp": false,
1957
- "hiddenAliases": [],
1958
- "id": "runs:log",
2045
+ "hiddenAliases": [
2046
+ "kvs:keys"
2047
+ ],
2048
+ "id": "key-value-stores:keys",
1959
2049
  "pluginAlias": "apify-cli",
1960
2050
  "pluginName": "apify-cli",
1961
2051
  "pluginType": "core",
1962
2052
  "strict": true,
2053
+ "enableJsonFlag": true,
1963
2054
  "isESM": true,
1964
2055
  "relativePath": [
1965
2056
  "dist",
1966
2057
  "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.",
2058
+ "key-value-stores",
2059
+ "keys.js"
2060
+ ]
2061
+ },
2062
+ "key-value-stores:ls": {
2063
+ "aliases": [],
2064
+ "args": {},
2065
+ "description": "Lists all key-value stores on your account.",
1980
2066
  "flags": {
1981
2067
  "json": {
1982
2068
  "description": "Format output as json.",
@@ -1986,7 +2072,7 @@
1986
2072
  "type": "boolean"
1987
2073
  },
1988
2074
  "offset": {
1989
- "description": "Number of runs that will be skipped.",
2075
+ "description": "Number of key-value stores that will be skipped.",
1990
2076
  "name": "offset",
1991
2077
  "default": 0,
1992
2078
  "hasDynamicHelp": false,
@@ -1994,30 +2080,31 @@
1994
2080
  "type": "option"
1995
2081
  },
1996
2082
  "limit": {
1997
- "description": "Number of runs that will be listed.",
2083
+ "description": "Number of key-value stores that will be listed.",
1998
2084
  "name": "limit",
1999
- "default": 10,
2085
+ "default": 20,
2000
2086
  "hasDynamicHelp": false,
2001
2087
  "multiple": false,
2002
2088
  "type": "option"
2003
2089
  },
2004
2090
  "desc": {
2005
- "description": "Sort runs in descending order.",
2091
+ "description": "Sorts key-value stores in descending order.",
2006
2092
  "name": "desc",
2007
2093
  "allowNo": false,
2008
2094
  "type": "boolean"
2009
2095
  },
2010
- "compact": {
2011
- "char": "c",
2012
- "description": "Display a compact table.",
2013
- "name": "compact",
2096
+ "unnamed": {
2097
+ "description": "Lists key-value stores that don't have a name set.",
2098
+ "name": "unnamed",
2014
2099
  "allowNo": false,
2015
2100
  "type": "boolean"
2016
2101
  }
2017
2102
  },
2018
2103
  "hasDynamicHelp": false,
2019
- "hiddenAliases": [],
2020
- "id": "runs:ls",
2104
+ "hiddenAliases": [
2105
+ "kvs:ls"
2106
+ ],
2107
+ "id": "key-value-stores:ls",
2021
2108
  "pluginAlias": "apify-cli",
2022
2109
  "pluginName": "apify-cli",
2023
2110
  "pluginType": "core",
@@ -2027,59 +2114,65 @@
2027
2114
  "relativePath": [
2028
2115
  "dist",
2029
2116
  "commands",
2030
- "runs",
2117
+ "key-value-stores",
2031
2118
  "ls.js"
2032
2119
  ]
2033
2120
  },
2034
- "runs:resurrect": {
2121
+ "key-value-stores:rename": {
2035
2122
  "aliases": [],
2036
2123
  "args": {
2037
- "runId": {
2038
- "description": "The run ID to resurrect.",
2039
- "name": "runId",
2124
+ "keyValueStoreNameOrId": {
2125
+ "description": "The key-value store ID or name to delete",
2126
+ "name": "keyValueStoreNameOrId",
2040
2127
  "required": true
2128
+ },
2129
+ "newName": {
2130
+ "description": "The new name for the key-value store",
2131
+ "name": "newName"
2041
2132
  }
2042
2133
  },
2043
- "description": "Resurrects an aborted or finished Actor Run.",
2134
+ "description": "Renames a key-value store, or removes its unique name.",
2044
2135
  "flags": {
2045
- "json": {
2046
- "description": "Format output as json.",
2047
- "helpGroup": "GLOBAL",
2048
- "name": "json",
2136
+ "unname": {
2137
+ "description": "Removes the unique name of the key-value store",
2138
+ "name": "unname",
2049
2139
  "allowNo": false,
2050
2140
  "type": "boolean"
2051
2141
  }
2052
2142
  },
2053
2143
  "hasDynamicHelp": false,
2054
- "hiddenAliases": [],
2055
- "id": "runs:resurrect",
2144
+ "hiddenAliases": [
2145
+ "kvs:rename"
2146
+ ],
2147
+ "id": "key-value-stores:rename",
2056
2148
  "pluginAlias": "apify-cli",
2057
2149
  "pluginName": "apify-cli",
2058
2150
  "pluginType": "core",
2059
2151
  "strict": true,
2060
- "enableJsonFlag": true,
2061
2152
  "isESM": true,
2062
2153
  "relativePath": [
2063
2154
  "dist",
2064
2155
  "commands",
2065
- "runs",
2066
- "resurrect.js"
2156
+ "key-value-stores",
2157
+ "rename.js"
2067
2158
  ]
2068
2159
  },
2069
- "runs:rm": {
2160
+ "key-value-stores:rm": {
2070
2161
  "aliases": [],
2071
2162
  "args": {
2072
- "runId": {
2073
- "description": "The run ID to delete.",
2074
- "name": "runId",
2163
+ "keyValueStoreNameOrId": {
2164
+ "description": "The key-value store ID or name to delete",
2165
+ "name": "keyValueStoreNameOrId",
2075
2166
  "required": true
2076
2167
  }
2077
2168
  },
2078
- "description": "Deletes an Actor Run.",
2169
+ "description": "Permanently removes a key-value store.",
2079
2170
  "flags": {},
2080
2171
  "hasDynamicHelp": false,
2081
- "hiddenAliases": [],
2082
- "id": "runs:rm",
2172
+ "hiddenAliases": [
2173
+ "kvs:rm"
2174
+ ],
2175
+ "id": "key-value-stores:rm",
2083
2176
  "pluginAlias": "apify-cli",
2084
2177
  "pluginName": "apify-cli",
2085
2178
  "pluginType": "core",
@@ -2088,75 +2181,44 @@
2088
2181
  "relativePath": [
2089
2182
  "dist",
2090
2183
  "commands",
2091
- "runs",
2184
+ "key-value-stores",
2092
2185
  "rm.js"
2093
2186
  ]
2094
2187
  },
2095
- "secrets:add": {
2188
+ "key-value-stores:set-value": {
2096
2189
  "aliases": [],
2097
2190
  "args": {
2098
- "name": {
2099
- "description": "Name of the secret",
2100
- "name": "name",
2191
+ "storeId": {
2192
+ "description": "The key-value store ID to set the value in.",
2193
+ "name": "storeId",
2101
2194
  "required": true
2102
2195
  },
2103
- "value": {
2104
- "description": "Value of the secret",
2105
- "name": "value",
2196
+ "itemKey": {
2197
+ "description": "The key of the item in the key-value store.",
2198
+ "name": "itemKey",
2106
2199
  "required": true
2200
+ },
2201
+ "value": {
2202
+ "description": "The value to set.",
2203
+ "name": "value"
2107
2204
  }
2108
2205
  },
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
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"
2153
2215
  }
2154
2216
  },
2155
- "description": "Permanently deletes a secret from your stored credentials.",
2156
- "flags": {},
2157
2217
  "hasDynamicHelp": false,
2158
- "hiddenAliases": [],
2159
- "id": "secrets:rm",
2218
+ "hiddenAliases": [
2219
+ "kvs:set-value"
2220
+ ],
2221
+ "id": "key-value-stores:set-value",
2160
2222
  "pluginAlias": "apify-cli",
2161
2223
  "pluginName": "apify-cli",
2162
2224
  "pluginType": "core",
@@ -2165,8 +2227,8 @@
2165
2227
  "relativePath": [
2166
2228
  "dist",
2167
2229
  "commands",
2168
- "secrets",
2169
- "rm.js"
2230
+ "key-value-stores",
2231
+ "set-value.js"
2170
2232
  ]
2171
2233
  },
2172
2234
  "request-queues": {
@@ -2189,16 +2251,16 @@
2189
2251
  "index.js"
2190
2252
  ]
2191
2253
  },
2192
- "key-value-stores:create": {
2254
+ "runs:abort": {
2193
2255
  "aliases": [],
2194
2256
  "args": {
2195
- "keyValueStoreName": {
2196
- "description": "Optional name for the key-value store",
2197
- "name": "keyValueStoreName",
2198
- "required": false
2257
+ "runId": {
2258
+ "description": "The run ID to abort.",
2259
+ "name": "runId",
2260
+ "required": true
2199
2261
  }
2200
2262
  },
2201
- "description": "Creates a new key-value store on your account.",
2263
+ "description": "Aborts an Actor run.",
2202
2264
  "flags": {
2203
2265
  "json": {
2204
2266
  "description": "Format output as json.",
@@ -2206,109 +2268,39 @@
2206
2268
  "name": "json",
2207
2269
  "allowNo": false,
2208
2270
  "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
2236
- },
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
2271
  },
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",
2272
+ "force": {
2273
+ "char": "f",
2274
+ "description": "Whether to force the run to abort immediately, instead of gracefully.",
2275
+ "name": "force",
2281
2276
  "allowNo": false,
2282
2277
  "type": "boolean"
2283
2278
  }
2284
2279
  },
2285
2280
  "hasDynamicHelp": false,
2286
- "hiddenAliases": [
2287
- "kvs:get-value"
2288
- ],
2289
- "id": "key-value-stores:get-value",
2281
+ "hiddenAliases": [],
2282
+ "id": "runs:abort",
2290
2283
  "pluginAlias": "apify-cli",
2291
2284
  "pluginName": "apify-cli",
2292
2285
  "pluginType": "core",
2293
2286
  "strict": true,
2287
+ "enableJsonFlag": true,
2294
2288
  "isESM": true,
2295
2289
  "relativePath": [
2296
2290
  "dist",
2297
2291
  "commands",
2298
- "key-value-stores",
2299
- "get-value.js"
2292
+ "runs",
2293
+ "abort.js"
2300
2294
  ]
2301
2295
  },
2302
- "key-value-stores": {
2296
+ "runs": {
2303
2297
  "aliases": [],
2304
2298
  "args": {},
2305
- "description": "Manages persistent key-value storage.\n\nAlias: kvs",
2299
+ "description": "Manages Actor run operations ",
2306
2300
  "flags": {},
2307
2301
  "hasDynamicHelp": false,
2308
- "hiddenAliases": [
2309
- "kvs"
2310
- ],
2311
- "id": "key-value-stores",
2302
+ "hiddenAliases": [],
2303
+ "id": "runs",
2312
2304
  "pluginAlias": "apify-cli",
2313
2305
  "pluginName": "apify-cli",
2314
2306
  "pluginType": "core",
@@ -2317,20 +2309,20 @@
2317
2309
  "relativePath": [
2318
2310
  "dist",
2319
2311
  "commands",
2320
- "key-value-stores",
2312
+ "runs",
2321
2313
  "index.js"
2322
2314
  ]
2323
2315
  },
2324
- "key-value-stores:info": {
2316
+ "runs:info": {
2325
2317
  "aliases": [],
2326
2318
  "args": {
2327
- "storeId": {
2328
- "description": "The key-value store ID to print information about.",
2329
- "name": "storeId",
2319
+ "runId": {
2320
+ "description": "The run ID to print information about.",
2321
+ "name": "runId",
2330
2322
  "required": true
2331
2323
  }
2332
2324
  },
2333
- "description": "Shows information about a key-value store.",
2325
+ "description": "Prints information about an Actor run.",
2334
2326
  "flags": {
2335
2327
  "json": {
2336
2328
  "description": "Format output as json.",
@@ -2338,13 +2330,18 @@
2338
2330
  "name": "json",
2339
2331
  "allowNo": false,
2340
2332
  "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"
2341
2340
  }
2342
2341
  },
2343
2342
  "hasDynamicHelp": false,
2344
- "hiddenAliases": [
2345
- "kvs:info"
2346
- ],
2347
- "id": "key-value-stores:info",
2343
+ "hiddenAliases": [],
2344
+ "id": "runs:info",
2348
2345
  "pluginAlias": "apify-cli",
2349
2346
  "pluginName": "apify-cli",
2350
2347
  "pluginType": "core",
@@ -2354,66 +2351,45 @@
2354
2351
  "relativePath": [
2355
2352
  "dist",
2356
2353
  "commands",
2357
- "key-value-stores",
2354
+ "runs",
2358
2355
  "info.js"
2359
2356
  ]
2360
2357
  },
2361
- "key-value-stores:keys": {
2358
+ "runs:log": {
2362
2359
  "aliases": [],
2363
2360
  "args": {
2364
- "storeId": {
2365
- "description": "The key-value store ID to list keys for.",
2366
- "name": "storeId",
2361
+ "runId": {
2362
+ "description": "The run ID to get the log from.",
2363
+ "name": "runId",
2367
2364
  "required": true
2368
2365
  }
2369
2366
  },
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
- },
2367
+ "description": "Prints the log of a specific run.",
2368
+ "flags": {},
2395
2369
  "hasDynamicHelp": false,
2396
- "hiddenAliases": [
2397
- "kvs:keys"
2398
- ],
2399
- "id": "key-value-stores:keys",
2370
+ "hiddenAliases": [],
2371
+ "id": "runs:log",
2400
2372
  "pluginAlias": "apify-cli",
2401
2373
  "pluginName": "apify-cli",
2402
2374
  "pluginType": "core",
2403
2375
  "strict": true,
2404
- "enableJsonFlag": true,
2405
2376
  "isESM": true,
2406
2377
  "relativePath": [
2407
2378
  "dist",
2408
2379
  "commands",
2409
- "key-value-stores",
2410
- "keys.js"
2380
+ "runs",
2381
+ "log.js"
2411
2382
  ]
2412
2383
  },
2413
- "key-value-stores:ls": {
2384
+ "runs:ls": {
2414
2385
  "aliases": [],
2415
- "args": {},
2416
- "description": "Lists all key-value stores on your account.",
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.",
2417
2393
  "flags": {
2418
2394
  "json": {
2419
2395
  "description": "Format output as json.",
@@ -2423,7 +2399,7 @@
2423
2399
  "type": "boolean"
2424
2400
  },
2425
2401
  "offset": {
2426
- "description": "Number of key-value stores that will be skipped.",
2402
+ "description": "Number of runs that will be skipped.",
2427
2403
  "name": "offset",
2428
2404
  "default": 0,
2429
2405
  "hasDynamicHelp": false,
@@ -2431,31 +2407,30 @@
2431
2407
  "type": "option"
2432
2408
  },
2433
2409
  "limit": {
2434
- "description": "Number of key-value stores that will be listed.",
2410
+ "description": "Number of runs that will be listed.",
2435
2411
  "name": "limit",
2436
- "default": 20,
2412
+ "default": 10,
2437
2413
  "hasDynamicHelp": false,
2438
2414
  "multiple": false,
2439
2415
  "type": "option"
2440
2416
  },
2441
2417
  "desc": {
2442
- "description": "Sorts key-value stores in descending order.",
2418
+ "description": "Sort runs in descending order.",
2443
2419
  "name": "desc",
2444
2420
  "allowNo": false,
2445
2421
  "type": "boolean"
2446
2422
  },
2447
- "unnamed": {
2448
- "description": "Lists key-value stores that don't have a name set.",
2449
- "name": "unnamed",
2423
+ "compact": {
2424
+ "char": "c",
2425
+ "description": "Display a compact table.",
2426
+ "name": "compact",
2450
2427
  "allowNo": false,
2451
2428
  "type": "boolean"
2452
2429
  }
2453
2430
  },
2454
2431
  "hasDynamicHelp": false,
2455
- "hiddenAliases": [
2456
- "kvs:ls"
2457
- ],
2458
- "id": "key-value-stores:ls",
2432
+ "hiddenAliases": [],
2433
+ "id": "runs:ls",
2459
2434
  "pluginAlias": "apify-cli",
2460
2435
  "pluginName": "apify-cli",
2461
2436
  "pluginType": "core",
@@ -2465,65 +2440,59 @@
2465
2440
  "relativePath": [
2466
2441
  "dist",
2467
2442
  "commands",
2468
- "key-value-stores",
2443
+ "runs",
2469
2444
  "ls.js"
2470
2445
  ]
2471
2446
  },
2472
- "key-value-stores:rename": {
2447
+ "runs:resurrect": {
2473
2448
  "aliases": [],
2474
2449
  "args": {
2475
- "keyValueStoreNameOrId": {
2476
- "description": "The key-value store ID or name to delete",
2477
- "name": "keyValueStoreNameOrId",
2450
+ "runId": {
2451
+ "description": "The run ID to resurrect.",
2452
+ "name": "runId",
2478
2453
  "required": true
2479
- },
2480
- "newName": {
2481
- "description": "The new name for the key-value store",
2482
- "name": "newName"
2483
2454
  }
2484
2455
  },
2485
- "description": "Renames a key-value store, or removes its unique name.",
2456
+ "description": "Resurrects an aborted or finished Actor Run.",
2486
2457
  "flags": {
2487
- "unname": {
2488
- "description": "Removes the unique name of the key-value store",
2489
- "name": "unname",
2458
+ "json": {
2459
+ "description": "Format output as json.",
2460
+ "helpGroup": "GLOBAL",
2461
+ "name": "json",
2490
2462
  "allowNo": false,
2491
2463
  "type": "boolean"
2492
2464
  }
2493
2465
  },
2494
2466
  "hasDynamicHelp": false,
2495
- "hiddenAliases": [
2496
- "kvs:rename"
2497
- ],
2498
- "id": "key-value-stores:rename",
2467
+ "hiddenAliases": [],
2468
+ "id": "runs:resurrect",
2499
2469
  "pluginAlias": "apify-cli",
2500
2470
  "pluginName": "apify-cli",
2501
2471
  "pluginType": "core",
2502
2472
  "strict": true,
2473
+ "enableJsonFlag": true,
2503
2474
  "isESM": true,
2504
2475
  "relativePath": [
2505
2476
  "dist",
2506
2477
  "commands",
2507
- "key-value-stores",
2508
- "rename.js"
2478
+ "runs",
2479
+ "resurrect.js"
2509
2480
  ]
2510
2481
  },
2511
- "key-value-stores:rm": {
2482
+ "runs:rm": {
2512
2483
  "aliases": [],
2513
2484
  "args": {
2514
- "keyValueStoreNameOrId": {
2515
- "description": "The key-value store ID or name to delete",
2516
- "name": "keyValueStoreNameOrId",
2485
+ "runId": {
2486
+ "description": "The run ID to delete.",
2487
+ "name": "runId",
2517
2488
  "required": true
2518
2489
  }
2519
2490
  },
2520
- "description": "Permanently removes a key-value store.",
2491
+ "description": "Deletes an Actor Run.",
2521
2492
  "flags": {},
2522
2493
  "hasDynamicHelp": false,
2523
- "hiddenAliases": [
2524
- "kvs:rm"
2525
- ],
2526
- "id": "key-value-stores:rm",
2494
+ "hiddenAliases": [],
2495
+ "id": "runs:rm",
2527
2496
  "pluginAlias": "apify-cli",
2528
2497
  "pluginName": "apify-cli",
2529
2498
  "pluginType": "core",
@@ -2532,44 +2501,75 @@
2532
2501
  "relativePath": [
2533
2502
  "dist",
2534
2503
  "commands",
2535
- "key-value-stores",
2504
+ "runs",
2536
2505
  "rm.js"
2537
2506
  ]
2538
2507
  },
2539
- "key-value-stores:set-value": {
2508
+ "secrets:add": {
2540
2509
  "aliases": [],
2541
2510
  "args": {
2542
- "storeId": {
2543
- "description": "The key-value store ID to set the value in.",
2544
- "name": "storeId",
2545
- "required": true
2546
- },
2547
- "itemKey": {
2548
- "description": "The key of the item in the key-value store.",
2549
- "name": "itemKey",
2511
+ "name": {
2512
+ "description": "Name of the secret",
2513
+ "name": "name",
2550
2514
  "required": true
2551
2515
  },
2552
2516
  "value": {
2553
- "description": "The value to set.",
2554
- "name": "value"
2517
+ "description": "Value of the secret",
2518
+ "name": "value",
2519
+ "required": true
2555
2520
  }
2556
2521
  },
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"
2522
+ "description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
2523
+ "flags": {},
2524
+ "hasDynamicHelp": false,
2525
+ "hiddenAliases": [],
2526
+ "id": "secrets:add",
2527
+ "pluginAlias": "apify-cli",
2528
+ "pluginName": "apify-cli",
2529
+ "pluginType": "core",
2530
+ "strict": true,
2531
+ "isESM": true,
2532
+ "relativePath": [
2533
+ "dist",
2534
+ "commands",
2535
+ "secrets",
2536
+ "add.js"
2537
+ ]
2538
+ },
2539
+ "secrets": {
2540
+ "aliases": [],
2541
+ "args": {},
2542
+ "description": "Manages secure environment variables for Actors.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nThe \"mySecret\" value can be used in an environment variable defined in '.actor/actor.json' file by adding the \"@\"\nprefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\"\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable\nof the Actor.",
2543
+ "flags": {},
2544
+ "hasDynamicHelp": false,
2545
+ "hiddenAliases": [],
2546
+ "id": "secrets",
2547
+ "pluginAlias": "apify-cli",
2548
+ "pluginName": "apify-cli",
2549
+ "pluginType": "core",
2550
+ "strict": true,
2551
+ "isESM": true,
2552
+ "relativePath": [
2553
+ "dist",
2554
+ "commands",
2555
+ "secrets",
2556
+ "index.js"
2557
+ ]
2558
+ },
2559
+ "secrets:rm": {
2560
+ "aliases": [],
2561
+ "args": {
2562
+ "name": {
2563
+ "description": "Name of the secret",
2564
+ "name": "name",
2565
+ "required": true
2566
2566
  }
2567
2567
  },
2568
+ "description": "Permanently deletes a secret from your stored credentials.",
2569
+ "flags": {},
2568
2570
  "hasDynamicHelp": false,
2569
- "hiddenAliases": [
2570
- "kvs:set-value"
2571
- ],
2572
- "id": "key-value-stores:set-value",
2571
+ "hiddenAliases": [],
2572
+ "id": "secrets:rm",
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
- "key-value-stores",
2582
- "set-value.js"
2581
+ "secrets",
2582
+ "rm.js"
2583
2583
  ]
2584
2584
  },
2585
2585
  "task": {
@@ -2657,5 +2657,5 @@
2657
2657
  ]
2658
2658
  }
2659
2659
  },
2660
- "version": "0.21.2"
2660
+ "version": "0.21.3-beta.0"
2661
2661
  }