apify-cli 1.0.0 → 1.1.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/CHANGELOG.md +242 -84
  2. package/LICENSE.md +201 -0
  3. package/README.md +49 -543
  4. package/dist/.tsbuildinfo +1 -1
  5. package/dist/actor.js +3 -0
  6. package/dist/actor.js.map +1 -0
  7. package/dist/apify.js +3 -0
  8. package/dist/apify.js.map +1 -0
  9. package/dist/chunk-C7RW4NOZ.js +242 -0
  10. package/dist/chunk-C7RW4NOZ.js.map +1 -0
  11. package/dist/index.js +2 -3
  12. package/package.json +113 -89
  13. package/bin/dev.cmd +0 -3
  14. package/bin/dev.js +0 -21
  15. package/bin/dev.sh +0 -4
  16. package/bin/run.cmd +0 -3
  17. package/bin/run.js +0 -23
  18. package/dist/commands/actor/get-input.d.ts +0 -6
  19. package/dist/commands/actor/get-input.d.ts.map +0 -1
  20. package/dist/commands/actor/get-input.js +0 -14
  21. package/dist/commands/actor/get-input.js.map +0 -1
  22. package/dist/commands/actor/get-value.d.ts +0 -9
  23. package/dist/commands/actor/get-value.d.ts.map +0 -1
  24. package/dist/commands/actor/get-value.js +0 -27
  25. package/dist/commands/actor/get-value.js.map +0 -1
  26. package/dist/commands/actor/index.d.ts +0 -6
  27. package/dist/commands/actor/index.d.ts.map +0 -1
  28. package/dist/commands/actor/index.js +0 -13
  29. package/dist/commands/actor/index.js.map +0 -1
  30. package/dist/commands/actor/push-data.d.ts +0 -11
  31. package/dist/commands/actor/push-data.d.ts.map +0 -1
  32. package/dist/commands/actor/push-data.js +0 -56
  33. package/dist/commands/actor/push-data.js.map +0 -1
  34. package/dist/commands/actor/set-value.d.ts +0 -15
  35. package/dist/commands/actor/set-value.d.ts.map +0 -1
  36. package/dist/commands/actor/set-value.js +0 -76
  37. package/dist/commands/actor/set-value.js.map +0 -1
  38. package/dist/commands/call.d.ts +0 -19
  39. package/dist/commands/call.d.ts.map +0 -1
  40. package/dist/commands/call.js +0 -193
  41. package/dist/commands/call.js.map +0 -1
  42. package/dist/commands/check-version.d.ts +0 -11
  43. package/dist/commands/check-version.d.ts.map +0 -1
  44. package/dist/commands/check-version.js +0 -39
  45. package/dist/commands/check-version.js.map +0 -1
  46. package/dist/commands/create.d.ts +0 -15
  47. package/dist/commands/create.d.ts.map +0 -1
  48. package/dist/commands/create.js +0 -201
  49. package/dist/commands/create.js.map +0 -1
  50. package/dist/commands/edit-input-schema.d.ts +0 -11
  51. package/dist/commands/edit-input-schema.d.ts.map +0 -1
  52. package/dist/commands/edit-input-schema.js +0 -176
  53. package/dist/commands/edit-input-schema.js.map +0 -1
  54. package/dist/commands/info.d.ts +0 -6
  55. package/dist/commands/info.d.ts.map +0 -1
  56. package/dist/commands/info.js +0 -26
  57. package/dist/commands/info.js.map +0 -1
  58. package/dist/commands/init-wrap-scrapy.d.ts +0 -10
  59. package/dist/commands/init-wrap-scrapy.d.ts.map +0 -1
  60. package/dist/commands/init-wrap-scrapy.js +0 -41
  61. package/dist/commands/init-wrap-scrapy.js.map +0 -1
  62. package/dist/commands/init.d.ts +0 -12
  63. package/dist/commands/init.d.ts.map +0 -1
  64. package/dist/commands/init.js +0 -88
  65. package/dist/commands/init.js.map +0 -1
  66. package/dist/commands/login.d.ts +0 -10
  67. package/dist/commands/login.d.ts.map +0 -1
  68. package/dist/commands/login.js +0 -174
  69. package/dist/commands/login.js.map +0 -1
  70. package/dist/commands/logout.d.ts +0 -6
  71. package/dist/commands/logout.d.ts.map +0 -1
  72. package/dist/commands/logout.js +0 -20
  73. package/dist/commands/logout.js.map +0 -1
  74. package/dist/commands/pull.d.ts +0 -12
  75. package/dist/commands/pull.d.ts.map +0 -1
  76. package/dist/commands/pull.js +0 -148
  77. package/dist/commands/pull.js.map +0 -1
  78. package/dist/commands/push.d.ts +0 -18
  79. package/dist/commands/push.d.ts.map +0 -1
  80. package/dist/commands/push.js +0 -298
  81. package/dist/commands/push.js.map +0 -1
  82. package/dist/commands/run.d.ts +0 -16
  83. package/dist/commands/run.d.ts.map +0 -1
  84. package/dist/commands/run.js +0 -383
  85. package/dist/commands/run.js.map +0 -1
  86. package/dist/commands/secrets/add.d.ts +0 -10
  87. package/dist/commands/secrets/add.d.ts.map +0 -1
  88. package/dist/commands/secrets/add.js +0 -31
  89. package/dist/commands/secrets/add.js.map +0 -1
  90. package/dist/commands/secrets/index.d.ts +0 -6
  91. package/dist/commands/secrets/index.d.ts.map +0 -1
  92. package/dist/commands/secrets/index.js +0 -24
  93. package/dist/commands/secrets/index.js.map +0 -1
  94. package/dist/commands/secrets/rm.d.ts +0 -9
  95. package/dist/commands/secrets/rm.d.ts.map +0 -1
  96. package/dist/commands/secrets/rm.js +0 -27
  97. package/dist/commands/secrets/rm.js.map +0 -1
  98. package/dist/commands/task/index.d.ts +0 -6
  99. package/dist/commands/task/index.d.ts.map +0 -1
  100. package/dist/commands/task/index.js +0 -13
  101. package/dist/commands/task/index.js.map +0 -1
  102. package/dist/commands/task/run.d.ts +0 -16
  103. package/dist/commands/task/run.d.ts.map +0 -1
  104. package/dist/commands/task/run.js +0 -91
  105. package/dist/commands/task/run.js.map +0 -1
  106. package/dist/commands/validate-schema.d.ts +0 -10
  107. package/dist/commands/validate-schema.d.ts.map +0 -1
  108. package/dist/commands/validate-schema.js +0 -58
  109. package/dist/commands/validate-schema.js.map +0 -1
  110. package/dist/hooks/deprecations.d.ts +0 -4
  111. package/dist/hooks/deprecations.d.ts.map +0 -1
  112. package/dist/hooks/deprecations.js +0 -18
  113. package/dist/hooks/deprecations.js.map +0 -1
  114. package/dist/hooks/init.d.ts +0 -7
  115. package/dist/hooks/init.d.ts.map +0 -1
  116. package/dist/hooks/init.js +0 -17
  117. package/dist/hooks/init.js.map +0 -1
  118. package/dist/index.d.ts +0 -2
  119. package/dist/index.d.ts.map +0 -1
  120. package/dist/index.js.map +0 -1
  121. package/dist/lib/actor.d.ts +0 -27
  122. package/dist/lib/actor.d.ts.map +0 -1
  123. package/dist/lib/actor.js +0 -67
  124. package/dist/lib/actor.js.map +0 -1
  125. package/dist/lib/apify-oclif-help.d.ts +0 -15
  126. package/dist/lib/apify-oclif-help.d.ts.map +0 -1
  127. package/dist/lib/apify-oclif-help.js +0 -19
  128. package/dist/lib/apify-oclif-help.js.map +0 -1
  129. package/dist/lib/apify_command.d.ts +0 -21
  130. package/dist/lib/apify_command.d.ts.map +0 -1
  131. package/dist/lib/apify_command.js +0 -104
  132. package/dist/lib/apify_command.js.map +0 -1
  133. package/dist/lib/commands/resolve-input.d.ts +0 -5
  134. package/dist/lib/commands/resolve-input.d.ts.map +0 -1
  135. package/dist/lib/commands/resolve-input.js +0 -29
  136. package/dist/lib/commands/resolve-input.js.map +0 -1
  137. package/dist/lib/commands/run-on-cloud.d.ts +0 -20
  138. package/dist/lib/commands/run-on-cloud.d.ts.map +0 -1
  139. package/dist/lib/commands/run-on-cloud.js +0 -89
  140. package/dist/lib/commands/run-on-cloud.js.map +0 -1
  141. package/dist/lib/community.d.ts +0 -2
  142. package/dist/lib/community.d.ts.map +0 -1
  143. package/dist/lib/community.js +0 -4
  144. package/dist/lib/community.js.map +0 -1
  145. package/dist/lib/consts.d.ts +0 -54
  146. package/dist/lib/consts.d.ts.map +0 -1
  147. package/dist/lib/consts.js +0 -65
  148. package/dist/lib/consts.js.map +0 -1
  149. package/dist/lib/create-utils.d.ts +0 -8
  150. package/dist/lib/create-utils.d.ts.map +0 -1
  151. package/dist/lib/create-utils.js +0 -148
  152. package/dist/lib/create-utils.js.map +0 -1
  153. package/dist/lib/exec.d.ts +0 -3
  154. package/dist/lib/exec.d.ts.map +0 -1
  155. package/dist/lib/exec.js +0 -40
  156. package/dist/lib/exec.js.map +0 -1
  157. package/dist/lib/files.d.ts +0 -14
  158. package/dist/lib/files.d.ts.map +0 -1
  159. package/dist/lib/files.js +0 -58
  160. package/dist/lib/files.js.map +0 -1
  161. package/dist/lib/input_schema.d.ts +0 -28
  162. package/dist/lib/input_schema.d.ts.map +0 -1
  163. package/dist/lib/input_schema.js +0 -126
  164. package/dist/lib/input_schema.js.map +0 -1
  165. package/dist/lib/local_state.d.ts +0 -11
  166. package/dist/lib/local_state.d.ts.map +0 -1
  167. package/dist/lib/local_state.js +0 -27
  168. package/dist/lib/local_state.js.map +0 -1
  169. package/dist/lib/outputs.d.ts +0 -19
  170. package/dist/lib/outputs.d.ts.map +0 -1
  171. package/dist/lib/outputs.js +0 -45
  172. package/dist/lib/outputs.js.map +0 -1
  173. package/dist/lib/project_analyzer.d.ts +0 -4
  174. package/dist/lib/project_analyzer.d.ts.map +0 -1
  175. package/dist/lib/project_analyzer.js +0 -30
  176. package/dist/lib/project_analyzer.js.map +0 -1
  177. package/dist/lib/projects/CrawleeAnalyzer.d.ts +0 -4
  178. package/dist/lib/projects/CrawleeAnalyzer.d.ts.map +0 -1
  179. package/dist/lib/projects/CrawleeAnalyzer.js +0 -20
  180. package/dist/lib/projects/CrawleeAnalyzer.js.map +0 -1
  181. package/dist/lib/projects/OldApifySDKAnalyzer.d.ts +0 -4
  182. package/dist/lib/projects/OldApifySDKAnalyzer.d.ts.map +0 -1
  183. package/dist/lib/projects/OldApifySDKAnalyzer.js +0 -38
  184. package/dist/lib/projects/OldApifySDKAnalyzer.js.map +0 -1
  185. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts +0 -17
  186. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +0 -1
  187. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.js +0 -87
  188. package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.js.map +0 -1
  189. package/dist/lib/projects/scrapy/Spider.d.ts +0 -14
  190. package/dist/lib/projects/scrapy/Spider.d.ts.map +0 -1
  191. package/dist/lib/projects/scrapy/Spider.js +0 -33
  192. package/dist/lib/projects/scrapy/Spider.js.map +0 -1
  193. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts +0 -7
  194. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts.map +0 -1
  195. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.js +0 -25
  196. package/dist/lib/projects/scrapy/SpiderFileAnalyzer.js.map +0 -1
  197. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts +0 -4
  198. package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +0 -1
  199. package/dist/lib/projects/scrapy/wrapScrapyProject.js +0 -109
  200. package/dist/lib/projects/scrapy/wrapScrapyProject.js.map +0 -1
  201. package/dist/lib/projects/shared.d.ts +0 -2
  202. package/dist/lib/projects/shared.d.ts.map +0 -1
  203. package/dist/lib/projects/shared.js +0 -13
  204. package/dist/lib/projects/shared.js.map +0 -1
  205. package/dist/lib/secrets.d.ts +0 -22
  206. package/dist/lib/secrets.d.ts.map +0 -1
  207. package/dist/lib/secrets.js +0 -104
  208. package/dist/lib/secrets.js.map +0 -1
  209. package/dist/lib/telemetry.d.ts +0 -21
  210. package/dist/lib/telemetry.d.ts.map +0 -1
  211. package/dist/lib/telemetry.js +0 -87
  212. package/dist/lib/telemetry.js.map +0 -1
  213. package/dist/lib/types.d.ts +0 -11
  214. package/dist/lib/types.d.ts.map +0 -1
  215. package/dist/lib/types.js +0 -2
  216. package/dist/lib/types.js.map +0 -1
  217. package/dist/lib/utils.d.ts +0 -102
  218. package/dist/lib/utils.d.ts.map +0 -1
  219. package/dist/lib/utils.js +0 -577
  220. package/dist/lib/utils.js.map +0 -1
  221. package/dist/lib/version_check.d.ts +0 -14
  222. package/dist/lib/version_check.d.ts.map +0 -1
  223. package/dist/lib/version_check.js +0 -90
  224. package/dist/lib/version_check.js.map +0 -1
  225. package/oclif.manifest.json +0 -867
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- throw new Error('Apify CLI cannot be used as a library.');
2
- export {};
3
- //# sourceMappingURL=index.js.map
1
+ // src/index.ts
2
+ throw new Error("Apify CLI cannot be used as a library.");
package/package.json CHANGED
@@ -1,33 +1,41 @@
1
1
  {
2
2
  "name": "apify-cli",
3
- "version": "1.0.0",
3
+ "version": "1.1.1-beta.0",
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
- "types": "./dist/index.d.ts",
7
6
  "type": "module",
8
7
  "scripts": {
9
- "dev": "tsx ./bin/dev.js",
10
- "test": "vitest run",
11
- "test-python": "vitest run -t '.*\\[python\\]'",
12
- "lint": "eslint src test .yarn/plugins --ext .ts,.cjs,.mjs",
13
- "lint:fix": "eslint src test .yarn/plugins --fix --ext .ts,.cjs,.mjs",
8
+ "dev:apify": "tsx ./src/entrypoints/apify.ts",
9
+ "dev:actor": "tsx ./src/entrypoints/actor.ts",
10
+ "test:all": "yarn test:local && yarn test:api",
11
+ "test:local": "vitest run --testNamePattern '^((?!\\[api]).)*$' --exclude ./test/api",
12
+ "test:api": "vitest run --testNamePattern '\\[api\\]'",
13
+ "test:python": "vitest run --testNamePattern '\\[python\\]'",
14
+ "test:cucumber": "cross-env NODE_OPTIONS=\"--import tsx\" cucumber-js",
15
+ "lint": "eslint src test scripts features --ext .ts,.cjs,.mjs",
16
+ "lint:fix": "eslint src test scripts features --fix --ext .ts,.cjs,.mjs",
17
+ "format": "biome format . && prettier --check \"**/*.{md,yml,yaml}\"",
18
+ "format:fix": "biome format --write . && prettier --write \"**/*.{md,yml,yaml}\"",
14
19
  "clean": "rimraf dist",
15
- "build": "yarn clean && tsc",
16
- "postpack": "rimraf oclif.manifest.json",
17
- "prepack": "yarn build && oclif manifest && oclif readme && oclif readme --readme-path=docs/reference.md",
18
- "postinstallDev": "yarn build && node ./bin/run.js check-version && node ./dist/lib/community.js"
20
+ "build": "yarn clean && tsc && tsup",
21
+ "build-bundles": "bun run scripts/build-cli-bundles.ts",
22
+ "prepack": "yarn insert-cli-metadata && yarn build && yarn update-docs",
23
+ "insert-cli-metadata": "tsx scripts/insert-cli-metadata.ts",
24
+ "update-docs": "tsx scripts/generate-cli-docs.ts",
25
+ "postinstall": "node -e \"console.log('We have an active developer community on Discord. You can find it on https://discord.gg/crawlee-apify-801163717915574323.');\""
19
26
  },
20
27
  "files": [
21
- "dist",
22
- "oclif.manifest.json",
23
- "bin"
28
+ "dist"
24
29
  ],
25
30
  "bin": {
26
- "apify": "./bin/run.js"
31
+ "actor": "./dist/actor.js",
32
+ "apify": "./dist/apify.js",
33
+ "apify-cli": "./dist/apify.js"
27
34
  },
28
35
  "contributors": [
29
36
  "Jakub Drobník <jakub.drobnik@apify.com>",
30
- "Jan Curn <jan@apify.com>"
37
+ "Jan Curn <jan@apify.com>",
38
+ "Vlad Frangu <vlad.frangu@apify.com>"
31
39
  ],
32
40
  "repository": {
33
41
  "type": "git",
@@ -52,105 +60,121 @@
52
60
  },
53
61
  "homepage": "https://github.com/apify/apify-cli#readme",
54
62
  "engines": {
55
- "node": ">=18"
63
+ "node": ">=20"
56
64
  },
57
65
  "dependencies": {
58
- "@apify/actor-templates": "~0.1.5",
59
- "@apify/consts": "~2.28.0",
60
- "@apify/input_schema": "~3.6.0",
61
- "@apify/utilities": "~2.10.0",
62
- "@crawlee/memory-storage": "~3.10.0",
63
- "@oclif/core": "~4.0.0",
64
- "@oclif/plugin-help": "~6.2.0",
66
+ "@apify/actor-templates": "^0.1.5",
67
+ "@apify/consts": "^2.36.0",
68
+ "@apify/input_schema": "^3.17.0",
69
+ "@apify/utilities": "^2.18.0",
70
+ "@crawlee/memory-storage": "^3.12.0",
71
+ "@inquirer/core": "^10.1.15",
72
+ "@inquirer/input": "^4.2.1",
73
+ "@inquirer/password": "^4.0.17",
74
+ "@inquirer/select": "^4.3.1",
65
75
  "@root/walk": "~1.1.0",
66
- "adm-zip": "~0.5.10",
67
- "ajv": "~8.16.0",
68
- "apify-client": "~2.9.3",
69
- "archiver": "~7.0.0",
70
- "axios": "~1.7.0",
71
- "chalk": "~5.3.0",
76
+ "@sapphire/duration": "^1.1.2",
77
+ "@sapphire/result": "^2.7.2",
78
+ "@sapphire/timestamp": "^1.0.3",
79
+ "@skyra/jaro-winkler": "^1.1.1",
80
+ "adm-zip": "~0.5.15",
81
+ "ajv": "~8.17.1",
82
+ "apify-client": "^2.14.0",
83
+ "archiver": "~7.0.1",
84
+ "axios": "^1.11.0",
85
+ "chalk": "~5.5.0",
86
+ "cli-table3": "^0.6.5",
72
87
  "computer-name": "~0.1.0",
73
88
  "configparser": "~0.3.10",
74
89
  "cors": "~2.8.5",
75
90
  "detect-indent": "~7.0.1",
76
91
  "escape-string-regexp": "~5.0.0",
77
- "express": "~4.19.0",
78
- "globby": "~14.0.1",
92
+ "execa": "^9.5.2",
93
+ "express": "~5.1.0",
94
+ "globby": "~14.1.0",
79
95
  "handlebars": "~4.7.8",
80
- "inquirer": "~9.2.15",
81
- "is-ci": "~3.0.1",
82
- "is-online": "~10.0.0",
96
+ "indent-string": "^5.0.0",
97
+ "is-ci": "~4.1.0",
83
98
  "istextorbinary": "~9.5.0",
84
99
  "jju": "~1.4.0",
85
- "load-json-file": "~7.0.1",
100
+ "js-levenshtein": "^1.1.6",
86
101
  "lodash.clonedeep": "^4.5.0",
87
- "mime": "~4.0.1",
88
- "mixpanel": "~0.18.0",
89
- "open": "~10.1.0",
90
- "ow": "~2.0.0",
91
- "rimraf": "~5.0.5",
92
- "semver": "~7.6.0",
102
+ "mime": "~4.0.4",
103
+ "open": "~10.2.0",
104
+ "rimraf": "~6.0.1",
105
+ "semver": "~7.7.0",
106
+ "string-width": "^7.2.0",
107
+ "strip-ansi": "^7.1.0",
93
108
  "tiged": "~2.12.7",
94
- "underscore": "~1.13.6",
95
- "write-json-file": "~5.0.0"
109
+ "which": "^5.0.0",
110
+ "widest-line": "^5.0.0",
111
+ "wrap-ansi": "^9.0.0"
96
112
  },
97
113
  "devDependencies": {
98
- "@apify/eslint-config": "^0.4.0",
99
- "@apify/eslint-config-ts": "^0.4.1",
100
- "@apify/tsconfig": "^0.1.0",
101
- "@crawlee/types": "^3.8.1",
102
- "@oclif/test": "^4.0.0",
114
+ "@apify/eslint-config": "^1.0.0",
115
+ "@apify/tsconfig": "^0.1.1",
116
+ "@biomejs/biome": "^2.0.0",
117
+ "@crawlee/types": "^3.11.1",
118
+ "@cucumber/cucumber": "^12.0.0",
103
119
  "@types/adm-zip": "^0.5.5",
104
120
  "@types/archiver": "^6.0.2",
105
- "@types/chai": "^4.3.12",
121
+ "@types/bun": "^1.2.5",
122
+ "@types/chai": "^4.3.17",
106
123
  "@types/cors": "^2.8.17",
107
- "@types/express": "^4.17.21",
108
- "@types/inquirer": "^9.0.7",
124
+ "@types/execa": "^2.0.2",
125
+ "@types/express": "^5.0.0",
126
+ "@types/fs-extra": "^11",
109
127
  "@types/is-ci": "^3.0.4",
110
128
  "@types/jju": "^1.4.5",
129
+ "@types/js-levenshtein": "^1",
111
130
  "@types/lodash.clonedeep": "^4",
112
131
  "@types/mime": "^4.0.0",
113
- "@types/node": "^20.11.20",
132
+ "@types/node": "^22.0.0",
114
133
  "@types/semver": "^7.5.8",
115
- "@types/underscore": "^1.11.15",
116
- "@typescript-eslint/eslint-plugin": "^7.0.2",
117
- "@typescript-eslint/parser": "^7.0.2",
118
- "@yarnpkg/core": "^4.0.3",
134
+ "@types/which": "^3.0.4",
135
+ "@yarnpkg/core": "^4.1.2",
136
+ "apify": "^3.2.4",
119
137
  "chai": "^4.4.1",
120
- "eslint": "^8.57.0",
138
+ "cross-env": "^10.0.0",
139
+ "eslint": "^9.25.1",
140
+ "eslint-config-prettier": "^10.1.2",
141
+ "lint-staged": "^16.0.0",
142
+ "mdast-util-from-markdown": "^2.0.2",
121
143
  "mock-stdin": "^1.0.0",
122
- "oclif": "^4.4.18",
123
- "tsx": "^4.7.1",
124
- "typescript": "^5.3.3",
125
- "vitest": "^1.3.1"
126
- },
127
- "oclif": {
128
- "bin": "apify",
129
- "dirname": "apify",
130
- "commands": "./dist/commands",
131
- "plugins": [
132
- "@oclif/plugin-help"
133
- ],
134
- "hooks": {
135
- "init": [
136
- "./dist/hooks/init"
137
- ],
138
- "prerun": [
139
- "./dist/hooks/deprecations"
140
- ]
141
- },
142
- "helpClass": "./dist/lib/apify-oclif-help",
143
- "additionalHelpFlags": [
144
- "-h"
145
- ],
146
- "additionalVersionFlags": [
147
- "-v"
148
- ],
149
- "topicSeparator": " "
144
+ "prettier": "^3.5.3",
145
+ "tsup": "^8.5.0",
146
+ "tsx": "^4.16.5",
147
+ "typescript": "^5.8.3",
148
+ "typescript-eslint": "^8.31.0",
149
+ "vitest": "^3.0.0"
150
150
  },
151
151
  "volta": {
152
- "node": "20.15.0",
153
- "yarn": "4.3.1"
152
+ "node": "22.18.0",
153
+ "yarn": "4.9.2"
154
+ },
155
+ "packageManager": "yarn@4.9.2",
156
+ "devEngines": {
157
+ "runtime": [
158
+ {
159
+ "name": "node",
160
+ "version": ">= 20",
161
+ "onFail": "error"
162
+ },
163
+ {
164
+ "name": "bun",
165
+ "version": ">= 1.2.5",
166
+ "onFail": "ignore"
167
+ }
168
+ ],
169
+ "packageManager": {
170
+ "name": "yarn",
171
+ "version": ">= 4",
172
+ "onFail": "warn"
173
+ }
154
174
  },
155
- "packageManager": "yarn@4.3.1"
175
+ "lint-staged": {
176
+ "*": "biome format --write --no-errors-on-unmatched",
177
+ "*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts",
178
+ "*.md": "prettier --write"
179
+ }
156
180
  }
package/bin/dev.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\dev" %*
package/bin/dev.js DELETED
@@ -1,21 +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(`Apify CLI requires Node.js version ${SUPPORTED_NODEJS_VERSION}. Your current version is ${process.version}.`);
9
- process.exit(1);
10
- }
11
-
12
- try {
13
- await execute({ development: true, dir: import.meta.url });
14
- } catch (err) {
15
- const exitCode = (err.oclif && err.oclif.exit !== undefined) ? err.oclif.exit : 1;
16
- if (exitCode !== 0) {
17
- error(err.message);
18
- if (process.env.DEBUG) console.error(err);
19
- process.exit(exitCode);
20
- }
21
- }
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,23 +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(`Apify CLI requires Node.js version ${SUPPORTED_NODEJS_VERSION}. Your current version is ${process.version}.`);
11
- process.exit(1);
12
- }
13
-
14
- try {
15
- await execute({ development: false, 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
- }
@@ -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;IACrE,OAAgB,WAAW,SAAgG;IAErH,GAAG;CAGZ"}
@@ -1,14 +0,0 @@
1
- import { outputInputFromDefaultStore } from '../../lib/actor.js';
2
- import { ApifyCommand } from '../../lib/apify_command.js';
3
- export class GetInputCommand extends ApifyCommand {
4
- async run() {
5
- await outputInputFromDefaultStore();
6
- }
7
- }
8
- Object.defineProperty(GetInputCommand, "description", {
9
- enumerable: true,
10
- configurable: true,
11
- writable: true,
12
- value: 'Gets the Actor input value from the default key-value store associated with the Actor run.'
13
- });
14
- //# sourceMappingURL=get-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-input.js","sourceRoot":"","sources":["../../../src/commands/actor/get-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,eAAgB,SAAQ,YAAoC;IAGrE,KAAK,CAAC,GAAG;QACL,MAAM,2BAA2B,EAAE,CAAC;IACxC,CAAC;;AAJe;;;;WAAc,4FAA4F;GAAC"}
@@ -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;IACrE,OAAgB,WAAW,SAAkF;IAE7G,OAAgB,IAAI;;MAKlB;IAEI,GAAG;CAKZ"}
@@ -1,27 +0,0 @@
1
- import { Args } from '@oclif/core';
2
- import { outputRecordFromDefaultStore } from '../../lib/actor.js';
3
- import { ApifyCommand } from '../../lib/apify_command.js';
4
- export class GetValueCommand extends ApifyCommand {
5
- async run() {
6
- const { key } = this.args;
7
- await outputRecordFromDefaultStore(key);
8
- }
9
- }
10
- Object.defineProperty(GetValueCommand, "description", {
11
- enumerable: true,
12
- configurable: true,
13
- writable: true,
14
- value: 'Gets a value from the default key-value store associated with the Actor run.'
15
- });
16
- Object.defineProperty(GetValueCommand, "args", {
17
- enumerable: true,
18
- configurable: true,
19
- writable: true,
20
- value: {
21
- key: Args.string({
22
- required: true,
23
- description: 'Key of the record in key-value store',
24
- }),
25
- }
26
- });
27
- //# sourceMappingURL=get-value.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-value.js","sourceRoot":"","sources":["../../../src/commands/actor/get-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,eAAgB,SAAQ,YAAoC;IAUrE,KAAK,CAAC,GAAG;QACL,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAE1B,MAAM,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;;AAbe;;;;WAAc,8EAA8E;GAAC;AAE7F;;;;WAAO;QACnB,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC;YACb,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,sCAAsC;SACtD,CAAC;KACL;GAAC"}
@@ -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;IACzE,OAAgB,WAAW,SAA6H;IAClJ,GAAG;CAGZ"}
@@ -1,13 +0,0 @@
1
- import { ApifyCommand } from '../../lib/apify_command.js';
2
- export class ActorIndexCommand extends ApifyCommand {
3
- async run() {
4
- await this.printHelp();
5
- }
6
- }
7
- Object.defineProperty(ActorIndexCommand, "description", {
8
- enumerable: true,
9
- configurable: true,
10
- writable: true,
11
- value: 'Commands are designed to be used in Actor runs. All commands are in PoC state, do not use in production environments.\n'
12
- });
13
- //# 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;IAEzE,KAAK,CAAC,GAAG;QACL,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;IAC3B,CAAC;;AAHe;;;;WAAc,yHAAyH;GAAC"}
@@ -1,11 +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
- private stdin?;
8
- init(): Promise<void>;
9
- run(): Promise<void>;
10
- }
11
- //# 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;AAE1D,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACrE,OAAgB,WAAW,SAKyB;IAEpD,OAAgB,IAAI;;MAKlB;IAEF,OAAO,CAAC,KAAK,CAAC,CAAS;IAER,IAAI;IAMb,GAAG;CAgBZ"}
@@ -1,56 +0,0 @@
1
- import { Args } from '@oclif/core';
2
- import { APIFY_STORAGE_TYPES, getApifyStorageClient, getDefaultStorageId } from '../../lib/actor.js';
3
- import { ApifyCommand } from '../../lib/apify_command.js';
4
- export class PushDataCommand extends ApifyCommand {
5
- constructor() {
6
- super(...arguments);
7
- Object.defineProperty(this, "stdin", {
8
- enumerable: true,
9
- configurable: true,
10
- writable: true,
11
- value: void 0
12
- });
13
- }
14
- async init() {
15
- await super.init();
16
- // Read data from stdin of the command
17
- this.stdin = await this.readStdin(process.stdin);
18
- }
19
- async run() {
20
- const { item } = this.args;
21
- const apifyClient = await getApifyStorageClient();
22
- const defaultStoreId = getDefaultStorageId(APIFY_STORAGE_TYPES.DATASET);
23
- const data = item || this.stdin;
24
- let parsedData;
25
- try {
26
- parsedData = JSON.parse(data);
27
- }
28
- catch (err) {
29
- throw new Error(`Failed to parse data as JSON string: ${err.message}`);
30
- }
31
- await apifyClient.dataset(defaultStoreId).pushItems(parsedData);
32
- }
33
- }
34
- Object.defineProperty(PushDataCommand, "description", {
35
- enumerable: true,
36
- configurable: true,
37
- writable: true,
38
- value: 'Stores an object or an array of objects to the default dataset of the Actor run.\n'
39
- + 'It is possible to pass data using item argument or stdin.\n'
40
- + 'Passing data using argument:\n'
41
- + '$ apify actor push-data {"foo": "bar"}\n'
42
- + 'Passing data using stdin with pipe:\n'
43
- + '$ cat ./test.json | apify actor push-data\n'
44
- });
45
- Object.defineProperty(PushDataCommand, "args", {
46
- enumerable: true,
47
- configurable: true,
48
- writable: true,
49
- value: {
50
- item: Args.string({
51
- required: false,
52
- description: 'JSON string with one object or array of objects containing data to be stored in the default dataset.',
53
- }),
54
- }
55
- });
56
- //# sourceMappingURL=push-data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"push-data.js","sourceRoot":"","sources":["../../../src/commands/actor/push-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,eAAgB,SAAQ,YAAoC;IAAzE;;QAeY;;;;;WAAe;IAwB3B,CAAC;IAtBY,KAAK,CAAC,IAAI;QACf,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,sCAAsC;QACtC,IAAI,CAAC,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,GAAG;QACL,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAE3B,MAAM,WAAW,GAAG,MAAM,qBAAqB,EAAE,CAAC;QAClD,MAAM,cAAc,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QACxE,MAAM,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC;QAEhC,IAAI,UAA+D,CAAC;QACpE,IAAI,CAAC;YACD,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAK,CAAC,CAAC;QACnC,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,wCAAyC,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC;QACtF,CAAC;QAED,MAAM,WAAW,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IACpE,CAAC;;AArCe;;;;WAAc,oFAAoF;UAC5G,6DAA6D;UAC7D,gCAAgC;UAChC,0CAA0C;UAC1C,uCAAuC;UACvC,6CAA6C;EALxB,CAKyB;AAEpC;;;;WAAO;QACnB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;YACd,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,sGAAsG;SACtH,CAAC;KACL;EALmB,CAKlB"}
@@ -1,15 +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
- private stdin?;
12
- init(): Promise<void>;
13
- run(): Promise<void>;
14
- }
15
- //# 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;IACrE,OAAgB,WAAW,SAK6D;IAExF,OAAgB,IAAI;;;MAYlB;IAEF,OAAgB,KAAK;;MAMnB;IAEF,OAAO,CAAC,KAAK,CAAC,CAAuB;IAEtB,IAAI;IAMb,GAAG;CAgBZ"}
@@ -1,76 +0,0 @@
1
- import { Args, Flags } from '@oclif/core';
2
- import { APIFY_STORAGE_TYPES, getApifyStorageClient, getDefaultStorageId } from '../../lib/actor.js';
3
- import { ApifyCommand } from '../../lib/apify_command.js';
4
- export class SetValueCommand extends ApifyCommand {
5
- constructor() {
6
- super(...arguments);
7
- Object.defineProperty(this, "stdin", {
8
- enumerable: true,
9
- configurable: true,
10
- writable: true,
11
- value: void 0
12
- });
13
- }
14
- async init() {
15
- await super.init();
16
- // Read data from stdin of the command
17
- this.stdin = process.stdin;
18
- }
19
- async run() {
20
- const { stdin } = this;
21
- const { key, value } = this.args;
22
- const { contentType = 'application/json; charset=utf-8' } = this.flags;
23
- // NOTE: If user pass value as argument and data on stdin same time. We use the value from argument.
24
- const recordValue = value || stdin;
25
- const apifyClient = await getApifyStorageClient();
26
- const storeClient = apifyClient.keyValueStore(getDefaultStorageId(APIFY_STORAGE_TYPES.KEY_VALUE_STORE));
27
- if (recordValue === undefined || recordValue === null || recordValue === '' || recordValue === 'null' || recordValue === 'undefined') {
28
- await storeClient.deleteRecord(key);
29
- }
30
- else {
31
- await storeClient.setRecord({ key, value: recordValue, contentType });
32
- }
33
- }
34
- }
35
- Object.defineProperty(SetValueCommand, "description", {
36
- enumerable: true,
37
- configurable: true,
38
- writable: true,
39
- value: 'Sets or removes record into the default KeyValueStore associated with the Actor run.\n'
40
- + 'It is possible to pass data using argument or stdin.\n'
41
- + 'Passing data using argument:\n'
42
- + '$ apify actor set-value KEY my-value\n'
43
- + 'Passing data using stdin with pipe:\n'
44
- + '$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain\n'
45
- });
46
- Object.defineProperty(SetValueCommand, "args", {
47
- enumerable: true,
48
- configurable: true,
49
- writable: true,
50
- value: {
51
- key: Args.string({
52
- required: true,
53
- description: 'Key of the record in key-value store.',
54
- }),
55
- value: Args.string({
56
- required: false,
57
- description: 'Record data, which can be one of the following values:\n'
58
- + '- If empty, the record in the key-value store is deleted.\n'
59
- + '- If no `contentType` flag is specified, value is expected to be any JSON string value.\n'
60
- + '- If options.contentType is set, value is taken as is.',
61
- }),
62
- }
63
- });
64
- Object.defineProperty(SetValueCommand, "flags", {
65
- enumerable: true,
66
- configurable: true,
67
- writable: true,
68
- value: {
69
- contentType: Flags.string({
70
- char: 'c',
71
- description: 'Specifies a custom MIME content type of the record. By default "application/json" is used.',
72
- required: false,
73
- }),
74
- }
75
- });
76
- //# sourceMappingURL=set-value.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-value.js","sourceRoot":"","sources":["../../../src/commands/actor/set-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,OAAO,eAAgB,SAAQ,YAAoC;IAAzE;;QA8BY;;;;;WAA6B;IAwBzC,CAAC;IAtBY,KAAK,CAAC,IAAI;QACf,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,sCAAsC;QACtC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,GAAG;QACL,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QACvB,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QACjC,MAAM,EAAE,WAAW,GAAG,iCAAiC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAEvE,oGAAoG;QACpG,MAAM,WAAW,GAAG,KAAK,IAAI,KAAK,CAAC;QACnC,MAAM,WAAW,GAAG,MAAM,qBAAqB,EAAE,CAAC;QAClD,MAAM,WAAW,GAAG,WAAW,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,CAAC;QAExG,IAAI,WAAW,KAAK,SAAS,IAAI,WAAW,KAAK,IAAI,IAAI,WAAW,KAAK,EAAE,IAAI,WAAW,KAAK,MAAM,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;YACnI,MAAM,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;QACxC,CAAC;aAAM,CAAC;YACJ,MAAM,WAAW,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC,CAAC;QAC1E,CAAC;IACL,CAAC;;AApDe;;;;WAAc,wFAAwF;UAChH,wDAAwD;UACxD,gCAAgC;UAChC,wCAAwC;UACxC,uCAAuC;UACvC,iFAAiF;EAL5D,CAK6D;AAExE;;;;WAAO;QACnB,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC;YACb,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,uCAAuC;SACvD,CAAC;QACF,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC;YACf,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,0DAA0D;kBACrE,6DAA6D;kBAC7D,2FAA2F;kBAC3F,wDAAwD;SAC7D,CAAC;KACL;EAZmB,CAYlB;AAEc;;;;WAAQ;QACpB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC;YACtB,IAAI,EAAE,GAAG;YACT,WAAW,EAAE,4FAA4F;YACzG,QAAQ,EAAE,KAAK;SAClB,CAAC;KACL;EANoB,CAMnB"}
@@ -1,19 +0,0 @@
1
- import { ApifyCommand } from '../lib/apify_command.js';
2
- export declare class ActorCallCommand extends ApifyCommand<typeof ActorCallCommand> {
3
- static description: string;
4
- static flags: {
5
- input: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
6
- 'input-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
- build: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
- timeout: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- memory: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
- 'wait-for-finish': 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
- run(): Promise<void>;
16
- private static resolveActorId;
17
- private resolveInputOverride;
18
- }
19
- //# sourceMappingURL=call.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/commands/call.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAMvD,qBAAa,gBAAiB,SAAQ,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvE,OAAgB,WAAW,SAE6D;IAExF,OAAgB,KAAK;;;;;;;MAiBnB;IAEF,OAAgB,IAAI;;MAMlB;IAEI,GAAG;mBAqDY,cAAc;YAkDrB,oBAAoB;CA6DrC"}