apify-cli 0.21.7 → 0.21.8-beta.1

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 (425) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +0 -1431
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/commands/_register.js +52 -0
  5. package/dist/commands/_register.js.map +1 -0
  6. package/dist/commands/actor/_index.js +24 -0
  7. package/dist/commands/actor/_index.js.map +1 -0
  8. package/dist/commands/actor/charge.js +5 -3
  9. package/dist/commands/actor/charge.js.map +1 -1
  10. package/dist/commands/actor/get-input.js +3 -2
  11. package/dist/commands/actor/get-input.js.map +1 -1
  12. package/dist/commands/actor/get-public-url.js +4 -3
  13. package/dist/commands/actor/get-public-url.js.map +1 -1
  14. package/dist/commands/actor/get-value.js +4 -3
  15. package/dist/commands/actor/get-value.js.map +1 -1
  16. package/dist/commands/actor/push-data.js +6 -5
  17. package/dist/commands/actor/push-data.js.map +1 -1
  18. package/dist/commands/actor/set-value.js +5 -5
  19. package/dist/commands/actor/set-value.js.map +1 -1
  20. package/dist/commands/actors/_index.js +28 -0
  21. package/dist/commands/actors/_index.js.map +1 -0
  22. package/dist/commands/actors/build.js +3 -1
  23. package/dist/commands/actors/build.js.map +1 -1
  24. package/dist/commands/actors/call.js +9 -7
  25. package/dist/commands/actors/call.js.map +1 -1
  26. package/dist/commands/actors/info.js +7 -5
  27. package/dist/commands/actors/info.js.map +1 -1
  28. package/dist/commands/actors/ls.js +8 -6
  29. package/dist/commands/actors/ls.js.map +1 -1
  30. package/dist/commands/actors/pull.js +4 -2
  31. package/dist/commands/actors/pull.js.map +1 -1
  32. package/dist/commands/actors/push.js +4 -6
  33. package/dist/commands/actors/push.js.map +1 -1
  34. package/dist/commands/actors/rm.js +4 -3
  35. package/dist/commands/actors/rm.js.map +1 -1
  36. package/dist/commands/actors/start.js +9 -7
  37. package/dist/commands/actors/start.js.map +1 -1
  38. package/dist/commands/builds/_index.js +22 -0
  39. package/dist/commands/builds/_index.js.map +1 -0
  40. package/dist/commands/builds/create.js +7 -5
  41. package/dist/commands/builds/create.js.map +1 -1
  42. package/dist/commands/builds/info.js +7 -6
  43. package/dist/commands/builds/info.js.map +1 -1
  44. package/dist/commands/builds/log.js +4 -3
  45. package/dist/commands/builds/log.js.map +1 -1
  46. package/dist/commands/builds/ls.js +8 -6
  47. package/dist/commands/builds/ls.js.map +1 -1
  48. package/dist/commands/builds/rm.js +3 -2
  49. package/dist/commands/builds/rm.js.map +1 -1
  50. package/dist/commands/call.js +1 -0
  51. package/dist/commands/call.js.map +1 -1
  52. package/dist/commands/check-version.js +4 -3
  53. package/dist/commands/check-version.js.map +1 -1
  54. package/dist/commands/create.js +4 -2
  55. package/dist/commands/create.js.map +1 -1
  56. package/dist/commands/datasets/_index.js +25 -0
  57. package/dist/commands/datasets/_index.js.map +1 -0
  58. package/dist/commands/datasets/create.js +6 -5
  59. package/dist/commands/datasets/create.js.map +1 -1
  60. package/dist/commands/datasets/get-items.js +6 -7
  61. package/dist/commands/datasets/get-items.js.map +1 -1
  62. package/dist/commands/datasets/info.js +7 -6
  63. package/dist/commands/datasets/info.js.map +1 -1
  64. package/dist/commands/datasets/ls.js +6 -5
  65. package/dist/commands/datasets/ls.js.map +1 -1
  66. package/dist/commands/datasets/push-items.js +5 -4
  67. package/dist/commands/datasets/push-items.js.map +1 -1
  68. package/dist/commands/datasets/rename.js +4 -2
  69. package/dist/commands/datasets/rename.js.map +1 -1
  70. package/dist/commands/datasets/rm.js +3 -2
  71. package/dist/commands/datasets/rm.js.map +1 -1
  72. package/dist/commands/edit-input-schema.js +4 -3
  73. package/dist/commands/edit-input-schema.js.map +1 -1
  74. package/dist/commands/info.js +2 -1
  75. package/dist/commands/info.js.map +1 -1
  76. package/dist/commands/init-wrap-scrapy.js +3 -2
  77. package/dist/commands/init-wrap-scrapy.js.map +1 -1
  78. package/dist/commands/init.js +4 -2
  79. package/dist/commands/init.js.map +1 -1
  80. package/dist/commands/key-value-stores/_index.js +30 -0
  81. package/dist/commands/key-value-stores/_index.js.map +1 -0
  82. package/dist/commands/key-value-stores/create.js +7 -7
  83. package/dist/commands/key-value-stores/create.js.map +1 -1
  84. package/dist/commands/key-value-stores/delete-value.js +4 -4
  85. package/dist/commands/key-value-stores/delete-value.js.map +1 -1
  86. package/dist/commands/key-value-stores/get-value.js +4 -3
  87. package/dist/commands/key-value-stores/get-value.js.map +1 -1
  88. package/dist/commands/key-value-stores/info.js +7 -7
  89. package/dist/commands/key-value-stores/info.js.map +1 -1
  90. package/dist/commands/key-value-stores/keys.js +7 -6
  91. package/dist/commands/key-value-stores/keys.js.map +1 -1
  92. package/dist/commands/key-value-stores/ls.js +6 -7
  93. package/dist/commands/key-value-stores/ls.js.map +1 -1
  94. package/dist/commands/key-value-stores/rename.js +4 -3
  95. package/dist/commands/key-value-stores/rename.js.map +1 -1
  96. package/dist/commands/key-value-stores/rm.js +3 -3
  97. package/dist/commands/key-value-stores/rm.js.map +1 -1
  98. package/dist/commands/key-value-stores/set-value.js +4 -6
  99. package/dist/commands/key-value-stores/set-value.js.map +1 -1
  100. package/dist/commands/login.js +4 -3
  101. package/dist/commands/login.js.map +1 -1
  102. package/dist/commands/logout.js +2 -1
  103. package/dist/commands/logout.js.map +1 -1
  104. package/dist/commands/pull.js +1 -0
  105. package/dist/commands/pull.js.map +1 -1
  106. package/dist/commands/push.js +1 -0
  107. package/dist/commands/push.js.map +1 -1
  108. package/dist/commands/request-queues/{index.js → _index.js} +4 -3
  109. package/dist/commands/request-queues/_index.js.map +1 -0
  110. package/dist/commands/run.js +7 -5
  111. package/dist/commands/run.js.map +1 -1
  112. package/dist/commands/runs/_index.js +23 -0
  113. package/dist/commands/runs/_index.js.map +1 -0
  114. package/dist/commands/runs/abort.js +7 -5
  115. package/dist/commands/runs/abort.js.map +1 -1
  116. package/dist/commands/runs/info.js +8 -6
  117. package/dist/commands/runs/info.js.map +1 -1
  118. package/dist/commands/runs/log.js +3 -2
  119. package/dist/commands/runs/log.js.map +1 -1
  120. package/dist/commands/runs/ls.js +7 -5
  121. package/dist/commands/runs/ls.js.map +1 -1
  122. package/dist/commands/runs/resurrect.js +6 -5
  123. package/dist/commands/runs/resurrect.js.map +1 -1
  124. package/dist/commands/runs/rm.js +3 -2
  125. package/dist/commands/runs/rm.js.map +1 -1
  126. package/dist/commands/secrets/{index.js → _index.js} +7 -3
  127. package/dist/commands/secrets/_index.js.map +1 -0
  128. package/dist/commands/secrets/add.js +3 -2
  129. package/dist/commands/secrets/add.js.map +1 -1
  130. package/dist/commands/secrets/rm.js +4 -3
  131. package/dist/commands/secrets/rm.js.map +1 -1
  132. package/dist/commands/task/_index.js +11 -0
  133. package/dist/commands/task/_index.js.map +1 -0
  134. package/dist/commands/task/run.js +3 -2
  135. package/dist/commands/task/run.js.map +1 -1
  136. package/dist/commands/validate-schema.js +3 -2
  137. package/dist/commands/validate-schema.js.map +1 -1
  138. package/dist/entrypoints/_shared.js +219 -0
  139. package/dist/entrypoints/_shared.js.map +1 -0
  140. package/dist/entrypoints/actor.js +19 -0
  141. package/dist/entrypoints/actor.js.map +1 -0
  142. package/dist/entrypoints/apify.js +32 -0
  143. package/dist/entrypoints/apify.js.map +1 -0
  144. package/dist/lib/command-framework/apify-command.js +342 -0
  145. package/dist/lib/command-framework/apify-command.js.map +1 -0
  146. package/dist/lib/command-framework/args.js +23 -0
  147. package/dist/lib/command-framework/args.js.map +1 -0
  148. package/dist/lib/command-framework/flags.js +102 -0
  149. package/dist/lib/command-framework/flags.js.map +1 -0
  150. package/dist/lib/command-framework/help/CommandHelp.js +228 -0
  151. package/dist/lib/command-framework/help/CommandHelp.js.map +1 -0
  152. package/dist/lib/command-framework/help/CommandWithSubcommands.js +75 -0
  153. package/dist/lib/command-framework/help/CommandWithSubcommands.js.map +1 -0
  154. package/dist/lib/command-framework/help/_BaseCommandRenderer.js +63 -0
  155. package/dist/lib/command-framework/help/_BaseCommandRenderer.js.map +1 -0
  156. package/dist/lib/command-framework/help/consts.js +27 -0
  157. package/dist/lib/command-framework/help/consts.js.map +1 -0
  158. package/dist/lib/command-framework/help.js +104 -0
  159. package/dist/lib/command-framework/help.js.map +1 -0
  160. package/dist/lib/commands/read-stdin.js +71 -14
  161. package/dist/lib/commands/read-stdin.js.map +1 -1
  162. package/dist/lib/commands/resolve-input.js +6 -6
  163. package/dist/lib/commands/resolve-input.js.map +1 -1
  164. package/dist/lib/commands/run-on-cloud.js +1 -1
  165. package/dist/lib/commands/run-on-cloud.js.map +1 -1
  166. package/dist/lib/consts.js +18 -3
  167. package/dist/lib/consts.js.map +1 -1
  168. package/dist/lib/hooks/runtimes/utils.js +3 -6
  169. package/dist/lib/hooks/runtimes/utils.js.map +1 -1
  170. package/dist/lib/types.js +3 -1
  171. package/dist/lib/types.js.map +1 -1
  172. package/dist/lib/utils.js +21 -12
  173. package/dist/lib/utils.js.map +1 -1
  174. package/dist/typechecking.tsbuildinfo +1 -1
  175. package/package.json +23 -42
  176. package/bin/dev.cmd +0 -3
  177. package/bin/dev.js +0 -23
  178. package/bin/dev.sh +0 -4
  179. package/bin/run.cmd +0 -3
  180. package/bin/run.js +0 -25
  181. package/dist/commands/actor/charge.d.ts +0 -23
  182. package/dist/commands/actor/charge.d.ts.map +0 -1
  183. package/dist/commands/actor/get-input.d.ts +0 -6
  184. package/dist/commands/actor/get-input.d.ts.map +0 -1
  185. package/dist/commands/actor/get-public-url.d.ts +0 -9
  186. package/dist/commands/actor/get-public-url.d.ts.map +0 -1
  187. package/dist/commands/actor/get-value.d.ts +0 -9
  188. package/dist/commands/actor/get-value.d.ts.map +0 -1
  189. package/dist/commands/actor/index.d.ts +0 -6
  190. package/dist/commands/actor/index.d.ts.map +0 -1
  191. package/dist/commands/actor/index.js +0 -8
  192. package/dist/commands/actor/index.js.map +0 -1
  193. package/dist/commands/actor/push-data.d.ts +0 -9
  194. package/dist/commands/actor/push-data.d.ts.map +0 -1
  195. package/dist/commands/actor/set-value.d.ts +0 -13
  196. package/dist/commands/actor/set-value.d.ts.map +0 -1
  197. package/dist/commands/actors/build.d.ts +0 -4
  198. package/dist/commands/actors/build.d.ts.map +0 -1
  199. package/dist/commands/actors/call.d.ts +0 -30
  200. package/dist/commands/actors/call.d.ts.map +0 -1
  201. package/dist/commands/actors/index.d.ts +0 -6
  202. package/dist/commands/actors/index.d.ts.map +0 -1
  203. package/dist/commands/actors/index.js +0 -8
  204. package/dist/commands/actors/index.js.map +0 -1
  205. package/dist/commands/actors/info.d.ts +0 -22
  206. package/dist/commands/actors/info.d.ts.map +0 -1
  207. package/dist/commands/actors/ls.d.ts +0 -15
  208. package/dist/commands/actors/ls.d.ts.map +0 -1
  209. package/dist/commands/actors/pull.d.ts +0 -13
  210. package/dist/commands/actors/pull.d.ts.map +0 -1
  211. package/dist/commands/actors/push.d.ts +0 -18
  212. package/dist/commands/actors/push.d.ts.map +0 -1
  213. package/dist/commands/actors/rm.d.ts +0 -9
  214. package/dist/commands/actors/rm.d.ts.map +0 -1
  215. package/dist/commands/actors/start.d.ts +0 -18
  216. package/dist/commands/actors/start.d.ts.map +0 -1
  217. package/dist/commands/builds/create.d.ts +0 -15
  218. package/dist/commands/builds/create.d.ts.map +0 -1
  219. package/dist/commands/builds/index.d.ts +0 -6
  220. package/dist/commands/builds/index.d.ts.map +0 -1
  221. package/dist/commands/builds/index.js +0 -8
  222. package/dist/commands/builds/index.js.map +0 -1
  223. package/dist/commands/builds/info.d.ts +0 -10
  224. package/dist/commands/builds/info.d.ts.map +0 -1
  225. package/dist/commands/builds/log.d.ts +0 -9
  226. package/dist/commands/builds/log.d.ts.map +0 -1
  227. package/dist/commands/builds/ls.d.ts +0 -17
  228. package/dist/commands/builds/ls.d.ts.map +0 -1
  229. package/dist/commands/builds/rm.d.ts +0 -9
  230. package/dist/commands/builds/rm.d.ts.map +0 -1
  231. package/dist/commands/call.d.ts +0 -4
  232. package/dist/commands/call.d.ts.map +0 -1
  233. package/dist/commands/check-version.d.ts +0 -11
  234. package/dist/commands/check-version.d.ts.map +0 -1
  235. package/dist/commands/create.d.ts +0 -15
  236. package/dist/commands/create.d.ts.map +0 -1
  237. package/dist/commands/datasets/create.d.ts +0 -10
  238. package/dist/commands/datasets/create.d.ts.map +0 -1
  239. package/dist/commands/datasets/get-items.d.ts +0 -17
  240. package/dist/commands/datasets/get-items.d.ts.map +0 -1
  241. package/dist/commands/datasets/index.d.ts +0 -6
  242. package/dist/commands/datasets/index.d.ts.map +0 -1
  243. package/dist/commands/datasets/index.js +0 -8
  244. package/dist/commands/datasets/index.js.map +0 -1
  245. package/dist/commands/datasets/info.d.ts +0 -30
  246. package/dist/commands/datasets/info.d.ts.map +0 -1
  247. package/dist/commands/datasets/ls.d.ts +0 -13
  248. package/dist/commands/datasets/ls.d.ts.map +0 -1
  249. package/dist/commands/datasets/push-items.d.ts +0 -10
  250. package/dist/commands/datasets/push-items.d.ts.map +0 -1
  251. package/dist/commands/datasets/rename.d.ts +0 -13
  252. package/dist/commands/datasets/rename.d.ts.map +0 -1
  253. package/dist/commands/datasets/rm.d.ts +0 -9
  254. package/dist/commands/datasets/rm.d.ts.map +0 -1
  255. package/dist/commands/edit-input-schema.d.ts +0 -11
  256. package/dist/commands/edit-input-schema.d.ts.map +0 -1
  257. package/dist/commands/info.d.ts +0 -6
  258. package/dist/commands/info.d.ts.map +0 -1
  259. package/dist/commands/init-wrap-scrapy.d.ts +0 -10
  260. package/dist/commands/init-wrap-scrapy.d.ts.map +0 -1
  261. package/dist/commands/init.d.ts +0 -12
  262. package/dist/commands/init.d.ts.map +0 -1
  263. package/dist/commands/key-value-stores/create.d.ts +0 -11
  264. package/dist/commands/key-value-stores/create.d.ts.map +0 -1
  265. package/dist/commands/key-value-stores/delete-value.d.ts +0 -11
  266. package/dist/commands/key-value-stores/delete-value.d.ts.map +0 -1
  267. package/dist/commands/key-value-stores/get-value.d.ts +0 -14
  268. package/dist/commands/key-value-stores/get-value.d.ts.map +0 -1
  269. package/dist/commands/key-value-stores/index.d.ts +0 -7
  270. package/dist/commands/key-value-stores/index.d.ts.map +0 -1
  271. package/dist/commands/key-value-stores/index.js +0 -9
  272. package/dist/commands/key-value-stores/index.js.map +0 -1
  273. package/dist/commands/key-value-stores/info.d.ts +0 -28
  274. package/dist/commands/key-value-stores/info.d.ts.map +0 -1
  275. package/dist/commands/key-value-stores/keys.d.ts +0 -15
  276. package/dist/commands/key-value-stores/keys.d.ts.map +0 -1
  277. package/dist/commands/key-value-stores/ls.d.ts +0 -14
  278. package/dist/commands/key-value-stores/ls.d.ts.map +0 -1
  279. package/dist/commands/key-value-stores/rename.d.ts +0 -14
  280. package/dist/commands/key-value-stores/rename.d.ts.map +0 -1
  281. package/dist/commands/key-value-stores/rm.d.ts +0 -10
  282. package/dist/commands/key-value-stores/rm.d.ts.map +0 -1
  283. package/dist/commands/key-value-stores/set-value.d.ts +0 -15
  284. package/dist/commands/key-value-stores/set-value.d.ts.map +0 -1
  285. package/dist/commands/login.d.ts +0 -10
  286. package/dist/commands/login.d.ts.map +0 -1
  287. package/dist/commands/logout.d.ts +0 -6
  288. package/dist/commands/logout.d.ts.map +0 -1
  289. package/dist/commands/pull.d.ts +0 -4
  290. package/dist/commands/pull.d.ts.map +0 -1
  291. package/dist/commands/push.d.ts +0 -4
  292. package/dist/commands/push.d.ts.map +0 -1
  293. package/dist/commands/request-queues/index.d.ts +0 -6
  294. package/dist/commands/request-queues/index.d.ts.map +0 -1
  295. package/dist/commands/request-queues/index.js.map +0 -1
  296. package/dist/commands/run.d.ts +0 -20
  297. package/dist/commands/run.d.ts.map +0 -1
  298. package/dist/commands/runs/abort.d.ts +0 -13
  299. package/dist/commands/runs/abort.d.ts.map +0 -1
  300. package/dist/commands/runs/index.d.ts +0 -6
  301. package/dist/commands/runs/index.d.ts.map +0 -1
  302. package/dist/commands/runs/index.js +0 -8
  303. package/dist/commands/runs/index.js.map +0 -1
  304. package/dist/commands/runs/info.d.ts +0 -48
  305. package/dist/commands/runs/info.d.ts.map +0 -1
  306. package/dist/commands/runs/log.d.ts +0 -9
  307. package/dist/commands/runs/log.d.ts.map +0 -1
  308. package/dist/commands/runs/ls.d.ts +0 -16
  309. package/dist/commands/runs/ls.d.ts.map +0 -1
  310. package/dist/commands/runs/resurrect.d.ts +0 -10
  311. package/dist/commands/runs/resurrect.d.ts.map +0 -1
  312. package/dist/commands/runs/rm.d.ts +0 -9
  313. package/dist/commands/runs/rm.d.ts.map +0 -1
  314. package/dist/commands/secrets/add.d.ts +0 -10
  315. package/dist/commands/secrets/add.d.ts.map +0 -1
  316. package/dist/commands/secrets/index.d.ts +0 -6
  317. package/dist/commands/secrets/index.d.ts.map +0 -1
  318. package/dist/commands/secrets/index.js.map +0 -1
  319. package/dist/commands/secrets/rm.d.ts +0 -9
  320. package/dist/commands/secrets/rm.d.ts.map +0 -1
  321. package/dist/commands/task/index.d.ts +0 -6
  322. package/dist/commands/task/index.d.ts.map +0 -1
  323. package/dist/commands/task/index.js +0 -8
  324. package/dist/commands/task/index.js.map +0 -1
  325. package/dist/commands/task/run.d.ts +0 -15
  326. package/dist/commands/task/run.d.ts.map +0 -1
  327. package/dist/commands/validate-schema.d.ts +0 -10
  328. package/dist/commands/validate-schema.d.ts.map +0 -1
  329. package/dist/hooks/deprecations.d.ts +0 -4
  330. package/dist/hooks/deprecations.d.ts.map +0 -1
  331. package/dist/hooks/deprecations.js +0 -18
  332. package/dist/hooks/deprecations.js.map +0 -1
  333. package/dist/hooks/init.d.ts +0 -7
  334. package/dist/hooks/init.d.ts.map +0 -1
  335. package/dist/hooks/init.js +0 -17
  336. package/dist/hooks/init.js.map +0 -1
  337. package/dist/index.d.ts +0 -2
  338. package/dist/index.d.ts.map +0 -1
  339. package/dist/lib/actor.d.ts +0 -32
  340. package/dist/lib/actor.d.ts.map +0 -1
  341. package/dist/lib/apify-oclif-help.d.ts +0 -15
  342. package/dist/lib/apify-oclif-help.d.ts.map +0 -1
  343. package/dist/lib/apify-oclif-help.js +0 -19
  344. package/dist/lib/apify-oclif-help.js.map +0 -1
  345. package/dist/lib/apify_command.d.ts +0 -17
  346. package/dist/lib/apify_command.d.ts.map +0 -1
  347. package/dist/lib/apify_command.js +0 -76
  348. package/dist/lib/apify_command.js.map +0 -1
  349. package/dist/lib/commands/pretty-print-bytes.d.ts +0 -7
  350. package/dist/lib/commands/pretty-print-bytes.d.ts.map +0 -1
  351. package/dist/lib/commands/pretty-print-status.d.ts +0 -3
  352. package/dist/lib/commands/pretty-print-status.d.ts.map +0 -1
  353. package/dist/lib/commands/read-stdin.d.ts +0 -2
  354. package/dist/lib/commands/read-stdin.d.ts.map +0 -1
  355. package/dist/lib/commands/resolve-actor-context.d.ts +0 -22
  356. package/dist/lib/commands/resolve-actor-context.d.ts.map +0 -1
  357. package/dist/lib/commands/resolve-input.d.ts +0 -9
  358. package/dist/lib/commands/resolve-input.d.ts.map +0 -1
  359. package/dist/lib/commands/responsive-table.d.ts +0 -62
  360. package/dist/lib/commands/responsive-table.d.ts.map +0 -1
  361. package/dist/lib/commands/run-on-cloud.d.ts +0 -22
  362. package/dist/lib/commands/run-on-cloud.d.ts.map +0 -1
  363. package/dist/lib/commands/storage-size.d.ts +0 -6
  364. package/dist/lib/commands/storage-size.d.ts.map +0 -1
  365. package/dist/lib/commands/storages.d.ts +0 -10
  366. package/dist/lib/commands/storages.d.ts.map +0 -1
  367. package/dist/lib/community.d.ts +0 -2
  368. package/dist/lib/community.d.ts.map +0 -1
  369. package/dist/lib/consts.d.ts +0 -56
  370. package/dist/lib/consts.d.ts.map +0 -1
  371. package/dist/lib/create-utils.d.ts +0 -8
  372. package/dist/lib/create-utils.d.ts.map +0 -1
  373. package/dist/lib/exec.d.ts +0 -9
  374. package/dist/lib/exec.d.ts.map +0 -1
  375. package/dist/lib/files.d.ts +0 -14
  376. package/dist/lib/files.d.ts.map +0 -1
  377. package/dist/lib/hooks/runtimes/javascript.d.ts +0 -4
  378. package/dist/lib/hooks/runtimes/javascript.d.ts.map +0 -1
  379. package/dist/lib/hooks/runtimes/python.d.ts +0 -8
  380. package/dist/lib/hooks/runtimes/python.d.ts.map +0 -1
  381. package/dist/lib/hooks/runtimes/utils.d.ts +0 -3
  382. package/dist/lib/hooks/runtimes/utils.d.ts.map +0 -1
  383. package/dist/lib/hooks/useActorConfig.d.ts +0 -20
  384. package/dist/lib/hooks/useActorConfig.d.ts.map +0 -1
  385. package/dist/lib/hooks/useCwdProject.d.ts +0 -33
  386. package/dist/lib/hooks/useCwdProject.d.ts.map +0 -1
  387. package/dist/lib/hooks/useModuleVersion.d.ts +0 -8
  388. package/dist/lib/hooks/useModuleVersion.d.ts.map +0 -1
  389. package/dist/lib/input_schema.d.ts +0 -28
  390. package/dist/lib/input_schema.d.ts.map +0 -1
  391. package/dist/lib/local_state.d.ts +0 -11
  392. package/dist/lib/local_state.d.ts.map +0 -1
  393. package/dist/lib/outputs.d.ts +0 -19
  394. package/dist/lib/outputs.d.ts.map +0 -1
  395. package/dist/lib/project_analyzer.d.ts +0 -4
  396. package/dist/lib/project_analyzer.d.ts.map +0 -1
  397. package/dist/lib/projects/CrawleeAnalyzer.d.ts +0 -4
  398. package/dist/lib/projects/CrawleeAnalyzer.d.ts.map +0 -1
  399. package/dist/lib/projects/OldApifySDKAnalyzer.d.ts +0 -4
  400. package/dist/lib/projects/OldApifySDKAnalyzer.d.ts.map +0 -1
  401. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts +0 -17
  402. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +0 -1
  403. package/dist/lib/projects/scrapy/Spider.d.ts +0 -14
  404. package/dist/lib/projects/scrapy/Spider.d.ts.map +0 -1
  405. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts +0 -7
  406. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts.map +0 -1
  407. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts +0 -4
  408. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +0 -1
  409. package/dist/lib/projects/shared.d.ts +0 -2
  410. package/dist/lib/projects/shared.d.ts.map +0 -1
  411. package/dist/lib/secrets.d.ts +0 -22
  412. package/dist/lib/secrets.d.ts.map +0 -1
  413. package/dist/lib/telemetry.d.ts +0 -21
  414. package/dist/lib/telemetry.d.ts.map +0 -1
  415. package/dist/lib/types.d.ts +0 -11
  416. package/dist/lib/types.d.ts.map +0 -1
  417. package/dist/lib/utils/cliDebugPrint.d.ts +0 -2
  418. package/dist/lib/utils/cliDebugPrint.d.ts.map +0 -1
  419. package/dist/lib/utils/confirm.d.ts +0 -7
  420. package/dist/lib/utils/confirm.d.ts.map +0 -1
  421. package/dist/lib/utils.d.ts +0 -109
  422. package/dist/lib/utils.d.ts.map +0 -1
  423. package/dist/lib/version_check.d.ts +0 -14
  424. package/dist/lib/version_check.d.ts.map +0 -1
  425. package/oclif.manifest.json +0 -2661
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "name": "apify-cli",
3
- "version": "0.21.7",
3
+ "version": "0.21.8-beta.1",
4
4
  "description": "Apify command-line interface (CLI) helps you manage the Apify cloud platform and develop, build, and deploy Apify Actors.",
5
5
  "exports": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "dev": "tsx ./bin/dev.js",
9
+ "dev": "tsx ./src/entrypoints/apify.ts",
10
10
  "test": "vitest run",
11
11
  "test-python": "vitest run -t '.*\\[python\\]'",
12
12
  "test:cucumber": "cross-env NODE_OPTIONS=\"--import tsx\" cucumber-js",
13
- "lint": "eslint src test --ext .ts,.cjs,.mjs",
14
- "lint:fix": "eslint src test --fix --ext .ts,.cjs,.mjs",
13
+ "lint": "eslint src test scripts --ext .ts,.cjs,.mjs",
14
+ "lint:fix": "eslint src test scripts --fix --ext .ts,.cjs,.mjs",
15
15
  "format": "biome format . && prettier --check \"**/*.{md,yml,yaml}\"",
16
16
  "format:fix": "biome format --write . && prettier --write \"**/*.{md,yml,yaml}\"",
17
17
  "clean": "rimraf dist",
18
18
  "build": "yarn clean && tsc && tsc -p tsconfig.typechecking.json",
19
- "postpack": "rimraf oclif.manifest.json",
20
- "prepack": "yarn build && oclif manifest && oclif readme && yarn update-docs",
21
- "update-docs": "tsx scripts/generate-reference.ts",
22
- "postinstallDev": "yarn build && node ./bin/run.js check-version && node ./dist/lib/community.js"
19
+ "build-bundles": "bun run scripts/build-cli-bundles.ts",
20
+ "prepack": "yarn build && yarn update-docs",
21
+ "update-docs": "tsx scripts/generate-cli-docs.ts",
22
+ "postinstallDev": "yarn build && node ./dist/entrypoints/apify.js check-version && node ./dist/lib/community.js"
23
23
  },
24
24
  "files": [
25
- "dist",
26
- "oclif.manifest.json",
27
- "bin"
25
+ "dist"
28
26
  ],
29
27
  "bin": {
30
- "apify": "./bin/run.js"
28
+ "actor": "./dist/entrypoints/actor.js",
29
+ "apify": "./dist/entrypoints/apify.js"
31
30
  },
32
31
  "contributors": [
33
32
  "Jakub Drobník <jakub.drobnik@apify.com>",
34
- "Jan Curn <jan@apify.com>"
33
+ "Jan Curn <jan@apify.com>",
34
+ "Vlad Frangu <vlad.frangu@apify.com>"
35
35
  ],
36
36
  "repository": {
37
37
  "type": "git",
@@ -64,8 +64,6 @@
64
64
  "@apify/input_schema": "^3.12.0",
65
65
  "@apify/utilities": "^2.15.1",
66
66
  "@crawlee/memory-storage": "^3.12.0",
67
- "@oclif/core": "~4.3.0",
68
- "@oclif/plugin-help": "~6.2.8",
69
67
  "@root/walk": "~1.1.0",
70
68
  "@sapphire/duration": "^1.1.2",
71
69
  "@sapphire/result": "^2.7.2",
@@ -86,6 +84,7 @@
86
84
  "express": "~5.1.0",
87
85
  "globby": "~14.1.0",
88
86
  "handlebars": "~4.7.8",
87
+ "indent-string": "^5.0.0",
89
88
  "inquirer": "~12.6.0",
90
89
  "is-ci": "~4.1.0",
91
90
  "is-online": "~11.0.0",
@@ -98,8 +97,14 @@
98
97
  "ow": "~2.0.0",
99
98
  "rimraf": "~6.0.1",
100
99
  "semver": "~7.7.0",
100
+ "string-width": "^7.2.0",
101
+ "strip-ansi": "^7.1.0",
101
102
  "tiged": "~2.12.7",
102
- "which": "^5.0.0"
103
+ "which": "^5.0.0",
104
+ "widest-line": "^5.0.0",
105
+ "wrap-ansi": "^9.0.0",
106
+ "yargonaut": "^1.1.4",
107
+ "yargs": "^17.7.2"
103
108
  },
104
109
  "devDependencies": {
105
110
  "@apify/eslint-config": "^1.0.0",
@@ -107,9 +112,9 @@
107
112
  "@biomejs/biome": "^1.9.4",
108
113
  "@crawlee/types": "^3.11.1",
109
114
  "@cucumber/cucumber": "^11.0.0",
110
- "@oclif/test": "^4.0.8",
111
115
  "@types/adm-zip": "^0.5.5",
112
116
  "@types/archiver": "^6.0.2",
117
+ "@types/bun": "^1.2.5",
113
118
  "@types/chai": "^4.3.17",
114
119
  "@types/cors": "^2.8.17",
115
120
  "@types/execa": "^2.0.2",
@@ -123,6 +128,7 @@
123
128
  "@types/node": "^22.0.0",
124
129
  "@types/semver": "^7.5.8",
125
130
  "@types/which": "^3.0.4",
131
+ "@types/yargs": "^17.0.33",
126
132
  "@yarnpkg/core": "^4.1.2",
127
133
  "apify": "^3.2.4",
128
134
  "chai": "^4.4.1",
@@ -132,37 +138,12 @@
132
138
  "lint-staged": "^16.0.0",
133
139
  "mdast-util-from-markdown": "^2.0.2",
134
140
  "mock-stdin": "^1.0.0",
135
- "oclif": "^4.14.15",
136
141
  "prettier": "^3.5.3",
137
142
  "tsx": "^4.16.5",
138
143
  "typescript": "^5.8.3",
139
144
  "typescript-eslint": "^8.31.0",
140
145
  "vitest": "^3.0.0"
141
146
  },
142
- "oclif": {
143
- "bin": "apify",
144
- "dirname": "apify",
145
- "commands": "./dist/commands",
146
- "plugins": [
147
- "@oclif/plugin-help"
148
- ],
149
- "hooks": {
150
- "init": [
151
- "./dist/hooks/init"
152
- ],
153
- "prerun": [
154
- "./dist/hooks/deprecations"
155
- ]
156
- },
157
- "helpClass": "./dist/lib/apify-oclif-help",
158
- "additionalHelpFlags": [
159
- "-h"
160
- ],
161
- "additionalVersionFlags": [
162
- "-v"
163
- ],
164
- "topicSeparator": " "
165
- },
166
147
  "volta": {
167
148
  "node": "22.15.1",
168
149
  "yarn": "4.9.1"
package/bin/dev.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\dev" %*
package/bin/dev.js DELETED
@@ -1,23 +0,0 @@
1
- import { execute } from '@oclif/core';
2
- import { satisfies } from 'semver';
3
-
4
- import { SUPPORTED_NODEJS_VERSION } from '../src/lib/consts.ts';
5
- import { error } from '../src/lib/outputs.ts';
6
-
7
- if (!satisfies(process.version, SUPPORTED_NODEJS_VERSION)) {
8
- error({
9
- message: `Apify CLI requires Node.js version ${SUPPORTED_NODEJS_VERSION}. Your current version is ${process.version}.`,
10
- });
11
- process.exit(1);
12
- }
13
-
14
- try {
15
- await execute({ development: true, dir: import.meta.url });
16
- } catch (err) {
17
- const exitCode = err.oclif && err.oclif.exit !== undefined ? err.oclif.exit : 1;
18
- if (exitCode !== 0) {
19
- error(err.message);
20
- if (process.env.DEBUG) console.error(err);
21
- process.exit(exitCode);
22
- }
23
- }
package/bin/dev.sh DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/bash
2
-
3
- DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
- "${DIR}"/../node_modules/.bin/tsx "${DIR}"/dev.js "$@"
package/bin/run.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\run" %*
package/bin/run.js DELETED
@@ -1,25 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { execute } from '@oclif/core';
4
- import { satisfies } from 'semver';
5
-
6
- import { SUPPORTED_NODEJS_VERSION } from '../dist/lib/consts.js';
7
- import { error } from '../dist/lib/outputs.js';
8
-
9
- if (!satisfies(process.version, SUPPORTED_NODEJS_VERSION)) {
10
- error({
11
- message: `Apify CLI requires Node.js version ${SUPPORTED_NODEJS_VERSION}. Your current version is ${process.version}.`,
12
- });
13
- process.exit(1);
14
- }
15
-
16
- try {
17
- await execute({ development: false, dir: import.meta.url });
18
- } catch (err) {
19
- const exitCode = err.oclif && err.oclif.exit !== undefined ? err.oclif.exit : 1;
20
- if (exitCode !== 0) {
21
- error(err.message);
22
- if (process.env.DEBUG) console.error(err);
23
- process.exit(exitCode);
24
- }
25
- }
@@ -1,23 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- /**
3
- * This command can be used to charge for a specific event in the pay-per-event Actor run.
4
- * - If run locally or with the --test-pay-per-event flag, it will only log the charge request, without actually charging.
5
- * - If run in the Actor run on Apify platform without the testing flag, it will charge the specified amount of events.
6
- *
7
- * Future TODOs:
8
- * - Add logic to work with the max charge USD to prevent exceeding the charging limit.
9
- * - Add logic to store events in the log dataset for later inspection to aid local development.
10
- */
11
- export declare class ChargeCommand extends ApifyCommand<typeof ChargeCommand> {
12
- static description: string;
13
- static args: {
14
- eventName: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
15
- };
16
- static flags: {
17
- count: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
18
- 'idempotency-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
- 'test-pay-per-event': import("@oclif/core/interfaces").BooleanFlag<boolean>;
20
- };
21
- run(): Promise<void>;
22
- }
23
- //# sourceMappingURL=charge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"charge.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/charge.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACpE,OAAgB,WAAW,SAAiE;IAE5F,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,KAAK;;;;MAenB;IAEI,GAAG;CAgDT"}
@@ -1,6 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class GetInputCommand extends ApifyCommand<typeof GetInputCommand> {
3
- static description: string;
4
- run(): Promise<void>;
5
- }
6
- //# sourceMappingURL=get-input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-input.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/get-input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SACmE;IAExF,GAAG;CAGT"}
@@ -1,9 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class GetPublicUrlCommand extends ApifyCommand<typeof GetPublicUrlCommand> {
3
- static description: string;
4
- static args: {
5
- key: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- };
7
- run(): Promise<void>;
8
- }
9
- //# sourceMappingURL=get-public-url.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-public-url.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/get-public-url.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,qBAAa,mBAAoB,SAAQ,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAChF,OAAgB,WAAW,SAA0E;IAErG,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CA2CT"}
@@ -1,9 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class GetValueCommand extends ApifyCommand<typeof GetValueCommand> {
3
- static description: string;
4
- static args: {
5
- key: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- };
7
- run(): Promise<void>;
8
- }
9
- //# sourceMappingURL=get-value.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-value.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/get-value.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAAkF;IAE7G,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAKT"}
@@ -1,6 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorIndexCommand extends ApifyCommand<typeof ActorIndexCommand> {
3
- static description: string;
4
- run(): Promise<void>;
5
- }
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAAgE;IAErF,GAAG;CAGT"}
@@ -1,8 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export class ActorIndexCommand extends ApifyCommand {
3
- static description = 'Manages runtime data operations inside of a running Actor.';
4
- async run() {
5
- await this.printHelp();
6
- }
7
- }
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/actor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,iBAAkB,SAAQ,YAAsC;IAC5E,MAAM,CAAU,WAAW,GAAG,4DAA4D,CAAC;IAE3F,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class PushDataCommand extends ApifyCommand<typeof PushDataCommand> {
3
- static description: string;
4
- static args: {
5
- item: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
6
- };
7
- run(): Promise<void>;
8
- }
9
- //# sourceMappingURL=push-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"push-data.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/push-data.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAMoB;IAE/C,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAsBT"}
@@ -1,13 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class SetValueCommand extends ApifyCommand<typeof SetValueCommand> {
3
- static description: string;
4
- static args: {
5
- key: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- value: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
7
- };
8
- static flags: {
9
- contentType: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
- };
11
- run(): Promise<void>;
12
- }
13
- //# sourceMappingURL=set-value.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-value.d.ts","sourceRoot":"","sources":["../../../src/commands/actor/set-value.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAMsD;IAEjF,OAAgB,IAAI;;;MAelB;IAEF,OAAgB,KAAK;;MAMnB;IAEI,GAAG;CAqBT"}
@@ -1,4 +0,0 @@
1
- import { BuildsCreateCommand } from '../builds/create.js';
2
- export declare class ActorsBuildCommand extends BuildsCreateCommand {
3
- }
4
- //# sourceMappingURL=build.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,qBAAa,kBAAmB,SAAQ,mBAAmB;CAAG"}
@@ -1,30 +0,0 @@
1
- import { type ActorRun, type ApifyClient } from 'apify-client';
2
- import { ApifyCommand } from '../../lib/apify_command.js';
3
- export declare class ActorsCallCommand extends ApifyCommand<typeof ActorsCallCommand> {
4
- static description: string;
5
- static flags: {
6
- input: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
- 'input-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
- silent: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
- 'output-dataset': import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
- build: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
- timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
- memory: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
- };
14
- static enableJsonFlag: boolean;
15
- static args: {
16
- actorId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
17
- };
18
- run(): Promise<ActorRun | undefined>;
19
- static resolveActorId({ client, localActorName, usernameOrId, providedActorNameOrId, }: {
20
- client: ApifyClient;
21
- localActorName: string | undefined;
22
- usernameOrId: string;
23
- providedActorNameOrId?: string;
24
- }): Promise<{
25
- userFriendlyId: string;
26
- id: string;
27
- actorData: import("apify-client").Actor;
28
- }>;
29
- }
30
- //# sourceMappingURL=call.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/call.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,KAAK,QAAQ,EAGb,KAAK,WAAW,EAGhB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAO1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAE2B;IAEtD,OAAgB,KAAK;;;;;;;;MA2BnB;IAEF,OAAgB,cAAc,UAAQ;IAEtC,OAAgB,IAAI;;MAOlB;IAEI,GAAG;WA8KI,cAAc,CAAC,EAC3B,MAAM,EACN,cAAc,EACd,YAAY,EACZ,qBAAqB,GACrB,EAAE;QACF,MAAM,EAAE,WAAW,CAAC;QACpB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;QACnC,YAAY,EAAE,MAAM,CAAC;QACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAC/B;;;;;CA6DD"}
@@ -1,6 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorIndexCommand extends ApifyCommand<typeof ActorIndexCommand> {
3
- static description: string;
4
- run(): Promise<void>;
5
- }
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAA8E;IAEnG,GAAG;CAGT"}
@@ -1,8 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export class ActorIndexCommand extends ApifyCommand {
3
- static description = 'Manages Actor creation, deployment, and execution on the Apify platform.';
4
- async run() {
5
- await this.printHelp();
6
- }
7
- }
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/actors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,iBAAkB,SAAQ,YAAsC;IAC5E,MAAM,CAAU,WAAW,GAAG,0EAA0E,CAAC;IAEzG,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { Actor, ActorTaggedBuild, Build, User } from 'apify-client';
2
- import { ApifyCommand } from '../../lib/apify_command.js';
3
- interface HydratedActorInfo extends Omit<Actor, 'taggedBuilds'> {
4
- taggedBuilds?: Record<string, ActorTaggedBuild & {
5
- build?: Build;
6
- }>;
7
- actorMaker?: User;
8
- }
9
- export declare class ActorsInfoCommand extends ApifyCommand<typeof ActorsInfoCommand> {
10
- static description: string;
11
- static flags: {
12
- readme: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
- input: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
- };
15
- static args: {
16
- actorId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
17
- };
18
- static enableJsonFlag: boolean;
19
- run(): Promise<HydratedActorInfo | undefined>;
20
- }
21
- export {};
22
- //# sourceMappingURL=info.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/info.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM1D,UAAU,iBAAkB,SAAQ,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG;QAAE,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC,CAAC;IACpE,UAAU,CAAC,EAAE,IAAI,CAAC;CAClB;AA6BD,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAAqC;IAEhE,OAAgB,KAAK;;;MASnB;IAEF,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CAwOT"}
@@ -1,15 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorsLsCommand extends ApifyCommand<typeof ActorsLsCommand> {
3
- static description: string;
4
- static flags: {
5
- my: import("@oclif/core/interfaces").BooleanFlag<boolean>;
6
- offset: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
7
- limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
8
- desc: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
- };
10
- static enableJsonFlag: boolean;
11
- run(): Promise<import("apify-client").ActorCollectionListResult | undefined>;
12
- private sortByModifiedAt;
13
- private sortByLastRun;
14
- }
15
- //# sourceMappingURL=ls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ls.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/ls.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAwF1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAAkE;IAE7F,OAAgB,KAAK;;;;;MAiBnB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;IAuKT,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,aAAa;CAQrB"}
@@ -1,13 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorsPullCommand extends ApifyCommand<typeof ActorsPullCommand> {
3
- static description: string;
4
- static flags: {
5
- version: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
6
- dir: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
- };
8
- static args: {
9
- actorId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
10
- };
11
- run(): Promise<void>;
12
- }
13
- //# sourceMappingURL=pull.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pull.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/pull.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAc1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAEiD;IAE5E,OAAgB,KAAK;;;MAUnB;IAEF,OAAgB,IAAI;;MAOlB;IAEI,GAAG;CA2HT"}
@@ -1,18 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorsPushCommand extends ApifyCommand<typeof ActorsPushCommand> {
3
- static description: string;
4
- static flags: {
5
- version: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
6
- 'build-tag': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
- 'wait-for-finish': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
- 'no-prompt': import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
- force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
- dir: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
- };
12
- static args: {
13
- actorId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
14
- };
15
- catch(caughtError: Error): Promise<void>;
16
- run(): Promise<void>;
17
- }
18
- //# sourceMappingURL=push.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"push.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/push.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AA6B1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAIuB;IAElD,OAAgB,KAAK;;;;;;;MA+BnB;IAEF,OAAgB,IAAI;;MAOlB;IAGa,KAAK,CAAC,WAAW,EAAE,KAAK;IAIjC,GAAG;CAgQT"}
@@ -1,9 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorRmCommand extends ApifyCommand<typeof ActorRmCommand> {
3
- static description: string;
4
- static args: {
5
- actorId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- };
7
- run(): Promise<void>;
8
- }
9
- //# sourceMappingURL=rm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rm.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/rm.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,qBAAa,cAAe,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACtE,OAAgB,WAAW,SAAqD;IAEhF,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAiCT"}
@@ -1,18 +0,0 @@
1
- import type { ActorRun } from 'apify-client';
2
- import { ApifyCommand } from '../../lib/apify_command.js';
3
- export declare class ActorsStartCommand extends ApifyCommand<typeof ActorsStartCommand> {
4
- static description: string;
5
- static flags: {
6
- input: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
- 'input-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
- build: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
- memory: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
- };
12
- static enableJsonFlag: boolean;
13
- static args: {
14
- actorId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
15
- };
16
- run(): Promise<ActorRun | undefined>;
17
- }
18
- //# sourceMappingURL=start.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/commands/actors/start.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAuC,MAAM,cAAc,CAAC;AAGlF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAQ1D,qBAAa,kBAAmB,SAAQ,YAAY,CAAC,OAAO,kBAAkB,CAAC;IAC9E,OAAgB,WAAW,SAEwC;IAEnE,OAAgB,KAAK;;;;;;MAiBnB;IAEF,OAAgB,cAAc,UAAQ;IAEtC,OAAgB,IAAI;;MAOlB;IAEI,GAAG;CA0HT"}
@@ -1,15 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class BuildsCreateCommand extends ApifyCommand<typeof BuildsCreateCommand> {
3
- static description: string;
4
- static flags: {
5
- tag: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
6
- version: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
- log: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
- };
9
- static args: {
10
- actorId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
11
- };
12
- static enableJsonFlag: boolean;
13
- run(): Promise<import("apify-client").Build | undefined>;
14
- }
15
- //# sourceMappingURL=create.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/commands/builds/create.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,qBAAa,mBAAoB,SAAQ,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAChF,OAAgB,WAAW,SAAuC;IAElE,OAAgB,KAAK;;;;MAYnB;IAEF,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CA+HT"}
@@ -1,6 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class ActorIndexCommand extends ApifyCommand<typeof ActorIndexCommand> {
3
- static description: string;
4
- run(): Promise<void>;
5
- }
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/builds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAAa,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC5E,OAAgB,WAAW,SAAmD;IAExE,GAAG;CAGT"}
@@ -1,8 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export class ActorIndexCommand extends ApifyCommand {
3
- static description = 'Manages Actor build processes and versioning.';
4
- async run() {
5
- await this.printHelp();
6
- }
7
- }
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/builds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,iBAAkB,SAAQ,YAAsC;IAC5E,MAAM,CAAU,WAAW,GAAG,+CAA+C,CAAC;IAE9E,KAAK,CAAC,GAAG;QACR,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IACxB,CAAC"}
@@ -1,10 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class BuildInfoCommand extends ApifyCommand<typeof BuildInfoCommand> {
3
- static description: string;
4
- static args: {
5
- buildId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- };
7
- static enableJsonFlag: boolean;
8
- run(): Promise<import("apify-client").Build | undefined>;
9
- }
10
- //# sourceMappingURL=info.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/commands/builds/info.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM1D,qBAAa,gBAAiB,SAAQ,YAAY,CAAC,OAAO,gBAAgB,CAAC;IAC1E,OAAgB,WAAW,SAAgD;IAE3E,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,cAAc,UAAQ;IAEhC,GAAG;CAkFT"}
@@ -1,9 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export declare class BuildLogCommand extends ApifyCommand<typeof BuildLogCommand> {
3
- static description: string;
4
- static args: {
5
- buildId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
6
- };
7
- run(): Promise<void>;
8
- }
9
- //# sourceMappingURL=log.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/commands/builds/log.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,OAAgB,WAAW,SAAyC;IAEpE,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAwBT"}