apify-cli 0.21.3 → 0.21.4-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 (94) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +65 -65
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/commands/actors/pull.d.ts.map +1 -1
  5. package/dist/commands/actors/pull.js +8 -11
  6. package/dist/commands/actors/pull.js.map +1 -1
  7. package/dist/commands/actors/push.d.ts.map +1 -1
  8. package/dist/commands/actors/push.js +17 -20
  9. package/dist/commands/actors/push.js.map +1 -1
  10. package/dist/commands/actors/rm.js +1 -1
  11. package/dist/commands/actors/rm.js.map +1 -1
  12. package/dist/commands/builds/rm.js +1 -1
  13. package/dist/commands/builds/rm.js.map +1 -1
  14. package/dist/commands/create.d.ts.map +1 -1
  15. package/dist/commands/create.js +122 -77
  16. package/dist/commands/create.js.map +1 -1
  17. package/dist/commands/datasets/info.d.ts +1 -0
  18. package/dist/commands/datasets/info.d.ts.map +1 -1
  19. package/dist/commands/datasets/rm.js +1 -1
  20. package/dist/commands/datasets/rm.js.map +1 -1
  21. package/dist/commands/init.d.ts.map +1 -1
  22. package/dist/commands/init.js +22 -19
  23. package/dist/commands/init.js.map +1 -1
  24. package/dist/commands/key-value-stores/delete-value.js +1 -1
  25. package/dist/commands/key-value-stores/delete-value.js.map +1 -1
  26. package/dist/commands/key-value-stores/info.d.ts +1 -0
  27. package/dist/commands/key-value-stores/info.d.ts.map +1 -1
  28. package/dist/commands/key-value-stores/rm.js +1 -1
  29. package/dist/commands/key-value-stores/rm.js.map +1 -1
  30. package/dist/commands/run.d.ts.map +1 -1
  31. package/dist/commands/run.js +125 -103
  32. package/dist/commands/run.js.map +1 -1
  33. package/dist/commands/runs/info.d.ts +1 -0
  34. package/dist/commands/runs/info.d.ts.map +1 -1
  35. package/dist/commands/runs/rm.js +1 -1
  36. package/dist/commands/runs/rm.js.map +1 -1
  37. package/dist/lib/apify_command.d.ts.map +1 -1
  38. package/dist/lib/apify_command.js +13 -9
  39. package/dist/lib/apify_command.js.map +1 -1
  40. package/dist/lib/exec.d.ts +7 -1
  41. package/dist/lib/exec.d.ts.map +1 -1
  42. package/dist/lib/exec.js +3 -3
  43. package/dist/lib/exec.js.map +1 -1
  44. package/dist/lib/files.d.ts.map +1 -1
  45. package/dist/lib/files.js +4 -5
  46. package/dist/lib/files.js.map +1 -1
  47. package/dist/lib/hooks/runtimes/javascript.d.ts +4 -0
  48. package/dist/lib/hooks/runtimes/javascript.d.ts.map +1 -0
  49. package/dist/lib/hooks/runtimes/javascript.js +79 -0
  50. package/dist/lib/hooks/runtimes/javascript.js.map +1 -0
  51. package/dist/lib/hooks/runtimes/python.d.ts +8 -0
  52. package/dist/lib/hooks/runtimes/python.d.ts.map +1 -0
  53. package/dist/lib/hooks/runtimes/python.js +80 -0
  54. package/dist/lib/hooks/runtimes/python.js.map +1 -0
  55. package/dist/lib/hooks/useActorConfig.d.ts +20 -0
  56. package/dist/lib/hooks/useActorConfig.d.ts.map +1 -0
  57. package/dist/lib/hooks/useActorConfig.js +175 -0
  58. package/dist/lib/hooks/useActorConfig.js.map +1 -0
  59. package/dist/lib/hooks/useCwdProject.d.ts +33 -0
  60. package/dist/lib/hooks/useCwdProject.d.ts.map +1 -0
  61. package/dist/lib/hooks/useCwdProject.js +142 -0
  62. package/dist/lib/hooks/useCwdProject.js.map +1 -0
  63. package/dist/lib/hooks/useModuleVersion.d.ts +8 -0
  64. package/dist/lib/hooks/useModuleVersion.d.ts.map +1 -0
  65. package/dist/lib/hooks/useModuleVersion.js +95 -0
  66. package/dist/lib/hooks/useModuleVersion.js.map +1 -0
  67. package/dist/lib/input_schema.d.ts.map +1 -1
  68. package/dist/lib/input_schema.js +14 -7
  69. package/dist/lib/input_schema.js.map +1 -1
  70. package/dist/lib/local_state.d.ts +1 -1
  71. package/dist/lib/local_state.d.ts.map +1 -1
  72. package/dist/lib/local_state.js +3 -7
  73. package/dist/lib/local_state.js.map +1 -1
  74. package/dist/lib/secrets.d.ts +1 -1
  75. package/dist/lib/secrets.d.ts.map +1 -1
  76. package/dist/lib/secrets.js +5 -7
  77. package/dist/lib/secrets.js.map +1 -1
  78. package/dist/lib/telemetry.d.ts +1 -1
  79. package/dist/lib/telemetry.d.ts.map +1 -1
  80. package/dist/lib/telemetry.js +5 -8
  81. package/dist/lib/telemetry.js.map +1 -1
  82. package/dist/lib/{commands → utils}/confirm.d.ts +2 -1
  83. package/dist/lib/utils/confirm.d.ts.map +1 -0
  84. package/dist/lib/{commands → utils}/confirm.js +8 -6
  85. package/dist/lib/utils/confirm.js.map +1 -0
  86. package/dist/lib/utils.d.ts +1 -6
  87. package/dist/lib/utils.d.ts.map +1 -1
  88. package/dist/lib/utils.js +13 -200
  89. package/dist/lib/utils.js.map +1 -1
  90. package/dist/typechecking.tsbuildinfo +1 -1
  91. package/oclif.manifest.json +353 -353
  92. package/package.json +8 -10
  93. package/dist/lib/commands/confirm.d.ts.map +0 -1
  94. package/dist/lib/commands/confirm.js.map +0 -1
@@ -586,6 +586,231 @@
586
586
  "validate-schema.js"
587
587
  ]
588
588
  },
589
+ "builds:create": {
590
+ "aliases": [],
591
+ "args": {
592
+ "actorId": {
593
+ "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
594
+ "name": "actorId"
595
+ }
596
+ },
597
+ "description": "Creates a new build of the Actor.",
598
+ "flags": {
599
+ "json": {
600
+ "description": "Format output as json.",
601
+ "helpGroup": "GLOBAL",
602
+ "name": "json",
603
+ "allowNo": false,
604
+ "type": "boolean"
605
+ },
606
+ "tag": {
607
+ "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
608
+ "name": "tag",
609
+ "hasDynamicHelp": false,
610
+ "multiple": false,
611
+ "type": "option"
612
+ },
613
+ "version": {
614
+ "description": "Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is required when multiple versions have the same tag.",
615
+ "name": "version",
616
+ "required": false,
617
+ "hasDynamicHelp": false,
618
+ "multiple": false,
619
+ "type": "option"
620
+ },
621
+ "log": {
622
+ "description": "Whether to print out the build log after the build is triggered.",
623
+ "name": "log",
624
+ "allowNo": false,
625
+ "type": "boolean"
626
+ }
627
+ },
628
+ "hasDynamicHelp": false,
629
+ "hiddenAliases": [],
630
+ "id": "builds:create",
631
+ "pluginAlias": "apify-cli",
632
+ "pluginName": "apify-cli",
633
+ "pluginType": "core",
634
+ "strict": true,
635
+ "enableJsonFlag": true,
636
+ "isESM": true,
637
+ "relativePath": [
638
+ "dist",
639
+ "commands",
640
+ "builds",
641
+ "create.js"
642
+ ]
643
+ },
644
+ "builds": {
645
+ "aliases": [],
646
+ "args": {},
647
+ "description": "Manages Actor build processes and versioning.",
648
+ "flags": {},
649
+ "hasDynamicHelp": false,
650
+ "hiddenAliases": [],
651
+ "id": "builds",
652
+ "pluginAlias": "apify-cli",
653
+ "pluginName": "apify-cli",
654
+ "pluginType": "core",
655
+ "strict": true,
656
+ "isESM": true,
657
+ "relativePath": [
658
+ "dist",
659
+ "commands",
660
+ "builds",
661
+ "index.js"
662
+ ]
663
+ },
664
+ "builds:info": {
665
+ "aliases": [],
666
+ "args": {
667
+ "buildId": {
668
+ "description": "The build ID to get information about.",
669
+ "name": "buildId",
670
+ "required": true
671
+ }
672
+ },
673
+ "description": "Prints information about a specific build.",
674
+ "flags": {
675
+ "json": {
676
+ "description": "Format output as json.",
677
+ "helpGroup": "GLOBAL",
678
+ "name": "json",
679
+ "allowNo": false,
680
+ "type": "boolean"
681
+ }
682
+ },
683
+ "hasDynamicHelp": false,
684
+ "hiddenAliases": [],
685
+ "id": "builds:info",
686
+ "pluginAlias": "apify-cli",
687
+ "pluginName": "apify-cli",
688
+ "pluginType": "core",
689
+ "strict": true,
690
+ "enableJsonFlag": true,
691
+ "isESM": true,
692
+ "relativePath": [
693
+ "dist",
694
+ "commands",
695
+ "builds",
696
+ "info.js"
697
+ ]
698
+ },
699
+ "builds:log": {
700
+ "aliases": [],
701
+ "args": {
702
+ "buildId": {
703
+ "description": "The build ID to get the log from.",
704
+ "name": "buildId",
705
+ "required": true
706
+ }
707
+ },
708
+ "description": "Prints the log of a specific build.",
709
+ "flags": {},
710
+ "hasDynamicHelp": false,
711
+ "hiddenAliases": [],
712
+ "id": "builds:log",
713
+ "pluginAlias": "apify-cli",
714
+ "pluginName": "apify-cli",
715
+ "pluginType": "core",
716
+ "strict": true,
717
+ "isESM": true,
718
+ "relativePath": [
719
+ "dist",
720
+ "commands",
721
+ "builds",
722
+ "log.js"
723
+ ]
724
+ },
725
+ "builds:ls": {
726
+ "aliases": [],
727
+ "args": {
728
+ "actorId": {
729
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
730
+ "name": "actorId"
731
+ }
732
+ },
733
+ "description": "Lists all builds of the Actor.",
734
+ "flags": {
735
+ "json": {
736
+ "description": "Format output as json.",
737
+ "helpGroup": "GLOBAL",
738
+ "name": "json",
739
+ "allowNo": false,
740
+ "type": "boolean"
741
+ },
742
+ "offset": {
743
+ "description": "Number of builds that will be skipped.",
744
+ "name": "offset",
745
+ "default": 0,
746
+ "hasDynamicHelp": false,
747
+ "multiple": false,
748
+ "type": "option"
749
+ },
750
+ "limit": {
751
+ "description": "Number of builds that will be listed.",
752
+ "name": "limit",
753
+ "default": 10,
754
+ "hasDynamicHelp": false,
755
+ "multiple": false,
756
+ "type": "option"
757
+ },
758
+ "desc": {
759
+ "description": "Sort builds in descending order.",
760
+ "name": "desc",
761
+ "allowNo": false,
762
+ "type": "boolean"
763
+ },
764
+ "compact": {
765
+ "char": "c",
766
+ "description": "Display a compact table.",
767
+ "name": "compact",
768
+ "allowNo": false,
769
+ "type": "boolean"
770
+ }
771
+ },
772
+ "hasDynamicHelp": false,
773
+ "hiddenAliases": [],
774
+ "id": "builds:ls",
775
+ "pluginAlias": "apify-cli",
776
+ "pluginName": "apify-cli",
777
+ "pluginType": "core",
778
+ "strict": true,
779
+ "enableJsonFlag": true,
780
+ "isESM": true,
781
+ "relativePath": [
782
+ "dist",
783
+ "commands",
784
+ "builds",
785
+ "ls.js"
786
+ ]
787
+ },
788
+ "builds:rm": {
789
+ "aliases": [],
790
+ "args": {
791
+ "buildId": {
792
+ "description": "The build ID to delete.",
793
+ "name": "buildId",
794
+ "required": true
795
+ }
796
+ },
797
+ "description": "Permanently removes an Actor build from the Apify platform.",
798
+ "flags": {},
799
+ "hasDynamicHelp": false,
800
+ "hiddenAliases": [],
801
+ "id": "builds:rm",
802
+ "pluginAlias": "apify-cli",
803
+ "pluginName": "apify-cli",
804
+ "pluginType": "core",
805
+ "strict": true,
806
+ "isESM": true,
807
+ "relativePath": [
808
+ "dist",
809
+ "commands",
810
+ "builds",
811
+ "rm.js"
812
+ ]
813
+ },
589
814
  "actor:charge": {
590
815
  "aliases": [],
591
816
  "args": {
@@ -1245,262 +1470,63 @@
1245
1470
  "allowNo": false,
1246
1471
  "type": "boolean"
1247
1472
  },
1248
- "build": {
1249
- "char": "b",
1250
- "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1251
- "name": "build",
1252
- "required": false,
1253
- "hasDynamicHelp": false,
1254
- "multiple": false,
1255
- "type": "option"
1256
- },
1257
- "timeout": {
1258
- "char": "t",
1259
- "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1260
- "name": "timeout",
1261
- "required": false,
1262
- "hasDynamicHelp": false,
1263
- "multiple": false,
1264
- "type": "option"
1265
- },
1266
- "memory": {
1267
- "char": "m",
1268
- "description": "Amount of memory allocated for the Actor run, in megabytes.",
1269
- "name": "memory",
1270
- "required": false,
1271
- "hasDynamicHelp": false,
1272
- "multiple": false,
1273
- "type": "option"
1274
- },
1275
- "input": {
1276
- "char": "i",
1277
- "description": "Optional JSON input to be given to the Actor.",
1278
- "exclusive": [
1279
- "input-file"
1280
- ],
1281
- "name": "input",
1282
- "required": false,
1283
- "hasDynamicHelp": false,
1284
- "multiple": false,
1285
- "type": "option"
1286
- },
1287
- "input-file": {
1288
- "aliases": [
1289
- "if"
1290
- ],
1291
- "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
1292
- "exclusive": [
1293
- "input"
1294
- ],
1295
- "name": "input-file",
1296
- "required": false,
1297
- "hasDynamicHelp": false,
1298
- "multiple": false,
1299
- "type": "option"
1300
- }
1301
- },
1302
- "hasDynamicHelp": false,
1303
- "hiddenAliases": [],
1304
- "id": "actors:start",
1305
- "pluginAlias": "apify-cli",
1306
- "pluginName": "apify-cli",
1307
- "pluginType": "core",
1308
- "strict": true,
1309
- "enableJsonFlag": true,
1310
- "isESM": true,
1311
- "relativePath": [
1312
- "dist",
1313
- "commands",
1314
- "actors",
1315
- "start.js"
1316
- ]
1317
- },
1318
- "builds:create": {
1319
- "aliases": [],
1320
- "args": {
1321
- "actorId": {
1322
- "description": "Optional Actor ID or Name to trigger a build for. By default, it will use the Actor from the current directory.",
1323
- "name": "actorId"
1324
- }
1325
- },
1326
- "description": "Creates a new build of the Actor.",
1327
- "flags": {
1328
- "json": {
1329
- "description": "Format output as json.",
1330
- "helpGroup": "GLOBAL",
1331
- "name": "json",
1332
- "allowNo": false,
1333
- "type": "boolean"
1334
- },
1335
- "tag": {
1336
- "description": "Build tag to be applied to the successful Actor build. By default, this is \"latest\".",
1337
- "name": "tag",
1338
- "hasDynamicHelp": false,
1339
- "multiple": false,
1340
- "type": "option"
1341
- },
1342
- "version": {
1343
- "description": "Optional Actor Version to build. By default, this will be inferred from the tag, but this flag is required when multiple versions have the same tag.",
1344
- "name": "version",
1345
- "required": false,
1346
- "hasDynamicHelp": false,
1347
- "multiple": false,
1348
- "type": "option"
1349
- },
1350
- "log": {
1351
- "description": "Whether to print out the build log after the build is triggered.",
1352
- "name": "log",
1353
- "allowNo": false,
1354
- "type": "boolean"
1355
- }
1356
- },
1357
- "hasDynamicHelp": false,
1358
- "hiddenAliases": [],
1359
- "id": "builds:create",
1360
- "pluginAlias": "apify-cli",
1361
- "pluginName": "apify-cli",
1362
- "pluginType": "core",
1363
- "strict": true,
1364
- "enableJsonFlag": true,
1365
- "isESM": true,
1366
- "relativePath": [
1367
- "dist",
1368
- "commands",
1369
- "builds",
1370
- "create.js"
1371
- ]
1372
- },
1373
- "builds": {
1374
- "aliases": [],
1375
- "args": {},
1376
- "description": "Manages Actor build processes and versioning.",
1377
- "flags": {},
1378
- "hasDynamicHelp": false,
1379
- "hiddenAliases": [],
1380
- "id": "builds",
1381
- "pluginAlias": "apify-cli",
1382
- "pluginName": "apify-cli",
1383
- "pluginType": "core",
1384
- "strict": true,
1385
- "isESM": true,
1386
- "relativePath": [
1387
- "dist",
1388
- "commands",
1389
- "builds",
1390
- "index.js"
1391
- ]
1392
- },
1393
- "builds:info": {
1394
- "aliases": [],
1395
- "args": {
1396
- "buildId": {
1397
- "description": "The build ID to get information about.",
1398
- "name": "buildId",
1399
- "required": true
1400
- }
1401
- },
1402
- "description": "Prints information about a specific build.",
1403
- "flags": {
1404
- "json": {
1405
- "description": "Format output as json.",
1406
- "helpGroup": "GLOBAL",
1407
- "name": "json",
1408
- "allowNo": false,
1409
- "type": "boolean"
1410
- }
1411
- },
1412
- "hasDynamicHelp": false,
1413
- "hiddenAliases": [],
1414
- "id": "builds:info",
1415
- "pluginAlias": "apify-cli",
1416
- "pluginName": "apify-cli",
1417
- "pluginType": "core",
1418
- "strict": true,
1419
- "enableJsonFlag": true,
1420
- "isESM": true,
1421
- "relativePath": [
1422
- "dist",
1423
- "commands",
1424
- "builds",
1425
- "info.js"
1426
- ]
1427
- },
1428
- "builds:log": {
1429
- "aliases": [],
1430
- "args": {
1431
- "buildId": {
1432
- "description": "The build ID to get the log from.",
1433
- "name": "buildId",
1434
- "required": true
1435
- }
1436
- },
1437
- "description": "Prints the log of a specific build.",
1438
- "flags": {},
1439
- "hasDynamicHelp": false,
1440
- "hiddenAliases": [],
1441
- "id": "builds:log",
1442
- "pluginAlias": "apify-cli",
1443
- "pluginName": "apify-cli",
1444
- "pluginType": "core",
1445
- "strict": true,
1446
- "isESM": true,
1447
- "relativePath": [
1448
- "dist",
1449
- "commands",
1450
- "builds",
1451
- "log.js"
1452
- ]
1453
- },
1454
- "builds:ls": {
1455
- "aliases": [],
1456
- "args": {
1457
- "actorId": {
1458
- "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1459
- "name": "actorId"
1460
- }
1461
- },
1462
- "description": "Lists all builds of the Actor.",
1463
- "flags": {
1464
- "json": {
1465
- "description": "Format output as json.",
1466
- "helpGroup": "GLOBAL",
1467
- "name": "json",
1468
- "allowNo": false,
1469
- "type": "boolean"
1470
- },
1471
- "offset": {
1472
- "description": "Number of builds that will be skipped.",
1473
- "name": "offset",
1474
- "default": 0,
1473
+ "build": {
1474
+ "char": "b",
1475
+ "description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
1476
+ "name": "build",
1477
+ "required": false,
1475
1478
  "hasDynamicHelp": false,
1476
1479
  "multiple": false,
1477
1480
  "type": "option"
1478
1481
  },
1479
- "limit": {
1480
- "description": "Number of builds that will be listed.",
1481
- "name": "limit",
1482
- "default": 10,
1482
+ "timeout": {
1483
+ "char": "t",
1484
+ "description": "Timeout for the Actor run in seconds. Zero value means there is no timeout.",
1485
+ "name": "timeout",
1486
+ "required": false,
1483
1487
  "hasDynamicHelp": false,
1484
1488
  "multiple": false,
1485
1489
  "type": "option"
1486
1490
  },
1487
- "desc": {
1488
- "description": "Sort builds in descending order.",
1489
- "name": "desc",
1490
- "allowNo": false,
1491
- "type": "boolean"
1491
+ "memory": {
1492
+ "char": "m",
1493
+ "description": "Amount of memory allocated for the Actor run, in megabytes.",
1494
+ "name": "memory",
1495
+ "required": false,
1496
+ "hasDynamicHelp": false,
1497
+ "multiple": false,
1498
+ "type": "option"
1492
1499
  },
1493
- "compact": {
1494
- "char": "c",
1495
- "description": "Display a compact table.",
1496
- "name": "compact",
1497
- "allowNo": false,
1498
- "type": "boolean"
1500
+ "input": {
1501
+ "char": "i",
1502
+ "description": "Optional JSON input to be given to the Actor.",
1503
+ "exclusive": [
1504
+ "input-file"
1505
+ ],
1506
+ "name": "input",
1507
+ "required": false,
1508
+ "hasDynamicHelp": false,
1509
+ "multiple": false,
1510
+ "type": "option"
1511
+ },
1512
+ "input-file": {
1513
+ "aliases": [
1514
+ "if"
1515
+ ],
1516
+ "description": "Optional path to a file with JSON input to be given to the Actor. The file must be a valid JSON file. You can also specify `-` to read from standard input.",
1517
+ "exclusive": [
1518
+ "input"
1519
+ ],
1520
+ "name": "input-file",
1521
+ "required": false,
1522
+ "hasDynamicHelp": false,
1523
+ "multiple": false,
1524
+ "type": "option"
1499
1525
  }
1500
1526
  },
1501
1527
  "hasDynamicHelp": false,
1502
1528
  "hiddenAliases": [],
1503
- "id": "builds:ls",
1529
+ "id": "actors:start",
1504
1530
  "pluginAlias": "apify-cli",
1505
1531
  "pluginName": "apify-cli",
1506
1532
  "pluginType": "core",
@@ -1510,34 +1536,8 @@
1510
1536
  "relativePath": [
1511
1537
  "dist",
1512
1538
  "commands",
1513
- "builds",
1514
- "ls.js"
1515
- ]
1516
- },
1517
- "builds:rm": {
1518
- "aliases": [],
1519
- "args": {
1520
- "buildId": {
1521
- "description": "The build ID to delete.",
1522
- "name": "buildId",
1523
- "required": true
1524
- }
1525
- },
1526
- "description": "Permanently removes an Actor build from the Apify platform.",
1527
- "flags": {},
1528
- "hasDynamicHelp": false,
1529
- "hiddenAliases": [],
1530
- "id": "builds:rm",
1531
- "pluginAlias": "apify-cli",
1532
- "pluginName": "apify-cli",
1533
- "pluginType": "core",
1534
- "strict": true,
1535
- "isESM": true,
1536
- "relativePath": [
1537
- "dist",
1538
- "commands",
1539
- "builds",
1540
- "rm.js"
1539
+ "actors",
1540
+ "start.js"
1541
1541
  ]
1542
1542
  },
1543
1543
  "datasets:create": {
@@ -1838,6 +1838,26 @@
1838
1838
  "rm.js"
1839
1839
  ]
1840
1840
  },
1841
+ "request-queues": {
1842
+ "aliases": [],
1843
+ "args": {},
1844
+ "description": "Manages URL queues for web scraping and automation tasks.",
1845
+ "flags": {},
1846
+ "hasDynamicHelp": false,
1847
+ "hiddenAliases": [],
1848
+ "id": "request-queues",
1849
+ "pluginAlias": "apify-cli",
1850
+ "pluginName": "apify-cli",
1851
+ "pluginType": "core",
1852
+ "strict": true,
1853
+ "isESM": true,
1854
+ "relativePath": [
1855
+ "dist",
1856
+ "commands",
1857
+ "request-queues",
1858
+ "index.js"
1859
+ ]
1860
+ },
1841
1861
  "key-value-stores:create": {
1842
1862
  "aliases": [],
1843
1863
  "args": {
@@ -2231,14 +2251,45 @@
2231
2251
  "set-value.js"
2232
2252
  ]
2233
2253
  },
2234
- "request-queues": {
2254
+ "secrets:add": {
2255
+ "aliases": [],
2256
+ "args": {
2257
+ "name": {
2258
+ "description": "Name of the secret",
2259
+ "name": "name",
2260
+ "required": true
2261
+ },
2262
+ "value": {
2263
+ "description": "Value of the secret",
2264
+ "name": "value",
2265
+ "required": true
2266
+ }
2267
+ },
2268
+ "description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
2269
+ "flags": {},
2270
+ "hasDynamicHelp": false,
2271
+ "hiddenAliases": [],
2272
+ "id": "secrets:add",
2273
+ "pluginAlias": "apify-cli",
2274
+ "pluginName": "apify-cli",
2275
+ "pluginType": "core",
2276
+ "strict": true,
2277
+ "isESM": true,
2278
+ "relativePath": [
2279
+ "dist",
2280
+ "commands",
2281
+ "secrets",
2282
+ "add.js"
2283
+ ]
2284
+ },
2285
+ "secrets": {
2235
2286
  "aliases": [],
2236
2287
  "args": {},
2237
- "description": "Manages URL queues for web scraping and automation tasks.",
2288
+ "description": "Manages secure environment variables for Actors.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nThe \"mySecret\" value can be used in an environment variable defined in '.actor/actor.json' file by adding the \"@\"\nprefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\"\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable\nof the Actor.",
2238
2289
  "flags": {},
2239
2290
  "hasDynamicHelp": false,
2240
2291
  "hiddenAliases": [],
2241
- "id": "request-queues",
2292
+ "id": "secrets",
2242
2293
  "pluginAlias": "apify-cli",
2243
2294
  "pluginName": "apify-cli",
2244
2295
  "pluginType": "core",
@@ -2247,10 +2298,36 @@
2247
2298
  "relativePath": [
2248
2299
  "dist",
2249
2300
  "commands",
2250
- "request-queues",
2301
+ "secrets",
2251
2302
  "index.js"
2252
2303
  ]
2253
2304
  },
2305
+ "secrets:rm": {
2306
+ "aliases": [],
2307
+ "args": {
2308
+ "name": {
2309
+ "description": "Name of the secret",
2310
+ "name": "name",
2311
+ "required": true
2312
+ }
2313
+ },
2314
+ "description": "Permanently deletes a secret from your stored credentials.",
2315
+ "flags": {},
2316
+ "hasDynamicHelp": false,
2317
+ "hiddenAliases": [],
2318
+ "id": "secrets:rm",
2319
+ "pluginAlias": "apify-cli",
2320
+ "pluginName": "apify-cli",
2321
+ "pluginType": "core",
2322
+ "strict": true,
2323
+ "isESM": true,
2324
+ "relativePath": [
2325
+ "dist",
2326
+ "commands",
2327
+ "secrets",
2328
+ "rm.js"
2329
+ ]
2330
+ },
2254
2331
  "runs:abort": {
2255
2332
  "aliases": [],
2256
2333
  "args": {
@@ -2505,83 +2582,6 @@
2505
2582
  "rm.js"
2506
2583
  ]
2507
2584
  },
2508
- "secrets:add": {
2509
- "aliases": [],
2510
- "args": {
2511
- "name": {
2512
- "description": "Name of the secret",
2513
- "name": "name",
2514
- "required": true
2515
- },
2516
- "value": {
2517
- "description": "Value of the secret",
2518
- "name": "value",
2519
- "required": true
2520
- }
2521
- },
2522
- "description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
2523
- "flags": {},
2524
- "hasDynamicHelp": false,
2525
- "hiddenAliases": [],
2526
- "id": "secrets:add",
2527
- "pluginAlias": "apify-cli",
2528
- "pluginName": "apify-cli",
2529
- "pluginType": "core",
2530
- "strict": true,
2531
- "isESM": true,
2532
- "relativePath": [
2533
- "dist",
2534
- "commands",
2535
- "secrets",
2536
- "add.js"
2537
- ]
2538
- },
2539
- "secrets": {
2540
- "aliases": [],
2541
- "args": {},
2542
- "description": "Manages secure environment variables for Actors.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nThe \"mySecret\" value can be used in an environment variable defined in '.actor/actor.json' file by adding the \"@\"\nprefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\"\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable\nof the Actor.",
2543
- "flags": {},
2544
- "hasDynamicHelp": false,
2545
- "hiddenAliases": [],
2546
- "id": "secrets",
2547
- "pluginAlias": "apify-cli",
2548
- "pluginName": "apify-cli",
2549
- "pluginType": "core",
2550
- "strict": true,
2551
- "isESM": true,
2552
- "relativePath": [
2553
- "dist",
2554
- "commands",
2555
- "secrets",
2556
- "index.js"
2557
- ]
2558
- },
2559
- "secrets:rm": {
2560
- "aliases": [],
2561
- "args": {
2562
- "name": {
2563
- "description": "Name of the secret",
2564
- "name": "name",
2565
- "required": true
2566
- }
2567
- },
2568
- "description": "Permanently deletes a secret from your stored credentials.",
2569
- "flags": {},
2570
- "hasDynamicHelp": false,
2571
- "hiddenAliases": [],
2572
- "id": "secrets:rm",
2573
- "pluginAlias": "apify-cli",
2574
- "pluginName": "apify-cli",
2575
- "pluginType": "core",
2576
- "strict": true,
2577
- "isESM": true,
2578
- "relativePath": [
2579
- "dist",
2580
- "commands",
2581
- "secrets",
2582
- "rm.js"
2583
- ]
2584
- },
2585
2585
  "task": {
2586
2586
  "aliases": [],
2587
2587
  "args": {},
@@ -2657,5 +2657,5 @@
2657
2657
  ]
2658
2658
  }
2659
2659
  },
2660
- "version": "0.21.3"
2660
+ "version": "0.21.4-beta.0"
2661
2661
  }