apify-cli 0.21.0-beta.9 → 0.21.0-beta.91

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.
Files changed (268) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/README.md +631 -74
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/commands/actor/get-input.js +1 -6
  5. package/dist/commands/actor/get-input.js.map +1 -1
  6. package/dist/commands/actor/get-value.js +7 -17
  7. package/dist/commands/actor/get-value.js.map +1 -1
  8. package/dist/commands/actor/index.js +1 -6
  9. package/dist/commands/actor/index.js.map +1 -1
  10. package/dist/commands/actor/push-data.d.ts.map +1 -1
  11. package/dist/commands/actor/push-data.js +20 -24
  12. package/dist/commands/actor/push-data.js.map +1 -1
  13. package/dist/commands/actor/set-value.js +27 -50
  14. package/dist/commands/actor/set-value.js.map +1 -1
  15. package/dist/commands/actors/build.d.ts +4 -0
  16. package/dist/commands/actors/build.d.ts.map +1 -0
  17. package/dist/commands/actors/build.js +4 -0
  18. package/dist/commands/actors/build.js.map +1 -0
  19. package/dist/commands/actors/call.d.ts +30 -0
  20. package/dist/commands/actors/call.d.ts.map +1 -0
  21. package/dist/commands/actors/call.js +221 -0
  22. package/dist/commands/actors/call.js.map +1 -0
  23. package/dist/commands/actors/index.js +1 -6
  24. package/dist/commands/actors/index.js.map +1 -1
  25. package/dist/commands/actors/info.d.ts +22 -0
  26. package/dist/commands/actors/info.d.ts.map +1 -0
  27. package/dist/commands/actors/info.js +201 -0
  28. package/dist/commands/actors/info.js.map +1 -0
  29. package/dist/commands/actors/ls.d.ts +15 -0
  30. package/dist/commands/actors/ls.d.ts.map +1 -0
  31. package/dist/commands/actors/ls.js +224 -0
  32. package/dist/commands/actors/ls.js.map +1 -0
  33. package/dist/commands/actors/pull.d.ts +13 -0
  34. package/dist/commands/actors/pull.d.ts.map +1 -0
  35. package/dist/commands/actors/pull.js +151 -0
  36. package/dist/commands/actors/pull.js.map +1 -0
  37. package/dist/commands/actors/push.d.ts +18 -0
  38. package/dist/commands/actors/push.d.ts.map +1 -0
  39. package/dist/commands/actors/push.js +306 -0
  40. package/dist/commands/actors/push.js.map +1 -0
  41. package/dist/commands/actors/rm.js +7 -17
  42. package/dist/commands/actors/rm.js.map +1 -1
  43. package/dist/commands/actors/start.d.ts +18 -0
  44. package/dist/commands/actors/start.d.ts.map +1 -0
  45. package/dist/commands/actors/start.js +124 -0
  46. package/dist/commands/actors/start.js.map +1 -0
  47. package/dist/commands/builds/create.d.ts +3 -1
  48. package/dist/commands/builds/create.d.ts.map +1 -1
  49. package/dist/commands/builds/create.js +35 -37
  50. package/dist/commands/builds/create.js.map +1 -1
  51. package/dist/commands/builds/index.js +1 -6
  52. package/dist/commands/builds/index.js.map +1 -1
  53. package/dist/commands/builds/info.js +11 -26
  54. package/dist/commands/builds/info.js.map +1 -1
  55. package/dist/commands/builds/log.d.ts.map +1 -1
  56. package/dist/commands/builds/log.js +12 -19
  57. package/dist/commands/builds/log.js.map +1 -1
  58. package/dist/commands/builds/ls.d.ts +3 -1
  59. package/dist/commands/builds/ls.d.ts.map +1 -1
  60. package/dist/commands/builds/ls.js +40 -45
  61. package/dist/commands/builds/ls.js.map +1 -1
  62. package/dist/commands/builds/rm.d.ts.map +1 -1
  63. package/dist/commands/builds/rm.js +11 -19
  64. package/dist/commands/builds/rm.js.map +1 -1
  65. package/dist/commands/call.d.ts +2 -18
  66. package/dist/commands/call.d.ts.map +1 -1
  67. package/dist/commands/call.js +2 -181
  68. package/dist/commands/call.js.map +1 -1
  69. package/dist/commands/check-version.js +8 -28
  70. package/dist/commands/check-version.js.map +1 -1
  71. package/dist/commands/create.js +29 -44
  72. package/dist/commands/create.js.map +1 -1
  73. package/dist/commands/datasets/create.d.ts +10 -0
  74. package/dist/commands/datasets/create.d.ts.map +1 -0
  75. package/dist/commands/datasets/create.js +37 -0
  76. package/dist/commands/datasets/create.js.map +1 -0
  77. package/dist/commands/datasets/get-items.d.ts +17 -0
  78. package/dist/commands/datasets/get-items.d.ts.map +1 -0
  79. package/dist/commands/datasets/get-items.js +85 -0
  80. package/dist/commands/datasets/get-items.js.map +1 -0
  81. package/dist/commands/datasets/index.js +1 -6
  82. package/dist/commands/datasets/index.js.map +1 -1
  83. package/dist/commands/datasets/info.d.ts +29 -0
  84. package/dist/commands/datasets/info.d.ts.map +1 -0
  85. package/dist/commands/datasets/info.js +124 -0
  86. package/dist/commands/datasets/info.js.map +1 -0
  87. package/dist/commands/datasets/ls.d.ts +13 -0
  88. package/dist/commands/datasets/ls.d.ts.map +1 -0
  89. package/dist/commands/datasets/ls.js +72 -0
  90. package/dist/commands/datasets/ls.js.map +1 -0
  91. package/dist/commands/datasets/push-items.d.ts +10 -0
  92. package/dist/commands/datasets/push-items.d.ts.map +1 -0
  93. package/dist/commands/datasets/push-items.js +69 -0
  94. package/dist/commands/datasets/push-items.js.map +1 -0
  95. package/dist/commands/datasets/rename.d.ts +13 -0
  96. package/dist/commands/datasets/rename.d.ts.map +1 -0
  97. package/dist/commands/datasets/rename.js +69 -0
  98. package/dist/commands/datasets/rename.js.map +1 -0
  99. package/dist/commands/datasets/rm.d.ts +9 -0
  100. package/dist/commands/datasets/rm.d.ts.map +1 -0
  101. package/dist/commands/datasets/rm.js +47 -0
  102. package/dist/commands/datasets/rm.js.map +1 -0
  103. package/dist/commands/edit-input-schema.js +9 -29
  104. package/dist/commands/edit-input-schema.js.map +1 -1
  105. package/dist/commands/info.js +2 -7
  106. package/dist/commands/info.js.map +1 -1
  107. package/dist/commands/init-wrap-scrapy.js +9 -24
  108. package/dist/commands/init-wrap-scrapy.js.map +1 -1
  109. package/dist/commands/init.js +19 -34
  110. package/dist/commands/init.js.map +1 -1
  111. package/dist/commands/key-value-stores/create.d.ts +11 -0
  112. package/dist/commands/key-value-stores/create.d.ts.map +1 -0
  113. package/dist/commands/key-value-stores/create.js +38 -0
  114. package/dist/commands/key-value-stores/create.js.map +1 -0
  115. package/dist/commands/key-value-stores/delete-value.d.ts +11 -0
  116. package/dist/commands/key-value-stores/delete-value.d.ts.map +1 -0
  117. package/dist/commands/key-value-stores/delete-value.js +61 -0
  118. package/dist/commands/key-value-stores/delete-value.js.map +1 -0
  119. package/dist/commands/key-value-stores/get-value.d.ts +14 -0
  120. package/dist/commands/key-value-stores/get-value.d.ts.map +1 -0
  121. package/dist/commands/key-value-stores/get-value.js +69 -0
  122. package/dist/commands/key-value-stores/get-value.js.map +1 -0
  123. package/dist/commands/key-value-stores/index.d.ts +1 -0
  124. package/dist/commands/key-value-stores/index.d.ts.map +1 -1
  125. package/dist/commands/key-value-stores/index.js +2 -6
  126. package/dist/commands/key-value-stores/index.js.map +1 -1
  127. package/dist/commands/key-value-stores/info.d.ts +27 -0
  128. package/dist/commands/key-value-stores/info.d.ts.map +1 -0
  129. package/dist/commands/key-value-stores/info.js +127 -0
  130. package/dist/commands/key-value-stores/info.js.map +1 -0
  131. package/dist/commands/key-value-stores/keys.d.ts +15 -0
  132. package/dist/commands/key-value-stores/keys.d.ts.map +1 -0
  133. package/dist/commands/key-value-stores/keys.js +60 -0
  134. package/dist/commands/key-value-stores/keys.js.map +1 -0
  135. package/dist/commands/key-value-stores/ls.d.ts +14 -0
  136. package/dist/commands/key-value-stores/ls.d.ts.map +1 -0
  137. package/dist/commands/key-value-stores/ls.js +71 -0
  138. package/dist/commands/key-value-stores/ls.js.map +1 -0
  139. package/dist/commands/key-value-stores/rename.d.ts +14 -0
  140. package/dist/commands/key-value-stores/rename.d.ts.map +1 -0
  141. package/dist/commands/key-value-stores/rename.js +70 -0
  142. package/dist/commands/key-value-stores/rename.js.map +1 -0
  143. package/dist/commands/key-value-stores/rm.d.ts +10 -0
  144. package/dist/commands/key-value-stores/rm.d.ts.map +1 -0
  145. package/dist/commands/key-value-stores/rm.js +48 -0
  146. package/dist/commands/key-value-stores/rm.js.map +1 -0
  147. package/dist/commands/key-value-stores/set-value.d.ts +15 -0
  148. package/dist/commands/key-value-stores/set-value.d.ts.map +1 -0
  149. package/dist/commands/key-value-stores/set-value.js +59 -0
  150. package/dist/commands/key-value-stores/set-value.js.map +1 -0
  151. package/dist/commands/login.js +16 -26
  152. package/dist/commands/login.js.map +1 -1
  153. package/dist/commands/logout.js +2 -7
  154. package/dist/commands/logout.js.map +1 -1
  155. package/dist/commands/pull.d.ts +2 -10
  156. package/dist/commands/pull.d.ts.map +1 -1
  157. package/dist/commands/pull.js +2 -160
  158. package/dist/commands/pull.js.map +1 -1
  159. package/dist/commands/push.d.ts +2 -16
  160. package/dist/commands/push.d.ts.map +1 -1
  161. package/dist/commands/push.js +2 -323
  162. package/dist/commands/push.js.map +1 -1
  163. package/dist/commands/request-queues/index.js +1 -6
  164. package/dist/commands/request-queues/index.js.map +1 -1
  165. package/dist/commands/run.d.ts.map +1 -1
  166. package/dist/commands/run.js +67 -62
  167. package/dist/commands/run.js.map +1 -1
  168. package/dist/commands/runs/abort.d.ts.map +1 -1
  169. package/dist/commands/runs/abort.js +21 -39
  170. package/dist/commands/runs/abort.js.map +1 -1
  171. package/dist/commands/runs/index.js +1 -6
  172. package/dist/commands/runs/index.js.map +1 -1
  173. package/dist/commands/runs/info.d.ts +2 -0
  174. package/dist/commands/runs/info.d.ts.map +1 -1
  175. package/dist/commands/runs/info.js +21 -41
  176. package/dist/commands/runs/info.js.map +1 -1
  177. package/dist/commands/runs/log.js +9 -19
  178. package/dist/commands/runs/log.js.map +1 -1
  179. package/dist/commands/runs/ls.d.ts +3 -1
  180. package/dist/commands/runs/ls.d.ts.map +1 -1
  181. package/dist/commands/runs/ls.js +36 -49
  182. package/dist/commands/runs/ls.js.map +1 -1
  183. package/dist/commands/runs/resurrect.d.ts.map +1 -1
  184. package/dist/commands/runs/resurrect.js +12 -25
  185. package/dist/commands/runs/resurrect.js.map +1 -1
  186. package/dist/commands/runs/rm.js +7 -17
  187. package/dist/commands/runs/rm.js.map +1 -1
  188. package/dist/commands/secrets/add.js +7 -17
  189. package/dist/commands/secrets/add.js.map +1 -1
  190. package/dist/commands/secrets/index.js +6 -11
  191. package/dist/commands/secrets/index.js.map +1 -1
  192. package/dist/commands/secrets/rm.js +7 -17
  193. package/dist/commands/secrets/rm.js.map +1 -1
  194. package/dist/commands/task/index.js +1 -6
  195. package/dist/commands/task/index.js.map +1 -1
  196. package/dist/commands/task/run.d.ts +0 -1
  197. package/dist/commands/task/run.d.ts.map +1 -1
  198. package/dist/commands/task/run.js +30 -30
  199. package/dist/commands/task/run.js.map +1 -1
  200. package/dist/commands/validate-schema.js +17 -32
  201. package/dist/commands/validate-schema.js.map +1 -1
  202. package/dist/lib/apify_command.d.ts.map +1 -1
  203. package/dist/lib/apify_command.js +3 -21
  204. package/dist/lib/apify_command.js.map +1 -1
  205. package/dist/lib/commands/confirm.d.ts +2 -2
  206. package/dist/lib/commands/confirm.d.ts.map +1 -1
  207. package/dist/lib/commands/confirm.js +1 -1
  208. package/dist/lib/commands/confirm.js.map +1 -1
  209. package/dist/lib/commands/pretty-print-bytes.d.ts +6 -1
  210. package/dist/lib/commands/pretty-print-bytes.d.ts.map +1 -1
  211. package/dist/lib/commands/pretty-print-bytes.js +6 -5
  212. package/dist/lib/commands/pretty-print-bytes.js.map +1 -1
  213. package/dist/lib/commands/read-stdin.d.ts +1 -1
  214. package/dist/lib/commands/read-stdin.d.ts.map +1 -1
  215. package/dist/lib/commands/read-stdin.js +13 -1
  216. package/dist/lib/commands/read-stdin.js.map +1 -1
  217. package/dist/lib/commands/resolve-input.js +1 -1
  218. package/dist/lib/commands/resolve-input.js.map +1 -1
  219. package/dist/lib/commands/responsive-table.d.ts +45 -6
  220. package/dist/lib/commands/responsive-table.d.ts.map +1 -1
  221. package/dist/lib/commands/responsive-table.js +89 -18
  222. package/dist/lib/commands/responsive-table.js.map +1 -1
  223. package/dist/lib/commands/run-on-cloud.d.ts +3 -2
  224. package/dist/lib/commands/run-on-cloud.d.ts.map +1 -1
  225. package/dist/lib/commands/run-on-cloud.js +42 -18
  226. package/dist/lib/commands/run-on-cloud.js.map +1 -1
  227. package/dist/lib/commands/storage-size.d.ts +6 -0
  228. package/dist/lib/commands/storage-size.d.ts.map +1 -0
  229. package/dist/lib/commands/storage-size.js +8 -0
  230. package/dist/lib/commands/storage-size.js.map +1 -0
  231. package/dist/lib/commands/storages.d.ts +10 -0
  232. package/dist/lib/commands/storages.d.ts.map +1 -0
  233. package/dist/lib/commands/storages.js +30 -0
  234. package/dist/lib/commands/storages.js.map +1 -0
  235. package/dist/lib/consts.d.ts.map +1 -1
  236. package/dist/lib/consts.js +11 -1
  237. package/dist/lib/consts.js.map +1 -1
  238. package/dist/lib/create-utils.d.ts +1 -1
  239. package/dist/lib/create-utils.d.ts.map +1 -1
  240. package/dist/lib/create-utils.js +1 -2
  241. package/dist/lib/create-utils.js.map +1 -1
  242. package/dist/lib/exec.d.ts.map +1 -1
  243. package/dist/lib/exec.js +3 -1
  244. package/dist/lib/exec.js.map +1 -1
  245. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +1 -1
  246. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.js +8 -22
  247. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.js.map +1 -1
  248. package/dist/lib/projects/scrapy/Spider.js +4 -24
  249. package/dist/lib/projects/scrapy/Spider.js.map +1 -1
  250. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.js +1 -6
  251. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.js.map +1 -1
  252. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +1 -1
  253. package/dist/lib/projects/scrapy/wrapScrapyProject.js +3 -2
  254. package/dist/lib/projects/scrapy/wrapScrapyProject.js.map +1 -1
  255. package/dist/lib/telemetry.d.ts.map +1 -1
  256. package/dist/lib/telemetry.js +1 -0
  257. package/dist/lib/telemetry.js.map +1 -1
  258. package/dist/lib/utils.d.ts +4 -2
  259. package/dist/lib/utils.d.ts.map +1 -1
  260. package/dist/lib/utils.js +3 -2
  261. package/dist/lib/utils.js.map +1 -1
  262. package/dist/lib/version_check.d.ts +1 -1
  263. package/dist/lib/version_check.d.ts.map +1 -1
  264. package/dist/lib/version_check.js +6 -0
  265. package/dist/lib/version_check.js.map +1 -1
  266. package/dist/typechecking.tsbuildinfo +1 -1
  267. package/oclif.manifest.json +1315 -203
  268. package/package.json +21 -20
@@ -11,6 +11,13 @@
11
11
  },
12
12
  "description": "Runs a specific Actor remotely on the Apify cloud platform.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
13
13
  "flags": {
14
+ "json": {
15
+ "description": "Format output as json.",
16
+ "helpGroup": "GLOBAL",
17
+ "name": "json",
18
+ "allowNo": false,
19
+ "type": "boolean"
20
+ },
14
21
  "build": {
15
22
  "char": "b",
16
23
  "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
@@ -38,15 +45,6 @@
38
45
  "multiple": false,
39
46
  "type": "option"
40
47
  },
41
- "wait-for-finish": {
42
- "char": "w",
43
- "description": "Seconds for waiting to run to finish, if no value passed, it waits forever.",
44
- "name": "wait-for-finish",
45
- "required": false,
46
- "hasDynamicHelp": false,
47
- "multiple": false,
48
- "type": "option"
49
- },
50
48
  "input": {
51
49
  "char": "i",
52
50
  "description": "Optional JSON input to be given to the Actor.",
@@ -94,7 +92,7 @@
94
92
  "pluginAlias": "apify-cli",
95
93
  "pluginName": "apify-cli",
96
94
  "pluginType": "core",
97
- "strict": true,
95
+ "enableJsonFlag": true,
98
96
  "isESM": true,
99
97
  "relativePath": [
100
98
  "dist",
@@ -381,6 +379,14 @@
381
379
  "hasDynamicHelp": false,
382
380
  "multiple": false,
383
381
  "type": "option"
382
+ },
383
+ "dir": {
384
+ "description": "Directory where the Actor should be pulled to",
385
+ "name": "dir",
386
+ "required": false,
387
+ "hasDynamicHelp": false,
388
+ "multiple": false,
389
+ "type": "option"
384
390
  }
385
391
  },
386
392
  "hasDynamicHelp": false,
@@ -389,7 +395,6 @@
389
395
  "pluginAlias": "apify-cli",
390
396
  "pluginName": "apify-cli",
391
397
  "pluginType": "core",
392
- "strict": true,
393
398
  "isESM": true,
394
399
  "relativePath": [
395
400
  "dist",
@@ -408,15 +413,6 @@
408
413
  },
409
414
  "description": "Uploads the Actor to the Apify platform and builds it there.\nThe Actor settings are read from the \".actor/actor.json\" file in the current directory, but they can be overridden using command-line options.\nNOTE: If the source files are smaller than 3 MB then they are uploaded as \n\"Multiple source files\", otherwise they are uploaded as \"Zip file\".\n\nWhen there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be overwritten with --force flag.",
410
415
  "flags": {
411
- "version-number": {
412
- "deprecated": true,
413
- "description": "DEPRECATED: Use flag version instead. Actor version number to which the files should be pushed. By default, it is taken from the \".actor/actor.json\" file.",
414
- "name": "version-number",
415
- "required": false,
416
- "hasDynamicHelp": false,
417
- "multiple": false,
418
- "type": "option"
419
- },
420
416
  "version": {
421
417
  "char": "v",
422
418
  "description": "Actor version number to which the files should be pushed. By default, it is taken from the \".actor/actor.json\" file.",
@@ -457,6 +453,14 @@
457
453
  "required": false,
458
454
  "allowNo": false,
459
455
  "type": "boolean"
456
+ },
457
+ "dir": {
458
+ "description": "Directory where the Actor is located",
459
+ "name": "dir",
460
+ "required": false,
461
+ "hasDynamicHelp": false,
462
+ "multiple": false,
463
+ "type": "option"
460
464
  }
461
465
  },
462
466
  "hasDynamicHelp": false,
@@ -465,7 +469,6 @@
465
469
  "pluginAlias": "apify-cli",
466
470
  "pluginName": "apify-cli",
467
471
  "pluginType": "core",
468
- "strict": true,
469
472
  "isESM": true,
470
473
  "relativePath": [
471
474
  "dist",
@@ -654,8 +657,7 @@
654
657
  "args": {
655
658
  "item": {
656
659
  "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
657
- "name": "item",
658
- "required": false
660
+ "name": "item"
659
661
  }
660
662
  },
661
663
  "description": "Stores an object or an array of objects to the default dataset of the Actor run.\nIt is possible to pass data using item argument or stdin.\nPassing data using argument:\n$ apify actor push-data {\"foo\": \"bar\"}\nPassing data using stdin with pipe:\n$ cat ./test.json | apify actor push-data\n",
@@ -716,56 +718,70 @@
716
718
  "set-value.js"
717
719
  ]
718
720
  },
719
- "actors": {
721
+ "actors:build": {
720
722
  "aliases": [],
721
- "args": {},
722
- "description": "Commands are designed to be used with Actors.",
723
- "flags": {},
723
+ "args": {
724
+ "actorId": {
725
+ "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
726
+ "name": "actorId"
727
+ }
728
+ },
729
+ "description": "Creates a new build of the Actor.",
730
+ "flags": {
731
+ "json": {
732
+ "description": "Format output as json.",
733
+ "helpGroup": "GLOBAL",
734
+ "name": "json",
735
+ "allowNo": false,
736
+ "type": "boolean"
737
+ },
738
+ "tag": {
739
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
740
+ "name": "tag",
741
+ "hasDynamicHelp": false,
742
+ "multiple": false,
743
+ "type": "option"
744
+ },
745
+ "version": {
746
+ "description": "Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is required when multiple versions have the same tag.",
747
+ "name": "version",
748
+ "required": false,
749
+ "hasDynamicHelp": false,
750
+ "multiple": false,
751
+ "type": "option"
752
+ },
753
+ "log": {
754
+ "description": "Whether to print out the build log after the build is triggered.",
755
+ "name": "log",
756
+ "allowNo": false,
757
+ "type": "boolean"
758
+ }
759
+ },
724
760
  "hasDynamicHelp": false,
725
761
  "hiddenAliases": [],
726
- "id": "actors",
762
+ "id": "actors:build",
727
763
  "pluginAlias": "apify-cli",
728
764
  "pluginName": "apify-cli",
729
765
  "pluginType": "core",
730
- "strict": true,
766
+ "enableJsonFlag": true,
731
767
  "isESM": true,
732
768
  "relativePath": [
733
769
  "dist",
734
770
  "commands",
735
771
  "actors",
736
- "index.js"
772
+ "build.js"
737
773
  ]
738
774
  },
739
- "actors:rm": {
775
+ "actors:call": {
740
776
  "aliases": [],
741
777
  "args": {
742
778
  "actorId": {
743
- "description": "The Actor ID to delete.",
779
+ "description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
744
780
  "name": "actorId",
745
- "required": true
781
+ "required": false
746
782
  }
747
783
  },
748
- "description": "Deletes an Actor.",
749
- "flags": {},
750
- "hasDynamicHelp": false,
751
- "hiddenAliases": [],
752
- "id": "actors:rm",
753
- "pluginAlias": "apify-cli",
754
- "pluginName": "apify-cli",
755
- "pluginType": "core",
756
- "strict": true,
757
- "isESM": true,
758
- "relativePath": [
759
- "dist",
760
- "commands",
761
- "actors",
762
- "rm.js"
763
- ]
764
- },
765
- "builds:create": {
766
- "aliases": [],
767
- "args": {},
768
- "description": "Creates a new build of the Actor.",
784
+ "description": "Runs a specific Actor remotely on the Apify cloud platform.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
769
785
  "flags": {
770
786
  "json": {
771
787
  "description": "Format output as json.",
@@ -774,38 +790,77 @@
774
790
  "allowNo": false,
775
791
  "type": "boolean"
776
792
  },
777
- "actor": {
778
- "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
779
- "name": "actor",
793
+ "build": {
794
+ "char": "b",
795
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
796
+ "name": "build",
797
+ "required": false,
780
798
  "hasDynamicHelp": false,
781
799
  "multiple": false,
782
800
  "type": "option"
783
801
  },
784
- "tag": {
785
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
786
- "name": "tag",
802
+ "timeout": {
803
+ "char": "t",
804
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
805
+ "name": "timeout",
806
+ "required": false,
787
807
  "hasDynamicHelp": false,
788
808
  "multiple": false,
789
809
  "type": "option"
790
810
  },
791
- "version": {
792
- "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.",
793
- "name": "version",
811
+ "memory": {
812
+ "char": "m",
813
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
814
+ "name": "memory",
794
815
  "required": false,
795
816
  "hasDynamicHelp": false,
796
817
  "multiple": false,
797
818
  "type": "option"
798
819
  },
799
- "log": {
800
- "description": "Whether to print out the build log after the build is triggered.",
801
- "name": "log",
820
+ "input": {
821
+ "char": "i",
822
+ "description": "Optional JSON input to be given to the Actor.",
823
+ "exclusive": [
824
+ "input-file"
825
+ ],
826
+ "name": "input",
827
+ "required": false,
828
+ "hasDynamicHelp": false,
829
+ "multiple": false,
830
+ "type": "option"
831
+ },
832
+ "input-file": {
833
+ "aliases": [
834
+ "if"
835
+ ],
836
+ "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
837
+ "exclusive": [
838
+ "input"
839
+ ],
840
+ "name": "input-file",
841
+ "required": false,
842
+ "hasDynamicHelp": false,
843
+ "multiple": false,
844
+ "type": "option"
845
+ },
846
+ "silent": {
847
+ "char": "s",
848
+ "description": "Prevents printing the logs of the Actor run to the console.",
849
+ "name": "silent",
850
+ "allowNo": false,
851
+ "type": "boolean"
852
+ },
853
+ "output-dataset": {
854
+ "char": "o",
855
+ "description": "Prints out the entire default dataset on successful run of the Actor.",
856
+ "name": "output-dataset",
802
857
  "allowNo": false,
803
858
  "type": "boolean"
804
859
  }
805
860
  },
806
861
  "hasDynamicHelp": false,
807
862
  "hiddenAliases": [],
808
- "id": "builds:create",
863
+ "id": "actors:call",
809
864
  "pluginAlias": "apify-cli",
810
865
  "pluginName": "apify-cli",
811
866
  "pluginType": "core",
@@ -815,18 +870,18 @@
815
870
  "relativePath": [
816
871
  "dist",
817
872
  "commands",
818
- "builds",
819
- "create.js"
873
+ "actors",
874
+ "call.js"
820
875
  ]
821
876
  },
822
- "builds": {
877
+ "actors": {
823
878
  "aliases": [],
824
879
  "args": {},
825
- "description": "Commands are designed to be used with Actor Builds.",
880
+ "description": "Commands are designed to be used with Actors.",
826
881
  "flags": {},
827
882
  "hasDynamicHelp": false,
828
883
  "hiddenAliases": [],
829
- "id": "builds",
884
+ "id": "actors",
830
885
  "pluginAlias": "apify-cli",
831
886
  "pluginName": "apify-cli",
832
887
  "pluginType": "core",
@@ -835,20 +890,20 @@
835
890
  "relativePath": [
836
891
  "dist",
837
892
  "commands",
838
- "builds",
893
+ "actors",
839
894
  "index.js"
840
895
  ]
841
896
  },
842
- "builds:info": {
897
+ "actors:info": {
843
898
  "aliases": [],
844
899
  "args": {
845
- "buildId": {
846
- "description": "The build ID to get information about.",
847
- "name": "buildId",
900
+ "actorId": {
901
+ "description": "The ID of the Actor to return information about.",
902
+ "name": "actorId",
848
903
  "required": true
849
904
  }
850
905
  },
851
- "description": "Prints information about a specific build.",
906
+ "description": "Get information about an Actor.",
852
907
  "flags": {
853
908
  "json": {
854
909
  "description": "Format output as json.",
@@ -856,11 +911,29 @@
856
911
  "name": "json",
857
912
  "allowNo": false,
858
913
  "type": "boolean"
914
+ },
915
+ "readme": {
916
+ "description": "Return the Actor README.",
917
+ "exclusive": [
918
+ "input"
919
+ ],
920
+ "name": "readme",
921
+ "allowNo": false,
922
+ "type": "boolean"
923
+ },
924
+ "input": {
925
+ "description": "Return the Actor input schema.",
926
+ "exclusive": [
927
+ "readme"
928
+ ],
929
+ "name": "input",
930
+ "allowNo": false,
931
+ "type": "boolean"
859
932
  }
860
933
  },
861
934
  "hasDynamicHelp": false,
862
935
  "hiddenAliases": [],
863
- "id": "builds:info",
936
+ "id": "actors:info",
864
937
  "pluginAlias": "apify-cli",
865
938
  "pluginName": "apify-cli",
866
939
  "pluginType": "core",
@@ -870,40 +943,14 @@
870
943
  "relativePath": [
871
944
  "dist",
872
945
  "commands",
873
- "builds",
946
+ "actors",
874
947
  "info.js"
875
948
  ]
876
949
  },
877
- "builds:log": {
878
- "aliases": [],
879
- "args": {
880
- "buildId": {
881
- "description": "The build ID to get the log from.",
882
- "name": "buildId",
883
- "required": true
884
- }
885
- },
886
- "description": "Prints the log of a specific build.",
887
- "flags": {},
888
- "hasDynamicHelp": false,
889
- "hiddenAliases": [],
890
- "id": "builds:log",
891
- "pluginAlias": "apify-cli",
892
- "pluginName": "apify-cli",
893
- "pluginType": "core",
894
- "strict": true,
895
- "isESM": true,
896
- "relativePath": [
897
- "dist",
898
- "commands",
899
- "builds",
900
- "log.js"
901
- ]
902
- },
903
- "builds:ls": {
950
+ "actors:ls": {
904
951
  "aliases": [],
905
952
  "args": {},
906
- "description": "Lists all builds of the Actor.",
953
+ "description": "Lists all recently ran Actors or your own Actors.",
907
954
  "flags": {
908
955
  "json": {
909
956
  "description": "Format output as json.",
@@ -912,15 +959,14 @@
912
959
  "allowNo": false,
913
960
  "type": "boolean"
914
961
  },
915
- "actor": {
916
- "description": "Optional Actor ID or Name to list builds for. By default, it will use the Actor from the current directory.",
917
- "name": "actor",
918
- "hasDynamicHelp": false,
919
- "multiple": false,
920
- "type": "option"
962
+ "my": {
963
+ "description": "Whether to list Actors made by the logged in user.",
964
+ "name": "my",
965
+ "allowNo": false,
966
+ "type": "boolean"
921
967
  },
922
968
  "offset": {
923
- "description": "Number of builds that will be skipped.",
969
+ "description": "Number of Actors that will be skipped.",
924
970
  "name": "offset",
925
971
  "default": 0,
926
972
  "hasDynamicHelp": false,
@@ -928,30 +974,23 @@
928
974
  "type": "option"
929
975
  },
930
976
  "limit": {
931
- "description": "Number of builds that will be listed.",
977
+ "description": "Number of Actors that will be listed.",
932
978
  "name": "limit",
933
- "default": 10,
979
+ "default": 20,
934
980
  "hasDynamicHelp": false,
935
981
  "multiple": false,
936
982
  "type": "option"
937
983
  },
938
984
  "desc": {
939
- "description": "Sort builds in descending order.",
985
+ "description": "Sort Actors in descending order.",
940
986
  "name": "desc",
941
987
  "allowNo": false,
942
988
  "type": "boolean"
943
- },
944
- "compact": {
945
- "char": "c",
946
- "description": "Display a compact table.",
947
- "name": "compact",
948
- "allowNo": false,
949
- "type": "boolean"
950
989
  }
951
990
  },
952
991
  "hasDynamicHelp": false,
953
992
  "hiddenAliases": [],
954
- "id": "builds:ls",
993
+ "id": "actors:ls",
955
994
  "pluginAlias": "apify-cli",
956
995
  "pluginName": "apify-cli",
957
996
  "pluginType": "core",
@@ -961,24 +1000,692 @@
961
1000
  "relativePath": [
962
1001
  "dist",
963
1002
  "commands",
964
- "builds",
1003
+ "actors",
965
1004
  "ls.js"
966
1005
  ]
967
1006
  },
968
- "builds:rm": {
1007
+ "actors:pull": {
969
1008
  "aliases": [],
970
1009
  "args": {
971
- "buildId": {
972
- "description": "The build ID to delete.",
973
- "name": "buildId",
974
- "required": true
975
- }
1010
+ "actorId": {
1011
+ "description": "Name or ID of the Actor to run (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command will update the Actor in the current directory based on its name in \".actor/actor.json\" file.",
1012
+ "name": "actorId",
1013
+ "required": false
1014
+ }
1015
+ },
1016
+ "description": "Pulls an Actor from the Apify platform to the current directory. If it is defined as Git repository, it will be cloned. If it is defined as Web IDE, it will fetch the files.",
1017
+ "flags": {
1018
+ "version": {
1019
+ "char": "v",
1020
+ "description": "Actor version number which will be pulled, e.g. 1.2. Default: the highest version",
1021
+ "name": "version",
1022
+ "required": false,
1023
+ "hasDynamicHelp": false,
1024
+ "multiple": false,
1025
+ "type": "option"
1026
+ },
1027
+ "dir": {
1028
+ "description": "Directory where the Actor should be pulled to",
1029
+ "name": "dir",
1030
+ "required": false,
1031
+ "hasDynamicHelp": false,
1032
+ "multiple": false,
1033
+ "type": "option"
1034
+ }
1035
+ },
1036
+ "hasDynamicHelp": false,
1037
+ "hiddenAliases": [],
1038
+ "id": "actors:pull",
1039
+ "pluginAlias": "apify-cli",
1040
+ "pluginName": "apify-cli",
1041
+ "pluginType": "core",
1042
+ "strict": true,
1043
+ "isESM": true,
1044
+ "relativePath": [
1045
+ "dist",
1046
+ "commands",
1047
+ "actors",
1048
+ "pull.js"
1049
+ ]
1050
+ },
1051
+ "actors:push": {
1052
+ "aliases": [],
1053
+ "args": {
1054
+ "actorId": {
1055
+ "description": "Name or ID of the Actor to push (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command will create or modify the Actor with the name specified in \".actor/actor.json\" file.",
1056
+ "name": "actorId",
1057
+ "required": false
1058
+ }
1059
+ },
1060
+ "description": "Uploads the Actor to the Apify platform and builds it there.\nThe Actor settings are read from the \".actor/actor.json\" file in the current directory, but they can be overridden using command-line options.\nNOTE: If the source files are smaller than 3 MB then they are uploaded as \n\"Multiple source files\", otherwise they are uploaded as \"Zip file\".\n\nWhen there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be overwritten with --force flag.",
1061
+ "flags": {
1062
+ "version": {
1063
+ "char": "v",
1064
+ "description": "Actor version number to which the files should be pushed. By default, it is taken from the \".actor/actor.json\" file.",
1065
+ "name": "version",
1066
+ "required": false,
1067
+ "hasDynamicHelp": false,
1068
+ "multiple": false,
1069
+ "type": "option"
1070
+ },
1071
+ "build-tag": {
1072
+ "char": "b",
1073
+ "description": "Build tag to be applied to the successful Actor build. By default, it is taken from the \".actor/actor.json\" file",
1074
+ "name": "build-tag",
1075
+ "required": false,
1076
+ "hasDynamicHelp": false,
1077
+ "multiple": false,
1078
+ "type": "option"
1079
+ },
1080
+ "wait-for-finish": {
1081
+ "char": "w",
1082
+ "description": "Seconds for waiting to build to finish, if no value passed, it waits forever.",
1083
+ "name": "wait-for-finish",
1084
+ "required": false,
1085
+ "hasDynamicHelp": false,
1086
+ "multiple": false,
1087
+ "type": "option"
1088
+ },
1089
+ "no-prompt": {
1090
+ "description": "Do not prompt for opening the Actor details in a browser. This will also not open the browser automatically.",
1091
+ "name": "no-prompt",
1092
+ "required": false,
1093
+ "allowNo": false,
1094
+ "type": "boolean"
1095
+ },
1096
+ "force": {
1097
+ "description": "Push an Actor even when the local files are older than the Actor on the platform.",
1098
+ "name": "force",
1099
+ "required": false,
1100
+ "allowNo": false,
1101
+ "type": "boolean"
1102
+ },
1103
+ "dir": {
1104
+ "description": "Directory where the Actor is located",
1105
+ "name": "dir",
1106
+ "required": false,
1107
+ "hasDynamicHelp": false,
1108
+ "multiple": false,
1109
+ "type": "option"
1110
+ }
1111
+ },
1112
+ "hasDynamicHelp": false,
1113
+ "hiddenAliases": [],
1114
+ "id": "actors:push",
1115
+ "pluginAlias": "apify-cli",
1116
+ "pluginName": "apify-cli",
1117
+ "pluginType": "core",
1118
+ "strict": true,
1119
+ "isESM": true,
1120
+ "relativePath": [
1121
+ "dist",
1122
+ "commands",
1123
+ "actors",
1124
+ "push.js"
1125
+ ]
1126
+ },
1127
+ "actors:rm": {
1128
+ "aliases": [],
1129
+ "args": {
1130
+ "actorId": {
1131
+ "description": "The Actor ID to delete.",
1132
+ "name": "actorId",
1133
+ "required": true
1134
+ }
1135
+ },
1136
+ "description": "Deletes an Actor.",
1137
+ "flags": {},
1138
+ "hasDynamicHelp": false,
1139
+ "hiddenAliases": [],
1140
+ "id": "actors:rm",
1141
+ "pluginAlias": "apify-cli",
1142
+ "pluginName": "apify-cli",
1143
+ "pluginType": "core",
1144
+ "strict": true,
1145
+ "isESM": true,
1146
+ "relativePath": [
1147
+ "dist",
1148
+ "commands",
1149
+ "actors",
1150
+ "rm.js"
1151
+ ]
1152
+ },
1153
+ "actors:start": {
1154
+ "aliases": [],
1155
+ "args": {
1156
+ "actorId": {
1157
+ "description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
1158
+ "name": "actorId",
1159
+ "required": false
1160
+ }
1161
+ },
1162
+ "description": "Runs a specific Actor remotely on the Apify cloud platform and immediately returns information about the run.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
1163
+ "flags": {
1164
+ "json": {
1165
+ "description": "Format output as json.",
1166
+ "helpGroup": "GLOBAL",
1167
+ "name": "json",
1168
+ "allowNo": false,
1169
+ "type": "boolean"
1170
+ },
1171
+ "build": {
1172
+ "char": "b",
1173
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1174
+ "name": "build",
1175
+ "required": false,
1176
+ "hasDynamicHelp": false,
1177
+ "multiple": false,
1178
+ "type": "option"
1179
+ },
1180
+ "timeout": {
1181
+ "char": "t",
1182
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1183
+ "name": "timeout",
1184
+ "required": false,
1185
+ "hasDynamicHelp": false,
1186
+ "multiple": false,
1187
+ "type": "option"
1188
+ },
1189
+ "memory": {
1190
+ "char": "m",
1191
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
1192
+ "name": "memory",
1193
+ "required": false,
1194
+ "hasDynamicHelp": false,
1195
+ "multiple": false,
1196
+ "type": "option"
1197
+ },
1198
+ "input": {
1199
+ "char": "i",
1200
+ "description": "Optional JSON input to be given to the Actor.",
1201
+ "exclusive": [
1202
+ "input-file"
1203
+ ],
1204
+ "name": "input",
1205
+ "required": false,
1206
+ "hasDynamicHelp": false,
1207
+ "multiple": false,
1208
+ "type": "option"
1209
+ },
1210
+ "input-file": {
1211
+ "aliases": [
1212
+ "if"
1213
+ ],
1214
+ "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
1215
+ "exclusive": [
1216
+ "input"
1217
+ ],
1218
+ "name": "input-file",
1219
+ "required": false,
1220
+ "hasDynamicHelp": false,
1221
+ "multiple": false,
1222
+ "type": "option"
1223
+ }
1224
+ },
1225
+ "hasDynamicHelp": false,
1226
+ "hiddenAliases": [],
1227
+ "id": "actors:start",
1228
+ "pluginAlias": "apify-cli",
1229
+ "pluginName": "apify-cli",
1230
+ "pluginType": "core",
1231
+ "strict": true,
1232
+ "enableJsonFlag": true,
1233
+ "isESM": true,
1234
+ "relativePath": [
1235
+ "dist",
1236
+ "commands",
1237
+ "actors",
1238
+ "start.js"
1239
+ ]
1240
+ },
1241
+ "builds:create": {
1242
+ "aliases": [],
1243
+ "args": {
1244
+ "actorId": {
1245
+ "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1246
+ "name": "actorId"
1247
+ }
1248
+ },
1249
+ "description": "Creates a new build of the Actor.",
1250
+ "flags": {
1251
+ "json": {
1252
+ "description": "Format output as json.",
1253
+ "helpGroup": "GLOBAL",
1254
+ "name": "json",
1255
+ "allowNo": false,
1256
+ "type": "boolean"
1257
+ },
1258
+ "tag": {
1259
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1260
+ "name": "tag",
1261
+ "hasDynamicHelp": false,
1262
+ "multiple": false,
1263
+ "type": "option"
1264
+ },
1265
+ "version": {
1266
+ "description": "Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is required when multiple versions have the same tag.",
1267
+ "name": "version",
1268
+ "required": false,
1269
+ "hasDynamicHelp": false,
1270
+ "multiple": false,
1271
+ "type": "option"
1272
+ },
1273
+ "log": {
1274
+ "description": "Whether to print out the build log after the build is triggered.",
1275
+ "name": "log",
1276
+ "allowNo": false,
1277
+ "type": "boolean"
1278
+ }
1279
+ },
1280
+ "hasDynamicHelp": false,
1281
+ "hiddenAliases": [],
1282
+ "id": "builds:create",
1283
+ "pluginAlias": "apify-cli",
1284
+ "pluginName": "apify-cli",
1285
+ "pluginType": "core",
1286
+ "strict": true,
1287
+ "enableJsonFlag": true,
1288
+ "isESM": true,
1289
+ "relativePath": [
1290
+ "dist",
1291
+ "commands",
1292
+ "builds",
1293
+ "create.js"
1294
+ ]
1295
+ },
1296
+ "builds": {
1297
+ "aliases": [],
1298
+ "args": {},
1299
+ "description": "Commands are designed to be used with Actor Builds.",
1300
+ "flags": {},
1301
+ "hasDynamicHelp": false,
1302
+ "hiddenAliases": [],
1303
+ "id": "builds",
1304
+ "pluginAlias": "apify-cli",
1305
+ "pluginName": "apify-cli",
1306
+ "pluginType": "core",
1307
+ "strict": true,
1308
+ "isESM": true,
1309
+ "relativePath": [
1310
+ "dist",
1311
+ "commands",
1312
+ "builds",
1313
+ "index.js"
1314
+ ]
1315
+ },
1316
+ "builds:info": {
1317
+ "aliases": [],
1318
+ "args": {
1319
+ "buildId": {
1320
+ "description": "The build ID to get information about.",
1321
+ "name": "buildId",
1322
+ "required": true
1323
+ }
1324
+ },
1325
+ "description": "Prints information about a specific build.",
1326
+ "flags": {
1327
+ "json": {
1328
+ "description": "Format output as json.",
1329
+ "helpGroup": "GLOBAL",
1330
+ "name": "json",
1331
+ "allowNo": false,
1332
+ "type": "boolean"
1333
+ }
1334
+ },
1335
+ "hasDynamicHelp": false,
1336
+ "hiddenAliases": [],
1337
+ "id": "builds:info",
1338
+ "pluginAlias": "apify-cli",
1339
+ "pluginName": "apify-cli",
1340
+ "pluginType": "core",
1341
+ "strict": true,
1342
+ "enableJsonFlag": true,
1343
+ "isESM": true,
1344
+ "relativePath": [
1345
+ "dist",
1346
+ "commands",
1347
+ "builds",
1348
+ "info.js"
1349
+ ]
1350
+ },
1351
+ "builds:log": {
1352
+ "aliases": [],
1353
+ "args": {
1354
+ "buildId": {
1355
+ "description": "The build ID to get the log from.",
1356
+ "name": "buildId",
1357
+ "required": true
1358
+ }
1359
+ },
1360
+ "description": "Prints the log of a specific build.",
1361
+ "flags": {},
1362
+ "hasDynamicHelp": false,
1363
+ "hiddenAliases": [],
1364
+ "id": "builds:log",
1365
+ "pluginAlias": "apify-cli",
1366
+ "pluginName": "apify-cli",
1367
+ "pluginType": "core",
1368
+ "strict": true,
1369
+ "isESM": true,
1370
+ "relativePath": [
1371
+ "dist",
1372
+ "commands",
1373
+ "builds",
1374
+ "log.js"
1375
+ ]
1376
+ },
1377
+ "builds:ls": {
1378
+ "aliases": [],
1379
+ "args": {
1380
+ "actorId": {
1381
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1382
+ "name": "actorId"
1383
+ }
1384
+ },
1385
+ "description": "Lists all builds of the Actor.",
1386
+ "flags": {
1387
+ "json": {
1388
+ "description": "Format output as json.",
1389
+ "helpGroup": "GLOBAL",
1390
+ "name": "json",
1391
+ "allowNo": false,
1392
+ "type": "boolean"
1393
+ },
1394
+ "offset": {
1395
+ "description": "Number of builds that will be skipped.",
1396
+ "name": "offset",
1397
+ "default": 0,
1398
+ "hasDynamicHelp": false,
1399
+ "multiple": false,
1400
+ "type": "option"
1401
+ },
1402
+ "limit": {
1403
+ "description": "Number of builds that will be listed.",
1404
+ "name": "limit",
1405
+ "default": 10,
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ },
1410
+ "desc": {
1411
+ "description": "Sort builds in descending order.",
1412
+ "name": "desc",
1413
+ "allowNo": false,
1414
+ "type": "boolean"
1415
+ },
1416
+ "compact": {
1417
+ "char": "c",
1418
+ "description": "Display a compact table.",
1419
+ "name": "compact",
1420
+ "allowNo": false,
1421
+ "type": "boolean"
1422
+ }
1423
+ },
1424
+ "hasDynamicHelp": false,
1425
+ "hiddenAliases": [],
1426
+ "id": "builds:ls",
1427
+ "pluginAlias": "apify-cli",
1428
+ "pluginName": "apify-cli",
1429
+ "pluginType": "core",
1430
+ "strict": true,
1431
+ "enableJsonFlag": true,
1432
+ "isESM": true,
1433
+ "relativePath": [
1434
+ "dist",
1435
+ "commands",
1436
+ "builds",
1437
+ "ls.js"
1438
+ ]
1439
+ },
1440
+ "builds:rm": {
1441
+ "aliases": [],
1442
+ "args": {
1443
+ "buildId": {
1444
+ "description": "The build ID to delete.",
1445
+ "name": "buildId",
1446
+ "required": true
1447
+ }
1448
+ },
1449
+ "description": "Deletes an Actor Build.",
1450
+ "flags": {},
1451
+ "hasDynamicHelp": false,
1452
+ "hiddenAliases": [],
1453
+ "id": "builds:rm",
1454
+ "pluginAlias": "apify-cli",
1455
+ "pluginName": "apify-cli",
1456
+ "pluginType": "core",
1457
+ "strict": true,
1458
+ "isESM": true,
1459
+ "relativePath": [
1460
+ "dist",
1461
+ "commands",
1462
+ "builds",
1463
+ "rm.js"
1464
+ ]
1465
+ },
1466
+ "datasets:create": {
1467
+ "aliases": [],
1468
+ "args": {
1469
+ "datasetName": {
1470
+ "description": "Optional name for the Dataset",
1471
+ "name": "datasetName",
1472
+ "required": false
1473
+ }
1474
+ },
1475
+ "description": "Creates a new Dataset on your account",
1476
+ "flags": {
1477
+ "json": {
1478
+ "description": "Format output as json.",
1479
+ "helpGroup": "GLOBAL",
1480
+ "name": "json",
1481
+ "allowNo": false,
1482
+ "type": "boolean"
1483
+ }
1484
+ },
1485
+ "hasDynamicHelp": false,
1486
+ "hiddenAliases": [],
1487
+ "id": "datasets:create",
1488
+ "pluginAlias": "apify-cli",
1489
+ "pluginName": "apify-cli",
1490
+ "pluginType": "core",
1491
+ "strict": true,
1492
+ "enableJsonFlag": true,
1493
+ "isESM": true,
1494
+ "relativePath": [
1495
+ "dist",
1496
+ "commands",
1497
+ "datasets",
1498
+ "create.js"
1499
+ ]
1500
+ },
1501
+ "datasets:get-items": {
1502
+ "aliases": [],
1503
+ "args": {
1504
+ "datasetId": {
1505
+ "description": "The ID of the Dataset to export the items for",
1506
+ "name": "datasetId",
1507
+ "required": true
1508
+ }
1509
+ },
1510
+ "description": "Exports the items present in a Dataset.",
1511
+ "flags": {
1512
+ "limit": {
1513
+ "description": "The amount of elements to get from the dataset. By default, it will return all available items.",
1514
+ "name": "limit",
1515
+ "hasDynamicHelp": false,
1516
+ "multiple": false,
1517
+ "type": "option"
1518
+ },
1519
+ "offset": {
1520
+ "description": "The offset in the dataset where to start getting items.",
1521
+ "name": "offset",
1522
+ "hasDynamicHelp": false,
1523
+ "multiple": false,
1524
+ "type": "option"
1525
+ },
1526
+ "format": {
1527
+ "description": "The format of the returned output. By default, it is set to 'json'",
1528
+ "name": "format",
1529
+ "default": "json",
1530
+ "hasDynamicHelp": false,
1531
+ "multiple": false,
1532
+ "options": [
1533
+ "json",
1534
+ "jsonl",
1535
+ "csv",
1536
+ "html",
1537
+ "rss",
1538
+ "xml",
1539
+ "xlsx"
1540
+ ],
1541
+ "type": "option"
1542
+ }
1543
+ },
1544
+ "hasDynamicHelp": false,
1545
+ "hiddenAliases": [],
1546
+ "id": "datasets:get-items",
1547
+ "pluginAlias": "apify-cli",
1548
+ "pluginName": "apify-cli",
1549
+ "pluginType": "core",
1550
+ "strict": true,
1551
+ "isESM": true,
1552
+ "relativePath": [
1553
+ "dist",
1554
+ "commands",
1555
+ "datasets",
1556
+ "get-items.js"
1557
+ ]
1558
+ },
1559
+ "datasets": {
1560
+ "aliases": [],
1561
+ "args": {},
1562
+ "description": "Commands are designed to be used with Datasets.",
1563
+ "flags": {},
1564
+ "hasDynamicHelp": false,
1565
+ "hiddenAliases": [],
1566
+ "id": "datasets",
1567
+ "pluginAlias": "apify-cli",
1568
+ "pluginName": "apify-cli",
1569
+ "pluginType": "core",
1570
+ "strict": true,
1571
+ "isESM": true,
1572
+ "relativePath": [
1573
+ "dist",
1574
+ "commands",
1575
+ "datasets",
1576
+ "index.js"
1577
+ ]
1578
+ },
1579
+ "datasets:info": {
1580
+ "aliases": [],
1581
+ "args": {
1582
+ "storeId": {
1583
+ "description": "The dataset store ID to print information about.",
1584
+ "name": "storeId",
1585
+ "required": true
1586
+ }
976
1587
  },
977
- "description": "Deletes an Actor Build.",
1588
+ "description": "Shows information about a dataset.",
1589
+ "flags": {
1590
+ "json": {
1591
+ "description": "Format output as json.",
1592
+ "helpGroup": "GLOBAL",
1593
+ "name": "json",
1594
+ "allowNo": false,
1595
+ "type": "boolean"
1596
+ }
1597
+ },
1598
+ "hasDynamicHelp": false,
1599
+ "hiddenAliases": [],
1600
+ "id": "datasets:info",
1601
+ "pluginAlias": "apify-cli",
1602
+ "pluginName": "apify-cli",
1603
+ "pluginType": "core",
1604
+ "strict": true,
1605
+ "enableJsonFlag": true,
1606
+ "isESM": true,
1607
+ "relativePath": [
1608
+ "dist",
1609
+ "commands",
1610
+ "datasets",
1611
+ "info.js"
1612
+ ]
1613
+ },
1614
+ "datasets:ls": {
1615
+ "aliases": [],
1616
+ "args": {},
1617
+ "description": "Lists all Datasets on your account.",
1618
+ "flags": {
1619
+ "json": {
1620
+ "description": "Format output as json.",
1621
+ "helpGroup": "GLOBAL",
1622
+ "name": "json",
1623
+ "allowNo": false,
1624
+ "type": "boolean"
1625
+ },
1626
+ "offset": {
1627
+ "description": "Number of Datasets that will be skipped.",
1628
+ "name": "offset",
1629
+ "default": 0,
1630
+ "hasDynamicHelp": false,
1631
+ "multiple": false,
1632
+ "type": "option"
1633
+ },
1634
+ "limit": {
1635
+ "description": "Number of Datasets that will be listed.",
1636
+ "name": "limit",
1637
+ "default": 20,
1638
+ "hasDynamicHelp": false,
1639
+ "multiple": false,
1640
+ "type": "option"
1641
+ },
1642
+ "desc": {
1643
+ "description": "Sorts Datasets in descending order.",
1644
+ "name": "desc",
1645
+ "allowNo": false,
1646
+ "type": "boolean"
1647
+ },
1648
+ "unnamed": {
1649
+ "description": "Lists Datasets that don't have a name set.",
1650
+ "name": "unnamed",
1651
+ "allowNo": false,
1652
+ "type": "boolean"
1653
+ }
1654
+ },
1655
+ "hasDynamicHelp": false,
1656
+ "hiddenAliases": [],
1657
+ "id": "datasets:ls",
1658
+ "pluginAlias": "apify-cli",
1659
+ "pluginName": "apify-cli",
1660
+ "pluginType": "core",
1661
+ "strict": true,
1662
+ "enableJsonFlag": true,
1663
+ "isESM": true,
1664
+ "relativePath": [
1665
+ "dist",
1666
+ "commands",
1667
+ "datasets",
1668
+ "ls.js"
1669
+ ]
1670
+ },
1671
+ "datasets:push-items": {
1672
+ "aliases": [],
1673
+ "args": {
1674
+ "nameOrId": {
1675
+ "description": "The Dataset ID or name to push the objects to",
1676
+ "name": "nameOrId",
1677
+ "required": true
1678
+ },
1679
+ "item": {
1680
+ "description": "The object or array of objects to be pushed.",
1681
+ "name": "item"
1682
+ }
1683
+ },
1684
+ "description": "Pushes an object or an array of objects to the provided Dataset.",
978
1685
  "flags": {},
979
1686
  "hasDynamicHelp": false,
980
1687
  "hiddenAliases": [],
981
- "id": "builds:rm",
1688
+ "id": "datasets:push-items",
982
1689
  "pluginAlias": "apify-cli",
983
1690
  "pluginName": "apify-cli",
984
1691
  "pluginType": "core",
@@ -987,89 +1694,380 @@
987
1694
  "relativePath": [
988
1695
  "dist",
989
1696
  "commands",
990
- "builds",
1697
+ "datasets",
1698
+ "push-items.js"
1699
+ ]
1700
+ },
1701
+ "datasets:rename": {
1702
+ "aliases": [],
1703
+ "args": {
1704
+ "nameOrId": {
1705
+ "description": "The Dataset ID or name to delete",
1706
+ "name": "nameOrId",
1707
+ "required": true
1708
+ },
1709
+ "newName": {
1710
+ "description": "The new name for the Dataset",
1711
+ "name": "newName"
1712
+ }
1713
+ },
1714
+ "description": "Renames a Dataset, or removes its unique name",
1715
+ "flags": {
1716
+ "unname": {
1717
+ "description": "Removes the unique name of the Dataset",
1718
+ "name": "unname",
1719
+ "allowNo": false,
1720
+ "type": "boolean"
1721
+ }
1722
+ },
1723
+ "hasDynamicHelp": false,
1724
+ "hiddenAliases": [],
1725
+ "id": "datasets:rename",
1726
+ "pluginAlias": "apify-cli",
1727
+ "pluginName": "apify-cli",
1728
+ "pluginType": "core",
1729
+ "strict": true,
1730
+ "isESM": true,
1731
+ "relativePath": [
1732
+ "dist",
1733
+ "commands",
1734
+ "datasets",
1735
+ "rename.js"
1736
+ ]
1737
+ },
1738
+ "datasets:rm": {
1739
+ "aliases": [],
1740
+ "args": {
1741
+ "datasetNameOrId": {
1742
+ "description": "The Dataset ID or name to delete",
1743
+ "name": "datasetNameOrId",
1744
+ "required": true
1745
+ }
1746
+ },
1747
+ "description": "Deletes a Dataset",
1748
+ "flags": {},
1749
+ "hasDynamicHelp": false,
1750
+ "hiddenAliases": [],
1751
+ "id": "datasets:rm",
1752
+ "pluginAlias": "apify-cli",
1753
+ "pluginName": "apify-cli",
1754
+ "pluginType": "core",
1755
+ "strict": true,
1756
+ "isESM": true,
1757
+ "relativePath": [
1758
+ "dist",
1759
+ "commands",
1760
+ "datasets",
991
1761
  "rm.js"
992
1762
  ]
993
1763
  },
994
- "datasets": {
1764
+ "key-value-stores:create": {
1765
+ "aliases": [],
1766
+ "args": {
1767
+ "keyValueStoreName": {
1768
+ "description": "Optional name for the Key-value store",
1769
+ "name": "keyValueStoreName",
1770
+ "required": false
1771
+ }
1772
+ },
1773
+ "description": "Creates a new Key-value store on your account",
1774
+ "flags": {
1775
+ "json": {
1776
+ "description": "Format output as json.",
1777
+ "helpGroup": "GLOBAL",
1778
+ "name": "json",
1779
+ "allowNo": false,
1780
+ "type": "boolean"
1781
+ }
1782
+ },
1783
+ "hasDynamicHelp": false,
1784
+ "hiddenAliases": [
1785
+ "kvs:create"
1786
+ ],
1787
+ "id": "key-value-stores:create",
1788
+ "pluginAlias": "apify-cli",
1789
+ "pluginName": "apify-cli",
1790
+ "pluginType": "core",
1791
+ "strict": true,
1792
+ "enableJsonFlag": true,
1793
+ "isESM": true,
1794
+ "relativePath": [
1795
+ "dist",
1796
+ "commands",
1797
+ "key-value-stores",
1798
+ "create.js"
1799
+ ]
1800
+ },
1801
+ "key-value-stores:delete-value": {
1802
+ "aliases": [],
1803
+ "args": {
1804
+ "storeId": {
1805
+ "description": "The key-value store ID to delete the value from.",
1806
+ "name": "storeId",
1807
+ "required": true
1808
+ },
1809
+ "itemKey": {
1810
+ "description": "The key of the item in the key-value store.",
1811
+ "name": "itemKey",
1812
+ "required": true
1813
+ }
1814
+ },
1815
+ "description": "Delete a value from a key-value store.",
1816
+ "flags": {},
1817
+ "hasDynamicHelp": false,
1818
+ "hiddenAliases": [
1819
+ "kvs:delete-value"
1820
+ ],
1821
+ "id": "key-value-stores:delete-value",
1822
+ "pluginAlias": "apify-cli",
1823
+ "pluginName": "apify-cli",
1824
+ "pluginType": "core",
1825
+ "strict": true,
1826
+ "isESM": true,
1827
+ "relativePath": [
1828
+ "dist",
1829
+ "commands",
1830
+ "key-value-stores",
1831
+ "delete-value.js"
1832
+ ]
1833
+ },
1834
+ "key-value-stores:get-value": {
1835
+ "aliases": [],
1836
+ "args": {
1837
+ "keyValueStoreId": {
1838
+ "description": "The key-value store ID to get the value from.",
1839
+ "name": "keyValueStoreId",
1840
+ "required": true
1841
+ },
1842
+ "itemKey": {
1843
+ "description": "The key of the item in the key-value store.",
1844
+ "name": "itemKey",
1845
+ "required": true
1846
+ }
1847
+ },
1848
+ "description": "Gets a value by key in the given key-value store.",
1849
+ "flags": {
1850
+ "only-content-type": {
1851
+ "description": "Only return the content type of the specified key",
1852
+ "name": "only-content-type",
1853
+ "allowNo": false,
1854
+ "type": "boolean"
1855
+ }
1856
+ },
1857
+ "hasDynamicHelp": false,
1858
+ "hiddenAliases": [
1859
+ "kvs:get-value"
1860
+ ],
1861
+ "id": "key-value-stores:get-value",
1862
+ "pluginAlias": "apify-cli",
1863
+ "pluginName": "apify-cli",
1864
+ "pluginType": "core",
1865
+ "strict": true,
1866
+ "isESM": true,
1867
+ "relativePath": [
1868
+ "dist",
1869
+ "commands",
1870
+ "key-value-stores",
1871
+ "get-value.js"
1872
+ ]
1873
+ },
1874
+ "key-value-stores": {
995
1875
  "aliases": [],
996
1876
  "args": {},
997
- "description": "Commands are designed to be used with Datasets.",
1877
+ "description": "Commands are designed to be used with Key Value Stores.\n\nAliases: kvs",
998
1878
  "flags": {},
999
1879
  "hasDynamicHelp": false,
1000
- "hiddenAliases": [],
1001
- "id": "datasets",
1880
+ "hiddenAliases": [
1881
+ "kvs"
1882
+ ],
1883
+ "id": "key-value-stores",
1884
+ "pluginAlias": "apify-cli",
1885
+ "pluginName": "apify-cli",
1886
+ "pluginType": "core",
1887
+ "strict": true,
1888
+ "isESM": true,
1889
+ "relativePath": [
1890
+ "dist",
1891
+ "commands",
1892
+ "key-value-stores",
1893
+ "index.js"
1894
+ ]
1895
+ },
1896
+ "key-value-stores:info": {
1897
+ "aliases": [],
1898
+ "args": {
1899
+ "storeId": {
1900
+ "description": "The key-value store ID to print information about.",
1901
+ "name": "storeId",
1902
+ "required": true
1903
+ }
1904
+ },
1905
+ "description": "Shows information about a key-value store.",
1906
+ "flags": {
1907
+ "json": {
1908
+ "description": "Format output as json.",
1909
+ "helpGroup": "GLOBAL",
1910
+ "name": "json",
1911
+ "allowNo": false,
1912
+ "type": "boolean"
1913
+ }
1914
+ },
1915
+ "hasDynamicHelp": false,
1916
+ "hiddenAliases": [
1917
+ "kvs:info"
1918
+ ],
1919
+ "id": "key-value-stores:info",
1002
1920
  "pluginAlias": "apify-cli",
1003
1921
  "pluginName": "apify-cli",
1004
1922
  "pluginType": "core",
1005
1923
  "strict": true,
1924
+ "enableJsonFlag": true,
1006
1925
  "isESM": true,
1007
1926
  "relativePath": [
1008
1927
  "dist",
1009
1928
  "commands",
1010
- "datasets",
1011
- "index.js"
1929
+ "key-value-stores",
1930
+ "info.js"
1012
1931
  ]
1013
1932
  },
1014
- "key-value-stores": {
1933
+ "key-value-stores:keys": {
1015
1934
  "aliases": [],
1016
- "args": {},
1017
- "description": "Commands are designed to be used with Key Value Stores.",
1018
- "flags": {},
1935
+ "args": {
1936
+ "storeId": {
1937
+ "description": "The key-value store ID to list keys for.",
1938
+ "name": "storeId",
1939
+ "required": true
1940
+ }
1941
+ },
1942
+ "description": "Lists all keys in a key-value store.",
1943
+ "flags": {
1944
+ "json": {
1945
+ "description": "Format output as json.",
1946
+ "helpGroup": "GLOBAL",
1947
+ "name": "json",
1948
+ "allowNo": false,
1949
+ "type": "boolean"
1950
+ },
1951
+ "limit": {
1952
+ "description": "The maximum number of keys to return.",
1953
+ "name": "limit",
1954
+ "default": 20,
1955
+ "hasDynamicHelp": false,
1956
+ "multiple": false,
1957
+ "type": "option"
1958
+ },
1959
+ "exclusive-start-key": {
1960
+ "description": "The key to start the list from.",
1961
+ "name": "exclusive-start-key",
1962
+ "hasDynamicHelp": false,
1963
+ "multiple": false,
1964
+ "type": "option"
1965
+ }
1966
+ },
1019
1967
  "hasDynamicHelp": false,
1020
- "hiddenAliases": [],
1021
- "id": "key-value-stores",
1968
+ "hiddenAliases": [
1969
+ "kvs:keys"
1970
+ ],
1971
+ "id": "key-value-stores:keys",
1022
1972
  "pluginAlias": "apify-cli",
1023
1973
  "pluginName": "apify-cli",
1024
1974
  "pluginType": "core",
1025
1975
  "strict": true,
1976
+ "enableJsonFlag": true,
1026
1977
  "isESM": true,
1027
1978
  "relativePath": [
1028
1979
  "dist",
1029
1980
  "commands",
1030
1981
  "key-value-stores",
1031
- "index.js"
1982
+ "keys.js"
1032
1983
  ]
1033
1984
  },
1034
- "request-queues": {
1985
+ "key-value-stores:ls": {
1035
1986
  "aliases": [],
1036
1987
  "args": {},
1037
- "description": "Commands are designed to be used with Request Queues.",
1038
- "flags": {},
1988
+ "description": "Lists all Key-value stores on your account.",
1989
+ "flags": {
1990
+ "json": {
1991
+ "description": "Format output as json.",
1992
+ "helpGroup": "GLOBAL",
1993
+ "name": "json",
1994
+ "allowNo": false,
1995
+ "type": "boolean"
1996
+ },
1997
+ "offset": {
1998
+ "description": "Number of Key-value stores that will be skipped.",
1999
+ "name": "offset",
2000
+ "default": 0,
2001
+ "hasDynamicHelp": false,
2002
+ "multiple": false,
2003
+ "type": "option"
2004
+ },
2005
+ "limit": {
2006
+ "description": "Number of Key-value stores that will be listed.",
2007
+ "name": "limit",
2008
+ "default": 20,
2009
+ "hasDynamicHelp": false,
2010
+ "multiple": false,
2011
+ "type": "option"
2012
+ },
2013
+ "desc": {
2014
+ "description": "Sorts Key-value stores in descending order.",
2015
+ "name": "desc",
2016
+ "allowNo": false,
2017
+ "type": "boolean"
2018
+ },
2019
+ "unnamed": {
2020
+ "description": "Lists Key-value stores that don't have a name set.",
2021
+ "name": "unnamed",
2022
+ "allowNo": false,
2023
+ "type": "boolean"
2024
+ }
2025
+ },
1039
2026
  "hasDynamicHelp": false,
1040
- "hiddenAliases": [],
1041
- "id": "request-queues",
2027
+ "hiddenAliases": [
2028
+ "kvs:ls"
2029
+ ],
2030
+ "id": "key-value-stores:ls",
1042
2031
  "pluginAlias": "apify-cli",
1043
2032
  "pluginName": "apify-cli",
1044
2033
  "pluginType": "core",
1045
2034
  "strict": true,
2035
+ "enableJsonFlag": true,
1046
2036
  "isESM": true,
1047
2037
  "relativePath": [
1048
2038
  "dist",
1049
2039
  "commands",
1050
- "request-queues",
1051
- "index.js"
2040
+ "key-value-stores",
2041
+ "ls.js"
1052
2042
  ]
1053
2043
  },
1054
- "secrets:add": {
2044
+ "key-value-stores:rename": {
1055
2045
  "aliases": [],
1056
2046
  "args": {
1057
- "name": {
1058
- "description": "Name of the secret",
1059
- "name": "name",
2047
+ "keyValueStoreNameOrId": {
2048
+ "description": "The Key-value store ID or name to delete",
2049
+ "name": "keyValueStoreNameOrId",
1060
2050
  "required": true
1061
2051
  },
1062
- "value": {
1063
- "description": "Value of the secret",
1064
- "name": "value",
1065
- "required": true
2052
+ "newName": {
2053
+ "description": "The new name for the Key-value store",
2054
+ "name": "newName"
2055
+ }
2056
+ },
2057
+ "description": "Renames a Key-value store, or removes its unique name",
2058
+ "flags": {
2059
+ "unname": {
2060
+ "description": "Removes the unique name of the Key-value store",
2061
+ "name": "unname",
2062
+ "allowNo": false,
2063
+ "type": "boolean"
1066
2064
  }
1067
2065
  },
1068
- "description": "Adds a new secret value.\nThe secrets are stored to a file at ~/.apify",
1069
- "flags": {},
1070
2066
  "hasDynamicHelp": false,
1071
- "hiddenAliases": [],
1072
- "id": "secrets:add",
2067
+ "hiddenAliases": [
2068
+ "kvs:rename"
2069
+ ],
2070
+ "id": "key-value-stores:rename",
1073
2071
  "pluginAlias": "apify-cli",
1074
2072
  "pluginName": "apify-cli",
1075
2073
  "pluginType": "core",
@@ -1078,18 +2076,26 @@
1078
2076
  "relativePath": [
1079
2077
  "dist",
1080
2078
  "commands",
1081
- "secrets",
1082
- "add.js"
2079
+ "key-value-stores",
2080
+ "rename.js"
1083
2081
  ]
1084
2082
  },
1085
- "secrets": {
2083
+ "key-value-stores:rm": {
1086
2084
  "aliases": [],
1087
- "args": {},
1088
- "description": "Manages secret values for Actor environment variables.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nNow the \"mySecret\" value can be used in an environment variable defined in \".actor/actor.json\" file by adding the \"@\" prefix:\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 of the Actor.",
2085
+ "args": {
2086
+ "keyValueStoreNameOrId": {
2087
+ "description": "The Key-value store ID or name to delete",
2088
+ "name": "keyValueStoreNameOrId",
2089
+ "required": true
2090
+ }
2091
+ },
2092
+ "description": "Deletes a Key-value store",
1089
2093
  "flags": {},
1090
2094
  "hasDynamicHelp": false,
1091
- "hiddenAliases": [],
1092
- "id": "secrets",
2095
+ "hiddenAliases": [
2096
+ "kvs:rm"
2097
+ ],
2098
+ "id": "key-value-stores:rm",
1093
2099
  "pluginAlias": "apify-cli",
1094
2100
  "pluginName": "apify-cli",
1095
2101
  "pluginType": "core",
@@ -1098,24 +2104,64 @@
1098
2104
  "relativePath": [
1099
2105
  "dist",
1100
2106
  "commands",
1101
- "secrets",
1102
- "index.js"
2107
+ "key-value-stores",
2108
+ "rm.js"
1103
2109
  ]
1104
2110
  },
1105
- "secrets:rm": {
2111
+ "key-value-stores:set-value": {
1106
2112
  "aliases": [],
1107
2113
  "args": {
1108
- "name": {
1109
- "description": "Name of the secret",
1110
- "name": "name",
2114
+ "storeId": {
2115
+ "description": "The key-value store ID to set the value in.",
2116
+ "name": "storeId",
1111
2117
  "required": true
2118
+ },
2119
+ "itemKey": {
2120
+ "description": "The key of the item in the key-value store.",
2121
+ "name": "itemKey",
2122
+ "required": true
2123
+ },
2124
+ "value": {
2125
+ "description": "The value to set.",
2126
+ "name": "value"
1112
2127
  }
1113
2128
  },
1114
- "description": "Removes the secret.",
2129
+ "description": "Sets a value in a key-value store.",
2130
+ "flags": {
2131
+ "content-type": {
2132
+ "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
2133
+ "name": "content-type",
2134
+ "default": "application/json",
2135
+ "hasDynamicHelp": false,
2136
+ "multiple": false,
2137
+ "type": "option"
2138
+ }
2139
+ },
2140
+ "hasDynamicHelp": false,
2141
+ "hiddenAliases": [
2142
+ "kvs:set-value"
2143
+ ],
2144
+ "id": "key-value-stores:set-value",
2145
+ "pluginAlias": "apify-cli",
2146
+ "pluginName": "apify-cli",
2147
+ "pluginType": "core",
2148
+ "strict": true,
2149
+ "isESM": true,
2150
+ "relativePath": [
2151
+ "dist",
2152
+ "commands",
2153
+ "key-value-stores",
2154
+ "set-value.js"
2155
+ ]
2156
+ },
2157
+ "request-queues": {
2158
+ "aliases": [],
2159
+ "args": {},
2160
+ "description": "Commands are designed to be used with Request Queues.",
1115
2161
  "flags": {},
1116
2162
  "hasDynamicHelp": false,
1117
2163
  "hiddenAliases": [],
1118
- "id": "secrets:rm",
2164
+ "id": "request-queues",
1119
2165
  "pluginAlias": "apify-cli",
1120
2166
  "pluginName": "apify-cli",
1121
2167
  "pluginType": "core",
@@ -1124,8 +2170,8 @@
1124
2170
  "relativePath": [
1125
2171
  "dist",
1126
2172
  "commands",
1127
- "secrets",
1128
- "rm.js"
2173
+ "request-queues",
2174
+ "index.js"
1129
2175
  ]
1130
2176
  },
1131
2177
  "runs:abort": {
@@ -1260,7 +2306,12 @@
1260
2306
  },
1261
2307
  "runs:ls": {
1262
2308
  "aliases": [],
1263
- "args": {},
2309
+ "args": {
2310
+ "actorId": {
2311
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
2312
+ "name": "actorId"
2313
+ }
2314
+ },
1264
2315
  "description": "Lists all runs of the Actor.",
1265
2316
  "flags": {
1266
2317
  "json": {
@@ -1270,13 +2321,6 @@
1270
2321
  "allowNo": false,
1271
2322
  "type": "boolean"
1272
2323
  },
1273
- "actor": {
1274
- "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1275
- "name": "actor",
1276
- "hasDynamicHelp": false,
1277
- "multiple": false,
1278
- "type": "option"
1279
- },
1280
2324
  "offset": {
1281
2325
  "description": "Number of runs that will be skipped.",
1282
2326
  "name": "offset",
@@ -1384,6 +2428,83 @@
1384
2428
  "rm.js"
1385
2429
  ]
1386
2430
  },
2431
+ "secrets:add": {
2432
+ "aliases": [],
2433
+ "args": {
2434
+ "name": {
2435
+ "description": "Name of the secret",
2436
+ "name": "name",
2437
+ "required": true
2438
+ },
2439
+ "value": {
2440
+ "description": "Value of the secret",
2441
+ "name": "value",
2442
+ "required": true
2443
+ }
2444
+ },
2445
+ "description": "Adds a new secret value.\nThe secrets are stored to a file at ~/.apify",
2446
+ "flags": {},
2447
+ "hasDynamicHelp": false,
2448
+ "hiddenAliases": [],
2449
+ "id": "secrets:add",
2450
+ "pluginAlias": "apify-cli",
2451
+ "pluginName": "apify-cli",
2452
+ "pluginType": "core",
2453
+ "strict": true,
2454
+ "isESM": true,
2455
+ "relativePath": [
2456
+ "dist",
2457
+ "commands",
2458
+ "secrets",
2459
+ "add.js"
2460
+ ]
2461
+ },
2462
+ "secrets": {
2463
+ "aliases": [],
2464
+ "args": {},
2465
+ "description": "Manages secret values for Actor environment variables.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nNow the \"mySecret\" value can be used in an environment variable defined in \".actor/actor.json\" file by adding the \"@\" prefix:\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 of the Actor.",
2466
+ "flags": {},
2467
+ "hasDynamicHelp": false,
2468
+ "hiddenAliases": [],
2469
+ "id": "secrets",
2470
+ "pluginAlias": "apify-cli",
2471
+ "pluginName": "apify-cli",
2472
+ "pluginType": "core",
2473
+ "strict": true,
2474
+ "isESM": true,
2475
+ "relativePath": [
2476
+ "dist",
2477
+ "commands",
2478
+ "secrets",
2479
+ "index.js"
2480
+ ]
2481
+ },
2482
+ "secrets:rm": {
2483
+ "aliases": [],
2484
+ "args": {
2485
+ "name": {
2486
+ "description": "Name of the secret",
2487
+ "name": "name",
2488
+ "required": true
2489
+ }
2490
+ },
2491
+ "description": "Removes the secret.",
2492
+ "flags": {},
2493
+ "hasDynamicHelp": false,
2494
+ "hiddenAliases": [],
2495
+ "id": "secrets:rm",
2496
+ "pluginAlias": "apify-cli",
2497
+ "pluginName": "apify-cli",
2498
+ "pluginType": "core",
2499
+ "strict": true,
2500
+ "isESM": true,
2501
+ "relativePath": [
2502
+ "dist",
2503
+ "commands",
2504
+ "secrets",
2505
+ "rm.js"
2506
+ ]
2507
+ },
1387
2508
  "task": {
1388
2509
  "aliases": [],
1389
2510
  "args": {},
@@ -1441,15 +2562,6 @@
1441
2562
  "hasDynamicHelp": false,
1442
2563
  "multiple": false,
1443
2564
  "type": "option"
1444
- },
1445
- "wait-for-finish": {
1446
- "char": "w",
1447
- "description": "Seconds for waiting to run to finish, if no value passed, it waits forever.",
1448
- "name": "wait-for-finish",
1449
- "required": false,
1450
- "hasDynamicHelp": false,
1451
- "multiple": false,
1452
- "type": "option"
1453
2565
  }
1454
2566
  },
1455
2567
  "hasDynamicHelp": false,
@@ -1468,5 +2580,5 @@
1468
2580
  ]
1469
2581
  }
1470
2582
  },
1471
- "version": "0.21.0-beta.9"
2583
+ "version": "0.21.0-beta.91"
1472
2584
  }