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

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 (35) hide show
  1. package/README.md +113 -35
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/commands/actors/rm.d.ts +9 -0
  4. package/dist/commands/actors/rm.d.ts.map +1 -0
  5. package/dist/commands/actors/rm.js +52 -0
  6. package/dist/commands/actors/rm.js.map +1 -0
  7. package/dist/commands/builds/info.js +1 -1
  8. package/dist/commands/builds/info.js.map +1 -1
  9. package/dist/commands/builds/rm.d.ts +9 -0
  10. package/dist/commands/builds/rm.d.ts.map +1 -0
  11. package/dist/commands/builds/rm.js +66 -0
  12. package/dist/commands/builds/rm.js.map +1 -0
  13. package/dist/commands/runs/info.d.ts +45 -0
  14. package/dist/commands/runs/info.d.ts.map +1 -0
  15. package/dist/commands/runs/info.js +256 -0
  16. package/dist/commands/runs/info.js.map +1 -0
  17. package/dist/commands/runs/rm.d.ts +9 -0
  18. package/dist/commands/runs/rm.d.ts.map +1 -0
  19. package/dist/commands/runs/rm.js +67 -0
  20. package/dist/commands/runs/rm.js.map +1 -0
  21. package/dist/lib/apify_command.d.ts +1 -0
  22. package/dist/lib/apify_command.d.ts.map +1 -1
  23. package/dist/lib/apify_command.js +3 -0
  24. package/dist/lib/apify_command.js.map +1 -1
  25. package/dist/lib/commands/confirm.d.ts +6 -0
  26. package/dist/lib/commands/confirm.d.ts.map +1 -0
  27. package/dist/lib/commands/confirm.js +26 -0
  28. package/dist/lib/commands/confirm.js.map +1 -0
  29. package/dist/lib/commands/pretty-print-bytes.d.ts +1 -1
  30. package/dist/lib/commands/pretty-print-bytes.d.ts.map +1 -1
  31. package/dist/lib/commands/pretty-print-bytes.js +6 -3
  32. package/dist/lib/commands/pretty-print-bytes.js.map +1 -1
  33. package/dist/typechecking.tsbuildinfo +1 -1
  34. package/oclif.manifest.json +179 -59
  35. package/package.json +4 -4
@@ -736,6 +736,32 @@
736
736
  "index.js"
737
737
  ]
738
738
  },
739
+ "actors:rm": {
740
+ "aliases": [],
741
+ "args": {
742
+ "actorId": {
743
+ "description": "The Actor ID to delete.",
744
+ "name": "actorId",
745
+ "required": true
746
+ }
747
+ },
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
+ },
739
765
  "builds:create": {
740
766
  "aliases": [],
741
767
  "args": {},
@@ -939,6 +965,32 @@
939
965
  "ls.js"
940
966
  ]
941
967
  },
968
+ "builds:rm": {
969
+ "aliases": [],
970
+ "args": {
971
+ "buildId": {
972
+ "description": "The build ID to delete.",
973
+ "name": "buildId",
974
+ "required": true
975
+ }
976
+ },
977
+ "description": "Deletes an Actor Build.",
978
+ "flags": {},
979
+ "hasDynamicHelp": false,
980
+ "hiddenAliases": [],
981
+ "id": "builds:rm",
982
+ "pluginAlias": "apify-cli",
983
+ "pluginName": "apify-cli",
984
+ "pluginType": "core",
985
+ "strict": true,
986
+ "isESM": true,
987
+ "relativePath": [
988
+ "dist",
989
+ "commands",
990
+ "builds",
991
+ "rm.js"
992
+ ]
993
+ },
942
994
  "datasets": {
943
995
  "aliases": [],
944
996
  "args": {},
@@ -999,6 +1051,83 @@
999
1051
  "index.js"
1000
1052
  ]
1001
1053
  },
1054
+ "secrets:add": {
1055
+ "aliases": [],
1056
+ "args": {
1057
+ "name": {
1058
+ "description": "Name of the secret",
1059
+ "name": "name",
1060
+ "required": true
1061
+ },
1062
+ "value": {
1063
+ "description": "Value of the secret",
1064
+ "name": "value",
1065
+ "required": true
1066
+ }
1067
+ },
1068
+ "description": "Adds a new secret value.\nThe secrets are stored to a file at ~/.apify",
1069
+ "flags": {},
1070
+ "hasDynamicHelp": false,
1071
+ "hiddenAliases": [],
1072
+ "id": "secrets:add",
1073
+ "pluginAlias": "apify-cli",
1074
+ "pluginName": "apify-cli",
1075
+ "pluginType": "core",
1076
+ "strict": true,
1077
+ "isESM": true,
1078
+ "relativePath": [
1079
+ "dist",
1080
+ "commands",
1081
+ "secrets",
1082
+ "add.js"
1083
+ ]
1084
+ },
1085
+ "secrets": {
1086
+ "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.",
1089
+ "flags": {},
1090
+ "hasDynamicHelp": false,
1091
+ "hiddenAliases": [],
1092
+ "id": "secrets",
1093
+ "pluginAlias": "apify-cli",
1094
+ "pluginName": "apify-cli",
1095
+ "pluginType": "core",
1096
+ "strict": true,
1097
+ "isESM": true,
1098
+ "relativePath": [
1099
+ "dist",
1100
+ "commands",
1101
+ "secrets",
1102
+ "index.js"
1103
+ ]
1104
+ },
1105
+ "secrets:rm": {
1106
+ "aliases": [],
1107
+ "args": {
1108
+ "name": {
1109
+ "description": "Name of the secret",
1110
+ "name": "name",
1111
+ "required": true
1112
+ }
1113
+ },
1114
+ "description": "Removes the secret.",
1115
+ "flags": {},
1116
+ "hasDynamicHelp": false,
1117
+ "hiddenAliases": [],
1118
+ "id": "secrets:rm",
1119
+ "pluginAlias": "apify-cli",
1120
+ "pluginName": "apify-cli",
1121
+ "pluginType": "core",
1122
+ "strict": true,
1123
+ "isESM": true,
1124
+ "relativePath": [
1125
+ "dist",
1126
+ "commands",
1127
+ "secrets",
1128
+ "rm.js"
1129
+ ]
1130
+ },
1002
1131
  "runs:abort": {
1003
1132
  "aliases": [],
1004
1133
  "args": {
@@ -1061,6 +1190,48 @@
1061
1190
  "index.js"
1062
1191
  ]
1063
1192
  },
1193
+ "runs:info": {
1194
+ "aliases": [],
1195
+ "args": {
1196
+ "runId": {
1197
+ "description": "The run ID to print information about.",
1198
+ "name": "runId",
1199
+ "required": true
1200
+ }
1201
+ },
1202
+ "description": "Prints information about an Actor Run.",
1203
+ "flags": {
1204
+ "json": {
1205
+ "description": "Format output as json.",
1206
+ "helpGroup": "GLOBAL",
1207
+ "name": "json",
1208
+ "allowNo": false,
1209
+ "type": "boolean"
1210
+ },
1211
+ "verbose": {
1212
+ "char": "v",
1213
+ "description": "Prints more in-depth information about the Actor Run.",
1214
+ "name": "verbose",
1215
+ "allowNo": false,
1216
+ "type": "boolean"
1217
+ }
1218
+ },
1219
+ "hasDynamicHelp": false,
1220
+ "hiddenAliases": [],
1221
+ "id": "runs:info",
1222
+ "pluginAlias": "apify-cli",
1223
+ "pluginName": "apify-cli",
1224
+ "pluginType": "core",
1225
+ "strict": true,
1226
+ "enableJsonFlag": true,
1227
+ "isESM": true,
1228
+ "relativePath": [
1229
+ "dist",
1230
+ "commands",
1231
+ "runs",
1232
+ "info.js"
1233
+ ]
1234
+ },
1064
1235
  "runs:log": {
1065
1236
  "aliases": [],
1066
1237
  "args": {
@@ -1187,71 +1358,20 @@
1187
1358
  "resurrect.js"
1188
1359
  ]
1189
1360
  },
1190
- "secrets:add": {
1191
- "aliases": [],
1192
- "args": {
1193
- "name": {
1194
- "description": "Name of the secret",
1195
- "name": "name",
1196
- "required": true
1197
- },
1198
- "value": {
1199
- "description": "Value of the secret",
1200
- "name": "value",
1201
- "required": true
1202
- }
1203
- },
1204
- "description": "Adds a new secret value.\nThe secrets are stored to a file at ~/.apify",
1205
- "flags": {},
1206
- "hasDynamicHelp": false,
1207
- "hiddenAliases": [],
1208
- "id": "secrets:add",
1209
- "pluginAlias": "apify-cli",
1210
- "pluginName": "apify-cli",
1211
- "pluginType": "core",
1212
- "strict": true,
1213
- "isESM": true,
1214
- "relativePath": [
1215
- "dist",
1216
- "commands",
1217
- "secrets",
1218
- "add.js"
1219
- ]
1220
- },
1221
- "secrets": {
1222
- "aliases": [],
1223
- "args": {},
1224
- "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.",
1225
- "flags": {},
1226
- "hasDynamicHelp": false,
1227
- "hiddenAliases": [],
1228
- "id": "secrets",
1229
- "pluginAlias": "apify-cli",
1230
- "pluginName": "apify-cli",
1231
- "pluginType": "core",
1232
- "strict": true,
1233
- "isESM": true,
1234
- "relativePath": [
1235
- "dist",
1236
- "commands",
1237
- "secrets",
1238
- "index.js"
1239
- ]
1240
- },
1241
- "secrets:rm": {
1361
+ "runs:rm": {
1242
1362
  "aliases": [],
1243
1363
  "args": {
1244
- "name": {
1245
- "description": "Name of the secret",
1246
- "name": "name",
1364
+ "runId": {
1365
+ "description": "The run ID to delete.",
1366
+ "name": "runId",
1247
1367
  "required": true
1248
1368
  }
1249
1369
  },
1250
- "description": "Removes the secret.",
1370
+ "description": "Deletes an Actor Run.",
1251
1371
  "flags": {},
1252
1372
  "hasDynamicHelp": false,
1253
1373
  "hiddenAliases": [],
1254
- "id": "secrets:rm",
1374
+ "id": "runs:rm",
1255
1375
  "pluginAlias": "apify-cli",
1256
1376
  "pluginName": "apify-cli",
1257
1377
  "pluginType": "core",
@@ -1260,7 +1380,7 @@
1260
1380
  "relativePath": [
1261
1381
  "dist",
1262
1382
  "commands",
1263
- "secrets",
1383
+ "runs",
1264
1384
  "rm.js"
1265
1385
  ]
1266
1386
  },
@@ -1348,5 +1468,5 @@
1348
1468
  ]
1349
1469
  }
1350
1470
  },
1351
- "version": "0.21.0-beta.7"
1471
+ "version": "0.21.0-beta.9"
1352
1472
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-cli",
3
- "version": "0.21.0-beta.7",
3
+ "version": "0.21.0-beta.9",
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",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@apify/actor-templates": "~0.1.5",
62
- "@apify/consts": "~2.29.0",
62
+ "@apify/consts": "~2.30.0",
63
63
  "@apify/input_schema": "~3.8.0",
64
64
  "@apify/utilities": "~2.10.6",
65
65
  "@crawlee/memory-storage": "~3.11.1",
@@ -167,9 +167,9 @@
167
167
  },
168
168
  "volta": {
169
169
  "node": "20.17.0",
170
- "yarn": "4.4.1"
170
+ "yarn": "4.5.0"
171
171
  },
172
- "packageManager": "yarn@4.4.1",
172
+ "packageManager": "yarn@4.5.0",
173
173
  "lint-staged": {
174
174
  "*": "biome format --write --no-errors-on-unmatched",
175
175
  "*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts",