apify-cli 0.21.2-beta.5 → 0.21.2

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.
@@ -586,215 +586,6 @@
586
586
  "validate-schema.js"
587
587
  ]
588
588
  },
589
- "actor:charge": {
590
- "aliases": [],
591
- "args": {
592
- "eventName": {
593
- "description": "Name of the event to charge for",
594
- "name": "eventName",
595
- "required": true
596
- }
597
- },
598
- "description": "Charge for a specific event in the pay-per-event Actor run.",
599
- "flags": {
600
- "count": {
601
- "description": "Number of events to charge",
602
- "name": "count",
603
- "required": false,
604
- "default": 1,
605
- "hasDynamicHelp": false,
606
- "multiple": false,
607
- "type": "option"
608
- },
609
- "idempotency-key": {
610
- "description": "Idempotency key for the charge request",
611
- "name": "idempotency-key",
612
- "required": false,
613
- "hasDynamicHelp": false,
614
- "multiple": false,
615
- "type": "option"
616
- },
617
- "test-pay-per-event": {
618
- "description": "Test pay-per-event charging without actually charging",
619
- "name": "test-pay-per-event",
620
- "required": false,
621
- "allowNo": false,
622
- "type": "boolean"
623
- }
624
- },
625
- "hasDynamicHelp": false,
626
- "hiddenAliases": [],
627
- "id": "actor:charge",
628
- "pluginAlias": "apify-cli",
629
- "pluginName": "apify-cli",
630
- "pluginType": "core",
631
- "strict": true,
632
- "isESM": true,
633
- "relativePath": [
634
- "dist",
635
- "commands",
636
- "actor",
637
- "charge.js"
638
- ]
639
- },
640
- "actor:get-input": {
641
- "aliases": [],
642
- "args": {},
643
- "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
644
- "flags": {},
645
- "hasDynamicHelp": false,
646
- "hiddenAliases": [],
647
- "id": "actor:get-input",
648
- "pluginAlias": "apify-cli",
649
- "pluginName": "apify-cli",
650
- "pluginType": "core",
651
- "strict": true,
652
- "isESM": true,
653
- "relativePath": [
654
- "dist",
655
- "commands",
656
- "actor",
657
- "get-input.js"
658
- ]
659
- },
660
- "actor:get-public-url": {
661
- "aliases": [],
662
- "args": {
663
- "key": {
664
- "description": "Key of the record in key-value store",
665
- "name": "key",
666
- "required": true
667
- }
668
- },
669
- "description": "Get an HTTP URL that allows public access to a key-value store item.",
670
- "flags": {},
671
- "hasDynamicHelp": false,
672
- "hiddenAliases": [],
673
- "id": "actor:get-public-url",
674
- "pluginAlias": "apify-cli",
675
- "pluginName": "apify-cli",
676
- "pluginType": "core",
677
- "strict": true,
678
- "isESM": true,
679
- "relativePath": [
680
- "dist",
681
- "commands",
682
- "actor",
683
- "get-public-url.js"
684
- ]
685
- },
686
- "actor:get-value": {
687
- "aliases": [],
688
- "args": {
689
- "key": {
690
- "description": "Key of the record in key-value store",
691
- "name": "key",
692
- "required": true
693
- }
694
- },
695
- "description": "Gets a value from the default key-value store associated with the Actor run.",
696
- "flags": {},
697
- "hasDynamicHelp": false,
698
- "hiddenAliases": [],
699
- "id": "actor:get-value",
700
- "pluginAlias": "apify-cli",
701
- "pluginName": "apify-cli",
702
- "pluginType": "core",
703
- "strict": true,
704
- "isESM": true,
705
- "relativePath": [
706
- "dist",
707
- "commands",
708
- "actor",
709
- "get-value.js"
710
- ]
711
- },
712
- "actor": {
713
- "aliases": [],
714
- "args": {},
715
- "description": "Manages runtime data operations inside of a running Actor.",
716
- "flags": {},
717
- "hasDynamicHelp": false,
718
- "hiddenAliases": [],
719
- "id": "actor",
720
- "pluginAlias": "apify-cli",
721
- "pluginName": "apify-cli",
722
- "pluginType": "core",
723
- "strict": true,
724
- "isESM": true,
725
- "relativePath": [
726
- "dist",
727
- "commands",
728
- "actor",
729
- "index.js"
730
- ]
731
- },
732
- "actor:push-data": {
733
- "aliases": [],
734
- "args": {
735
- "item": {
736
- "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
737
- "name": "item"
738
- }
739
- },
740
- "description": "Saves data to Actor's run default dataset.\n\nAccept input as:\n - JSON argument:\n $ apify actor push-data {\"key\": \"value\"}\n - Piped stdin:\n $ cat ./test.json | apify actor push-data",
741
- "flags": {},
742
- "hasDynamicHelp": false,
743
- "hiddenAliases": [],
744
- "id": "actor:push-data",
745
- "pluginAlias": "apify-cli",
746
- "pluginName": "apify-cli",
747
- "pluginType": "core",
748
- "strict": true,
749
- "isESM": true,
750
- "relativePath": [
751
- "dist",
752
- "commands",
753
- "actor",
754
- "push-data.js"
755
- ]
756
- },
757
- "actor:set-value": {
758
- "aliases": [],
759
- "args": {
760
- "key": {
761
- "description": "Key of the record in key-value store.",
762
- "name": "key",
763
- "required": true
764
- },
765
- "value": {
766
- "description": "Record data, which can be one of the following values:\n- If empty, the record in the key-value store is deleted.\n- If no `contentType` flag is specified, value is expected to be any JSON string value.\n- If options.contentType is set, value is taken as is.",
767
- "name": "value",
768
- "required": false
769
- }
770
- },
771
- "description": "Sets or removes record into the default key-value store associated with the Actor run.\n\nIt is possible to pass data using argument or stdin.\n\nPassing data using argument:\n$ apify actor set-value KEY my-value\n\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain",
772
- "flags": {
773
- "contentType": {
774
- "char": "c",
775
- "description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
776
- "name": "contentType",
777
- "required": false,
778
- "hasDynamicHelp": false,
779
- "multiple": false,
780
- "type": "option"
781
- }
782
- },
783
- "hasDynamicHelp": false,
784
- "hiddenAliases": [],
785
- "id": "actor:set-value",
786
- "pluginAlias": "apify-cli",
787
- "pluginName": "apify-cli",
788
- "pluginType": "core",
789
- "strict": true,
790
- "isESM": true,
791
- "relativePath": [
792
- "dist",
793
- "commands",
794
- "actor",
795
- "set-value.js"
796
- ]
797
- },
798
589
  "actors:build": {
799
590
  "aliases": [],
800
591
  "args": {
@@ -1540,44 +1331,253 @@
1540
1331
  "rm.js"
1541
1332
  ]
1542
1333
  },
1543
- "datasets:create": {
1334
+ "actor:charge": {
1544
1335
  "aliases": [],
1545
1336
  "args": {
1546
- "datasetName": {
1547
- "description": "Optional name for the Dataset",
1548
- "name": "datasetName",
1549
- "required": false
1337
+ "eventName": {
1338
+ "description": "Name of the event to charge for",
1339
+ "name": "eventName",
1340
+ "required": true
1550
1341
  }
1551
1342
  },
1552
- "description": "Creates a new dataset for storing structured data on your account.",
1343
+ "description": "Charge for a specific event in the pay-per-event Actor run.",
1553
1344
  "flags": {
1554
- "json": {
1555
- "description": "Format output as json.",
1556
- "helpGroup": "GLOBAL",
1557
- "name": "json",
1345
+ "count": {
1346
+ "description": "Number of events to charge",
1347
+ "name": "count",
1348
+ "required": false,
1349
+ "default": 1,
1350
+ "hasDynamicHelp": false,
1351
+ "multiple": false,
1352
+ "type": "option"
1353
+ },
1354
+ "idempotency-key": {
1355
+ "description": "Idempotency key for the charge request",
1356
+ "name": "idempotency-key",
1357
+ "required": false,
1358
+ "hasDynamicHelp": false,
1359
+ "multiple": false,
1360
+ "type": "option"
1361
+ },
1362
+ "test-pay-per-event": {
1363
+ "description": "Test pay-per-event charging without actually charging",
1364
+ "name": "test-pay-per-event",
1365
+ "required": false,
1558
1366
  "allowNo": false,
1559
1367
  "type": "boolean"
1560
1368
  }
1561
1369
  },
1562
1370
  "hasDynamicHelp": false,
1563
1371
  "hiddenAliases": [],
1564
- "id": "datasets:create",
1372
+ "id": "actor:charge",
1565
1373
  "pluginAlias": "apify-cli",
1566
1374
  "pluginName": "apify-cli",
1567
1375
  "pluginType": "core",
1568
1376
  "strict": true,
1569
- "enableJsonFlag": true,
1570
1377
  "isESM": true,
1571
1378
  "relativePath": [
1572
1379
  "dist",
1573
1380
  "commands",
1574
- "datasets",
1575
- "create.js"
1381
+ "actor",
1382
+ "charge.js"
1576
1383
  ]
1577
1384
  },
1578
- "datasets:get-items": {
1385
+ "actor:get-input": {
1579
1386
  "aliases": [],
1580
- "args": {
1387
+ "args": {},
1388
+ "description": "Gets the Actor input value from the default key-value store associated with the Actor run.",
1389
+ "flags": {},
1390
+ "hasDynamicHelp": false,
1391
+ "hiddenAliases": [],
1392
+ "id": "actor:get-input",
1393
+ "pluginAlias": "apify-cli",
1394
+ "pluginName": "apify-cli",
1395
+ "pluginType": "core",
1396
+ "strict": true,
1397
+ "isESM": true,
1398
+ "relativePath": [
1399
+ "dist",
1400
+ "commands",
1401
+ "actor",
1402
+ "get-input.js"
1403
+ ]
1404
+ },
1405
+ "actor:get-public-url": {
1406
+ "aliases": [],
1407
+ "args": {
1408
+ "key": {
1409
+ "description": "Key of the record in key-value store",
1410
+ "name": "key",
1411
+ "required": true
1412
+ }
1413
+ },
1414
+ "description": "Get an HTTP URL that allows public access to a key-value store item.",
1415
+ "flags": {},
1416
+ "hasDynamicHelp": false,
1417
+ "hiddenAliases": [],
1418
+ "id": "actor:get-public-url",
1419
+ "pluginAlias": "apify-cli",
1420
+ "pluginName": "apify-cli",
1421
+ "pluginType": "core",
1422
+ "strict": true,
1423
+ "isESM": true,
1424
+ "relativePath": [
1425
+ "dist",
1426
+ "commands",
1427
+ "actor",
1428
+ "get-public-url.js"
1429
+ ]
1430
+ },
1431
+ "actor:get-value": {
1432
+ "aliases": [],
1433
+ "args": {
1434
+ "key": {
1435
+ "description": "Key of the record in key-value store",
1436
+ "name": "key",
1437
+ "required": true
1438
+ }
1439
+ },
1440
+ "description": "Gets a value from the default key-value store associated with the Actor run.",
1441
+ "flags": {},
1442
+ "hasDynamicHelp": false,
1443
+ "hiddenAliases": [],
1444
+ "id": "actor:get-value",
1445
+ "pluginAlias": "apify-cli",
1446
+ "pluginName": "apify-cli",
1447
+ "pluginType": "core",
1448
+ "strict": true,
1449
+ "isESM": true,
1450
+ "relativePath": [
1451
+ "dist",
1452
+ "commands",
1453
+ "actor",
1454
+ "get-value.js"
1455
+ ]
1456
+ },
1457
+ "actor": {
1458
+ "aliases": [],
1459
+ "args": {},
1460
+ "description": "Manages runtime data operations inside of a running Actor.",
1461
+ "flags": {},
1462
+ "hasDynamicHelp": false,
1463
+ "hiddenAliases": [],
1464
+ "id": "actor",
1465
+ "pluginAlias": "apify-cli",
1466
+ "pluginName": "apify-cli",
1467
+ "pluginType": "core",
1468
+ "strict": true,
1469
+ "isESM": true,
1470
+ "relativePath": [
1471
+ "dist",
1472
+ "commands",
1473
+ "actor",
1474
+ "index.js"
1475
+ ]
1476
+ },
1477
+ "actor:push-data": {
1478
+ "aliases": [],
1479
+ "args": {
1480
+ "item": {
1481
+ "description": "JSON string with one object or array of objects containing data to be stored in the default dataset.",
1482
+ "name": "item"
1483
+ }
1484
+ },
1485
+ "description": "Saves data to Actor's run default dataset.\n\nAccept input as:\n - JSON argument:\n $ apify actor push-data {\"key\": \"value\"}\n - Piped stdin:\n $ cat ./test.json | apify actor push-data",
1486
+ "flags": {},
1487
+ "hasDynamicHelp": false,
1488
+ "hiddenAliases": [],
1489
+ "id": "actor:push-data",
1490
+ "pluginAlias": "apify-cli",
1491
+ "pluginName": "apify-cli",
1492
+ "pluginType": "core",
1493
+ "strict": true,
1494
+ "isESM": true,
1495
+ "relativePath": [
1496
+ "dist",
1497
+ "commands",
1498
+ "actor",
1499
+ "push-data.js"
1500
+ ]
1501
+ },
1502
+ "actor:set-value": {
1503
+ "aliases": [],
1504
+ "args": {
1505
+ "key": {
1506
+ "description": "Key of the record in key-value store.",
1507
+ "name": "key",
1508
+ "required": true
1509
+ },
1510
+ "value": {
1511
+ "description": "Record data, which can be one of the following values:\n- If empty, the record in the key-value store is deleted.\n- If no `contentType` flag is specified, value is expected to be any JSON string value.\n- If options.contentType is set, value is taken as is.",
1512
+ "name": "value",
1513
+ "required": false
1514
+ }
1515
+ },
1516
+ "description": "Sets or removes record into the default key-value store associated with the Actor run.\n\nIt is possible to pass data using argument or stdin.\n\nPassing data using argument:\n$ apify actor set-value KEY my-value\n\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain",
1517
+ "flags": {
1518
+ "contentType": {
1519
+ "char": "c",
1520
+ "description": "Specifies a custom MIME content type of the record. By default \"application/json\" is used.",
1521
+ "name": "contentType",
1522
+ "required": false,
1523
+ "hasDynamicHelp": false,
1524
+ "multiple": false,
1525
+ "type": "option"
1526
+ }
1527
+ },
1528
+ "hasDynamicHelp": false,
1529
+ "hiddenAliases": [],
1530
+ "id": "actor:set-value",
1531
+ "pluginAlias": "apify-cli",
1532
+ "pluginName": "apify-cli",
1533
+ "pluginType": "core",
1534
+ "strict": true,
1535
+ "isESM": true,
1536
+ "relativePath": [
1537
+ "dist",
1538
+ "commands",
1539
+ "actor",
1540
+ "set-value.js"
1541
+ ]
1542
+ },
1543
+ "datasets:create": {
1544
+ "aliases": [],
1545
+ "args": {
1546
+ "datasetName": {
1547
+ "description": "Optional name for the Dataset",
1548
+ "name": "datasetName",
1549
+ "required": false
1550
+ }
1551
+ },
1552
+ "description": "Creates a new dataset for storing structured data on your account.",
1553
+ "flags": {
1554
+ "json": {
1555
+ "description": "Format output as json.",
1556
+ "helpGroup": "GLOBAL",
1557
+ "name": "json",
1558
+ "allowNo": false,
1559
+ "type": "boolean"
1560
+ }
1561
+ },
1562
+ "hasDynamicHelp": false,
1563
+ "hiddenAliases": [],
1564
+ "id": "datasets:create",
1565
+ "pluginAlias": "apify-cli",
1566
+ "pluginName": "apify-cli",
1567
+ "pluginType": "core",
1568
+ "strict": true,
1569
+ "enableJsonFlag": true,
1570
+ "isESM": true,
1571
+ "relativePath": [
1572
+ "dist",
1573
+ "commands",
1574
+ "datasets",
1575
+ "create.js"
1576
+ ]
1577
+ },
1578
+ "datasets:get-items": {
1579
+ "aliases": [],
1580
+ "args": {
1581
1581
  "datasetId": {
1582
1582
  "description": "The ID of the Dataset to export the items for",
1583
1583
  "name": "datasetId",
@@ -1838,16 +1838,16 @@
1838
1838
  "rm.js"
1839
1839
  ]
1840
1840
  },
1841
- "key-value-stores:create": {
1841
+ "runs:abort": {
1842
1842
  "aliases": [],
1843
1843
  "args": {
1844
- "keyValueStoreName": {
1845
- "description": "Optional name for the key-value store",
1846
- "name": "keyValueStoreName",
1847
- "required": false
1844
+ "runId": {
1845
+ "description": "The run ID to abort.",
1846
+ "name": "runId",
1847
+ "required": true
1848
1848
  }
1849
1849
  },
1850
- "description": "Creates a new key-value store on your account.",
1850
+ "description": "Aborts an Actor run.",
1851
1851
  "flags": {
1852
1852
  "json": {
1853
1853
  "description": "Format output as json.",
@@ -1855,13 +1855,18 @@
1855
1855
  "name": "json",
1856
1856
  "allowNo": false,
1857
1857
  "type": "boolean"
1858
+ },
1859
+ "force": {
1860
+ "char": "f",
1861
+ "description": "Whether to force the run to abort immediately, instead of gracefully.",
1862
+ "name": "force",
1863
+ "allowNo": false,
1864
+ "type": "boolean"
1858
1865
  }
1859
1866
  },
1860
1867
  "hasDynamicHelp": false,
1861
- "hiddenAliases": [
1862
- "kvs:create"
1863
- ],
1864
- "id": "key-value-stores:create",
1868
+ "hiddenAliases": [],
1869
+ "id": "runs:abort",
1865
1870
  "pluginAlias": "apify-cli",
1866
1871
  "pluginName": "apify-cli",
1867
1872
  "pluginType": "core",
@@ -1871,31 +1876,18 @@
1871
1876
  "relativePath": [
1872
1877
  "dist",
1873
1878
  "commands",
1874
- "key-value-stores",
1875
- "create.js"
1879
+ "runs",
1880
+ "abort.js"
1876
1881
  ]
1877
1882
  },
1878
- "key-value-stores:delete-value": {
1883
+ "runs": {
1879
1884
  "aliases": [],
1880
- "args": {
1881
- "storeId": {
1882
- "description": "The key-value store ID to delete the value from.",
1883
- "name": "storeId",
1884
- "required": true
1885
- },
1886
- "itemKey": {
1887
- "description": "The key of the item in the key-value store.",
1888
- "name": "itemKey",
1889
- "required": true
1890
- }
1891
- },
1892
- "description": "Delete a value from a key-value store.",
1885
+ "args": {},
1886
+ "description": "Manages Actor run operations ",
1893
1887
  "flags": {},
1894
1888
  "hasDynamicHelp": false,
1895
- "hiddenAliases": [
1896
- "kvs:delete-value"
1897
- ],
1898
- "id": "key-value-stores:delete-value",
1889
+ "hiddenAliases": [],
1890
+ "id": "runs",
1899
1891
  "pluginAlias": "apify-cli",
1900
1892
  "pluginName": "apify-cli",
1901
1893
  "pluginType": "core",
@@ -1904,82 +1896,20 @@
1904
1896
  "relativePath": [
1905
1897
  "dist",
1906
1898
  "commands",
1907
- "key-value-stores",
1908
- "delete-value.js"
1899
+ "runs",
1900
+ "index.js"
1909
1901
  ]
1910
1902
  },
1911
- "key-value-stores:get-value": {
1903
+ "runs:info": {
1912
1904
  "aliases": [],
1913
1905
  "args": {
1914
- "keyValueStoreId": {
1915
- "description": "The key-value store ID to get the value from.",
1916
- "name": "keyValueStoreId",
1917
- "required": true
1918
- },
1919
- "itemKey": {
1920
- "description": "The key of the item in the key-value store.",
1921
- "name": "itemKey",
1922
- "required": true
1923
- }
1924
- },
1925
- "description": "Retrieves stored value for specified key. Use --only-content-type to check MIME type.",
1926
- "flags": {
1927
- "only-content-type": {
1928
- "description": "Only return the content type of the specified key",
1929
- "name": "only-content-type",
1930
- "allowNo": false,
1931
- "type": "boolean"
1932
- }
1933
- },
1934
- "hasDynamicHelp": false,
1935
- "hiddenAliases": [
1936
- "kvs:get-value"
1937
- ],
1938
- "id": "key-value-stores:get-value",
1939
- "pluginAlias": "apify-cli",
1940
- "pluginName": "apify-cli",
1941
- "pluginType": "core",
1942
- "strict": true,
1943
- "isESM": true,
1944
- "relativePath": [
1945
- "dist",
1946
- "commands",
1947
- "key-value-stores",
1948
- "get-value.js"
1949
- ]
1950
- },
1951
- "key-value-stores": {
1952
- "aliases": [],
1953
- "args": {},
1954
- "description": "Manages persistent key-value storage.\n\nAlias: kvs",
1955
- "flags": {},
1956
- "hasDynamicHelp": false,
1957
- "hiddenAliases": [
1958
- "kvs"
1959
- ],
1960
- "id": "key-value-stores",
1961
- "pluginAlias": "apify-cli",
1962
- "pluginName": "apify-cli",
1963
- "pluginType": "core",
1964
- "strict": true,
1965
- "isESM": true,
1966
- "relativePath": [
1967
- "dist",
1968
- "commands",
1969
- "key-value-stores",
1970
- "index.js"
1971
- ]
1972
- },
1973
- "key-value-stores:info": {
1974
- "aliases": [],
1975
- "args": {
1976
- "storeId": {
1977
- "description": "The key-value store ID to print information about.",
1978
- "name": "storeId",
1906
+ "runId": {
1907
+ "description": "The run ID to print information about.",
1908
+ "name": "runId",
1979
1909
  "required": true
1980
1910
  }
1981
1911
  },
1982
- "description": "Shows information about a key-value store.",
1912
+ "description": "Prints information about an Actor run.",
1983
1913
  "flags": {
1984
1914
  "json": {
1985
1915
  "description": "Format output as json.",
@@ -1987,13 +1917,18 @@
1987
1917
  "name": "json",
1988
1918
  "allowNo": false,
1989
1919
  "type": "boolean"
1920
+ },
1921
+ "verbose": {
1922
+ "char": "v",
1923
+ "description": "Prints more in-depth information about the Actor run.",
1924
+ "name": "verbose",
1925
+ "allowNo": false,
1926
+ "type": "boolean"
1990
1927
  }
1991
1928
  },
1992
1929
  "hasDynamicHelp": false,
1993
- "hiddenAliases": [
1994
- "kvs:info"
1995
- ],
1996
- "id": "key-value-stores:info",
1930
+ "hiddenAliases": [],
1931
+ "id": "runs:info",
1997
1932
  "pluginAlias": "apify-cli",
1998
1933
  "pluginName": "apify-cli",
1999
1934
  "pluginType": "core",
@@ -2003,66 +1938,45 @@
2003
1938
  "relativePath": [
2004
1939
  "dist",
2005
1940
  "commands",
2006
- "key-value-stores",
1941
+ "runs",
2007
1942
  "info.js"
2008
1943
  ]
2009
1944
  },
2010
- "key-value-stores:keys": {
1945
+ "runs:log": {
2011
1946
  "aliases": [],
2012
1947
  "args": {
2013
- "storeId": {
2014
- "description": "The key-value store ID to list keys for.",
2015
- "name": "storeId",
1948
+ "runId": {
1949
+ "description": "The run ID to get the log from.",
1950
+ "name": "runId",
2016
1951
  "required": true
2017
1952
  }
2018
1953
  },
2019
- "description": "Lists all keys in a key-value store.",
2020
- "flags": {
2021
- "json": {
2022
- "description": "Format output as json.",
2023
- "helpGroup": "GLOBAL",
2024
- "name": "json",
2025
- "allowNo": false,
2026
- "type": "boolean"
2027
- },
2028
- "limit": {
2029
- "description": "The maximum number of keys to return.",
2030
- "name": "limit",
2031
- "default": 20,
2032
- "hasDynamicHelp": false,
2033
- "multiple": false,
2034
- "type": "option"
2035
- },
2036
- "exclusive-start-key": {
2037
- "description": "The key to start the list from.",
2038
- "name": "exclusive-start-key",
2039
- "hasDynamicHelp": false,
2040
- "multiple": false,
2041
- "type": "option"
2042
- }
2043
- },
1954
+ "description": "Prints the log of a specific run.",
1955
+ "flags": {},
2044
1956
  "hasDynamicHelp": false,
2045
- "hiddenAliases": [
2046
- "kvs:keys"
2047
- ],
2048
- "id": "key-value-stores:keys",
1957
+ "hiddenAliases": [],
1958
+ "id": "runs:log",
2049
1959
  "pluginAlias": "apify-cli",
2050
1960
  "pluginName": "apify-cli",
2051
1961
  "pluginType": "core",
2052
1962
  "strict": true,
2053
- "enableJsonFlag": true,
2054
1963
  "isESM": true,
2055
1964
  "relativePath": [
2056
1965
  "dist",
2057
1966
  "commands",
2058
- "key-value-stores",
2059
- "keys.js"
1967
+ "runs",
1968
+ "log.js"
2060
1969
  ]
2061
1970
  },
2062
- "key-value-stores:ls": {
1971
+ "runs:ls": {
2063
1972
  "aliases": [],
2064
- "args": {},
2065
- "description": "Lists all key-value stores on your account.",
1973
+ "args": {
1974
+ "actorId": {
1975
+ "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
1976
+ "name": "actorId"
1977
+ }
1978
+ },
1979
+ "description": "Lists all runs of the Actor.",
2066
1980
  "flags": {
2067
1981
  "json": {
2068
1982
  "description": "Format output as json.",
@@ -2072,7 +1986,7 @@
2072
1986
  "type": "boolean"
2073
1987
  },
2074
1988
  "offset": {
2075
- "description": "Number of key-value stores that will be skipped.",
1989
+ "description": "Number of runs that will be skipped.",
2076
1990
  "name": "offset",
2077
1991
  "default": 0,
2078
1992
  "hasDynamicHelp": false,
@@ -2080,31 +1994,30 @@
2080
1994
  "type": "option"
2081
1995
  },
2082
1996
  "limit": {
2083
- "description": "Number of key-value stores that will be listed.",
1997
+ "description": "Number of runs that will be listed.",
2084
1998
  "name": "limit",
2085
- "default": 20,
1999
+ "default": 10,
2086
2000
  "hasDynamicHelp": false,
2087
2001
  "multiple": false,
2088
2002
  "type": "option"
2089
2003
  },
2090
2004
  "desc": {
2091
- "description": "Sorts key-value stores in descending order.",
2005
+ "description": "Sort runs in descending order.",
2092
2006
  "name": "desc",
2093
2007
  "allowNo": false,
2094
2008
  "type": "boolean"
2095
2009
  },
2096
- "unnamed": {
2097
- "description": "Lists key-value stores that don't have a name set.",
2098
- "name": "unnamed",
2010
+ "compact": {
2011
+ "char": "c",
2012
+ "description": "Display a compact table.",
2013
+ "name": "compact",
2099
2014
  "allowNo": false,
2100
2015
  "type": "boolean"
2101
2016
  }
2102
2017
  },
2103
2018
  "hasDynamicHelp": false,
2104
- "hiddenAliases": [
2105
- "kvs:ls"
2106
- ],
2107
- "id": "key-value-stores:ls",
2019
+ "hiddenAliases": [],
2020
+ "id": "runs:ls",
2108
2021
  "pluginAlias": "apify-cli",
2109
2022
  "pluginName": "apify-cli",
2110
2023
  "pluginType": "core",
@@ -2114,65 +2027,59 @@
2114
2027
  "relativePath": [
2115
2028
  "dist",
2116
2029
  "commands",
2117
- "key-value-stores",
2030
+ "runs",
2118
2031
  "ls.js"
2119
2032
  ]
2120
2033
  },
2121
- "key-value-stores:rename": {
2034
+ "runs:resurrect": {
2122
2035
  "aliases": [],
2123
2036
  "args": {
2124
- "keyValueStoreNameOrId": {
2125
- "description": "The key-value store ID or name to delete",
2126
- "name": "keyValueStoreNameOrId",
2037
+ "runId": {
2038
+ "description": "The run ID to resurrect.",
2039
+ "name": "runId",
2127
2040
  "required": true
2128
- },
2129
- "newName": {
2130
- "description": "The new name for the key-value store",
2131
- "name": "newName"
2132
2041
  }
2133
2042
  },
2134
- "description": "Renames a key-value store, or removes its unique name.",
2043
+ "description": "Resurrects an aborted or finished Actor Run.",
2135
2044
  "flags": {
2136
- "unname": {
2137
- "description": "Removes the unique name of the key-value store",
2138
- "name": "unname",
2045
+ "json": {
2046
+ "description": "Format output as json.",
2047
+ "helpGroup": "GLOBAL",
2048
+ "name": "json",
2139
2049
  "allowNo": false,
2140
2050
  "type": "boolean"
2141
2051
  }
2142
2052
  },
2143
2053
  "hasDynamicHelp": false,
2144
- "hiddenAliases": [
2145
- "kvs:rename"
2146
- ],
2147
- "id": "key-value-stores:rename",
2054
+ "hiddenAliases": [],
2055
+ "id": "runs:resurrect",
2148
2056
  "pluginAlias": "apify-cli",
2149
2057
  "pluginName": "apify-cli",
2150
2058
  "pluginType": "core",
2151
2059
  "strict": true,
2060
+ "enableJsonFlag": true,
2152
2061
  "isESM": true,
2153
2062
  "relativePath": [
2154
2063
  "dist",
2155
2064
  "commands",
2156
- "key-value-stores",
2157
- "rename.js"
2065
+ "runs",
2066
+ "resurrect.js"
2158
2067
  ]
2159
2068
  },
2160
- "key-value-stores:rm": {
2069
+ "runs:rm": {
2161
2070
  "aliases": [],
2162
2071
  "args": {
2163
- "keyValueStoreNameOrId": {
2164
- "description": "The key-value store ID or name to delete",
2165
- "name": "keyValueStoreNameOrId",
2072
+ "runId": {
2073
+ "description": "The run ID to delete.",
2074
+ "name": "runId",
2166
2075
  "required": true
2167
2076
  }
2168
2077
  },
2169
- "description": "Permanently removes a key-value store.",
2078
+ "description": "Deletes an Actor Run.",
2170
2079
  "flags": {},
2171
2080
  "hasDynamicHelp": false,
2172
- "hiddenAliases": [
2173
- "kvs:rm"
2174
- ],
2175
- "id": "key-value-stores:rm",
2081
+ "hiddenAliases": [],
2082
+ "id": "runs:rm",
2176
2083
  "pluginAlias": "apify-cli",
2177
2084
  "pluginName": "apify-cli",
2178
2085
  "pluginType": "core",
@@ -2181,44 +2088,75 @@
2181
2088
  "relativePath": [
2182
2089
  "dist",
2183
2090
  "commands",
2184
- "key-value-stores",
2091
+ "runs",
2185
2092
  "rm.js"
2186
2093
  ]
2187
2094
  },
2188
- "key-value-stores:set-value": {
2095
+ "secrets:add": {
2189
2096
  "aliases": [],
2190
2097
  "args": {
2191
- "storeId": {
2192
- "description": "The key-value store ID to set the value in.",
2193
- "name": "storeId",
2194
- "required": true
2195
- },
2196
- "itemKey": {
2197
- "description": "The key of the item in the key-value store.",
2198
- "name": "itemKey",
2098
+ "name": {
2099
+ "description": "Name of the secret",
2100
+ "name": "name",
2199
2101
  "required": true
2200
2102
  },
2201
2103
  "value": {
2202
- "description": "The value to set.",
2203
- "name": "value"
2104
+ "description": "Value of the secret",
2105
+ "name": "value",
2106
+ "required": true
2204
2107
  }
2205
2108
  },
2206
- "description": "Stores value with specified key. Set content-type with --content-type flag.",
2207
- "flags": {
2208
- "content-type": {
2209
- "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
2210
- "name": "content-type",
2211
- "default": "application/json",
2212
- "hasDynamicHelp": false,
2213
- "multiple": false,
2214
- "type": "option"
2109
+ "description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
2110
+ "flags": {},
2111
+ "hasDynamicHelp": false,
2112
+ "hiddenAliases": [],
2113
+ "id": "secrets:add",
2114
+ "pluginAlias": "apify-cli",
2115
+ "pluginName": "apify-cli",
2116
+ "pluginType": "core",
2117
+ "strict": true,
2118
+ "isESM": true,
2119
+ "relativePath": [
2120
+ "dist",
2121
+ "commands",
2122
+ "secrets",
2123
+ "add.js"
2124
+ ]
2125
+ },
2126
+ "secrets": {
2127
+ "aliases": [],
2128
+ "args": {},
2129
+ "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.",
2130
+ "flags": {},
2131
+ "hasDynamicHelp": false,
2132
+ "hiddenAliases": [],
2133
+ "id": "secrets",
2134
+ "pluginAlias": "apify-cli",
2135
+ "pluginName": "apify-cli",
2136
+ "pluginType": "core",
2137
+ "strict": true,
2138
+ "isESM": true,
2139
+ "relativePath": [
2140
+ "dist",
2141
+ "commands",
2142
+ "secrets",
2143
+ "index.js"
2144
+ ]
2145
+ },
2146
+ "secrets:rm": {
2147
+ "aliases": [],
2148
+ "args": {
2149
+ "name": {
2150
+ "description": "Name of the secret",
2151
+ "name": "name",
2152
+ "required": true
2215
2153
  }
2216
2154
  },
2155
+ "description": "Permanently deletes a secret from your stored credentials.",
2156
+ "flags": {},
2217
2157
  "hasDynamicHelp": false,
2218
- "hiddenAliases": [
2219
- "kvs:set-value"
2220
- ],
2221
- "id": "key-value-stores:set-value",
2158
+ "hiddenAliases": [],
2159
+ "id": "secrets:rm",
2222
2160
  "pluginAlias": "apify-cli",
2223
2161
  "pluginName": "apify-cli",
2224
2162
  "pluginType": "core",
@@ -2227,8 +2165,8 @@
2227
2165
  "relativePath": [
2228
2166
  "dist",
2229
2167
  "commands",
2230
- "key-value-stores",
2231
- "set-value.js"
2168
+ "secrets",
2169
+ "rm.js"
2232
2170
  ]
2233
2171
  },
2234
2172
  "request-queues": {
@@ -2251,16 +2189,16 @@
2251
2189
  "index.js"
2252
2190
  ]
2253
2191
  },
2254
- "runs:abort": {
2192
+ "key-value-stores:create": {
2255
2193
  "aliases": [],
2256
2194
  "args": {
2257
- "runId": {
2258
- "description": "The run ID to abort.",
2259
- "name": "runId",
2260
- "required": true
2195
+ "keyValueStoreName": {
2196
+ "description": "Optional name for the key-value store",
2197
+ "name": "keyValueStoreName",
2198
+ "required": false
2261
2199
  }
2262
2200
  },
2263
- "description": "Aborts an Actor run.",
2201
+ "description": "Creates a new key-value store on your account.",
2264
2202
  "flags": {
2265
2203
  "json": {
2266
2204
  "description": "Format output as json.",
@@ -2268,39 +2206,109 @@
2268
2206
  "name": "json",
2269
2207
  "allowNo": false,
2270
2208
  "type": "boolean"
2209
+ }
2210
+ },
2211
+ "hasDynamicHelp": false,
2212
+ "hiddenAliases": [
2213
+ "kvs:create"
2214
+ ],
2215
+ "id": "key-value-stores:create",
2216
+ "pluginAlias": "apify-cli",
2217
+ "pluginName": "apify-cli",
2218
+ "pluginType": "core",
2219
+ "strict": true,
2220
+ "enableJsonFlag": true,
2221
+ "isESM": true,
2222
+ "relativePath": [
2223
+ "dist",
2224
+ "commands",
2225
+ "key-value-stores",
2226
+ "create.js"
2227
+ ]
2228
+ },
2229
+ "key-value-stores:delete-value": {
2230
+ "aliases": [],
2231
+ "args": {
2232
+ "storeId": {
2233
+ "description": "The key-value store ID to delete the value from.",
2234
+ "name": "storeId",
2235
+ "required": true
2271
2236
  },
2272
- "force": {
2273
- "char": "f",
2274
- "description": "Whether to force the run to abort immediately, instead of gracefully.",
2275
- "name": "force",
2237
+ "itemKey": {
2238
+ "description": "The key of the item in the key-value store.",
2239
+ "name": "itemKey",
2240
+ "required": true
2241
+ }
2242
+ },
2243
+ "description": "Delete a value from a key-value store.",
2244
+ "flags": {},
2245
+ "hasDynamicHelp": false,
2246
+ "hiddenAliases": [
2247
+ "kvs:delete-value"
2248
+ ],
2249
+ "id": "key-value-stores:delete-value",
2250
+ "pluginAlias": "apify-cli",
2251
+ "pluginName": "apify-cli",
2252
+ "pluginType": "core",
2253
+ "strict": true,
2254
+ "isESM": true,
2255
+ "relativePath": [
2256
+ "dist",
2257
+ "commands",
2258
+ "key-value-stores",
2259
+ "delete-value.js"
2260
+ ]
2261
+ },
2262
+ "key-value-stores:get-value": {
2263
+ "aliases": [],
2264
+ "args": {
2265
+ "keyValueStoreId": {
2266
+ "description": "The key-value store ID to get the value from.",
2267
+ "name": "keyValueStoreId",
2268
+ "required": true
2269
+ },
2270
+ "itemKey": {
2271
+ "description": "The key of the item in the key-value store.",
2272
+ "name": "itemKey",
2273
+ "required": true
2274
+ }
2275
+ },
2276
+ "description": "Retrieves stored value for specified key. Use --only-content-type to check MIME type.",
2277
+ "flags": {
2278
+ "only-content-type": {
2279
+ "description": "Only return the content type of the specified key",
2280
+ "name": "only-content-type",
2276
2281
  "allowNo": false,
2277
2282
  "type": "boolean"
2278
2283
  }
2279
2284
  },
2280
2285
  "hasDynamicHelp": false,
2281
- "hiddenAliases": [],
2282
- "id": "runs:abort",
2286
+ "hiddenAliases": [
2287
+ "kvs:get-value"
2288
+ ],
2289
+ "id": "key-value-stores:get-value",
2283
2290
  "pluginAlias": "apify-cli",
2284
2291
  "pluginName": "apify-cli",
2285
2292
  "pluginType": "core",
2286
2293
  "strict": true,
2287
- "enableJsonFlag": true,
2288
2294
  "isESM": true,
2289
2295
  "relativePath": [
2290
2296
  "dist",
2291
2297
  "commands",
2292
- "runs",
2293
- "abort.js"
2298
+ "key-value-stores",
2299
+ "get-value.js"
2294
2300
  ]
2295
2301
  },
2296
- "runs": {
2302
+ "key-value-stores": {
2297
2303
  "aliases": [],
2298
2304
  "args": {},
2299
- "description": "Manages Actor run operations ",
2305
+ "description": "Manages persistent key-value storage.\n\nAlias: kvs",
2300
2306
  "flags": {},
2301
2307
  "hasDynamicHelp": false,
2302
- "hiddenAliases": [],
2303
- "id": "runs",
2308
+ "hiddenAliases": [
2309
+ "kvs"
2310
+ ],
2311
+ "id": "key-value-stores",
2304
2312
  "pluginAlias": "apify-cli",
2305
2313
  "pluginName": "apify-cli",
2306
2314
  "pluginType": "core",
@@ -2309,20 +2317,20 @@
2309
2317
  "relativePath": [
2310
2318
  "dist",
2311
2319
  "commands",
2312
- "runs",
2320
+ "key-value-stores",
2313
2321
  "index.js"
2314
2322
  ]
2315
2323
  },
2316
- "runs:info": {
2324
+ "key-value-stores:info": {
2317
2325
  "aliases": [],
2318
2326
  "args": {
2319
- "runId": {
2320
- "description": "The run ID to print information about.",
2321
- "name": "runId",
2327
+ "storeId": {
2328
+ "description": "The key-value store ID to print information about.",
2329
+ "name": "storeId",
2322
2330
  "required": true
2323
2331
  }
2324
2332
  },
2325
- "description": "Prints information about an Actor run.",
2333
+ "description": "Shows information about a key-value store.",
2326
2334
  "flags": {
2327
2335
  "json": {
2328
2336
  "description": "Format output as json.",
@@ -2330,18 +2338,13 @@
2330
2338
  "name": "json",
2331
2339
  "allowNo": false,
2332
2340
  "type": "boolean"
2333
- },
2334
- "verbose": {
2335
- "char": "v",
2336
- "description": "Prints more in-depth information about the Actor run.",
2337
- "name": "verbose",
2338
- "allowNo": false,
2339
- "type": "boolean"
2340
2341
  }
2341
2342
  },
2342
2343
  "hasDynamicHelp": false,
2343
- "hiddenAliases": [],
2344
- "id": "runs:info",
2344
+ "hiddenAliases": [
2345
+ "kvs:info"
2346
+ ],
2347
+ "id": "key-value-stores:info",
2345
2348
  "pluginAlias": "apify-cli",
2346
2349
  "pluginName": "apify-cli",
2347
2350
  "pluginType": "core",
@@ -2351,45 +2354,66 @@
2351
2354
  "relativePath": [
2352
2355
  "dist",
2353
2356
  "commands",
2354
- "runs",
2357
+ "key-value-stores",
2355
2358
  "info.js"
2356
2359
  ]
2357
2360
  },
2358
- "runs:log": {
2361
+ "key-value-stores:keys": {
2359
2362
  "aliases": [],
2360
2363
  "args": {
2361
- "runId": {
2362
- "description": "The run ID to get the log from.",
2363
- "name": "runId",
2364
+ "storeId": {
2365
+ "description": "The key-value store ID to list keys for.",
2366
+ "name": "storeId",
2364
2367
  "required": true
2365
2368
  }
2366
2369
  },
2367
- "description": "Prints the log of a specific run.",
2368
- "flags": {},
2370
+ "description": "Lists all keys in a key-value store.",
2371
+ "flags": {
2372
+ "json": {
2373
+ "description": "Format output as json.",
2374
+ "helpGroup": "GLOBAL",
2375
+ "name": "json",
2376
+ "allowNo": false,
2377
+ "type": "boolean"
2378
+ },
2379
+ "limit": {
2380
+ "description": "The maximum number of keys to return.",
2381
+ "name": "limit",
2382
+ "default": 20,
2383
+ "hasDynamicHelp": false,
2384
+ "multiple": false,
2385
+ "type": "option"
2386
+ },
2387
+ "exclusive-start-key": {
2388
+ "description": "The key to start the list from.",
2389
+ "name": "exclusive-start-key",
2390
+ "hasDynamicHelp": false,
2391
+ "multiple": false,
2392
+ "type": "option"
2393
+ }
2394
+ },
2369
2395
  "hasDynamicHelp": false,
2370
- "hiddenAliases": [],
2371
- "id": "runs:log",
2396
+ "hiddenAliases": [
2397
+ "kvs:keys"
2398
+ ],
2399
+ "id": "key-value-stores:keys",
2372
2400
  "pluginAlias": "apify-cli",
2373
2401
  "pluginName": "apify-cli",
2374
2402
  "pluginType": "core",
2375
2403
  "strict": true,
2404
+ "enableJsonFlag": true,
2376
2405
  "isESM": true,
2377
2406
  "relativePath": [
2378
2407
  "dist",
2379
2408
  "commands",
2380
- "runs",
2381
- "log.js"
2409
+ "key-value-stores",
2410
+ "keys.js"
2382
2411
  ]
2383
2412
  },
2384
- "runs:ls": {
2413
+ "key-value-stores:ls": {
2385
2414
  "aliases": [],
2386
- "args": {
2387
- "actorId": {
2388
- "description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
2389
- "name": "actorId"
2390
- }
2391
- },
2392
- "description": "Lists all runs of the Actor.",
2415
+ "args": {},
2416
+ "description": "Lists all key-value stores on your account.",
2393
2417
  "flags": {
2394
2418
  "json": {
2395
2419
  "description": "Format output as json.",
@@ -2399,7 +2423,7 @@
2399
2423
  "type": "boolean"
2400
2424
  },
2401
2425
  "offset": {
2402
- "description": "Number of runs that will be skipped.",
2426
+ "description": "Number of key-value stores that will be skipped.",
2403
2427
  "name": "offset",
2404
2428
  "default": 0,
2405
2429
  "hasDynamicHelp": false,
@@ -2407,30 +2431,31 @@
2407
2431
  "type": "option"
2408
2432
  },
2409
2433
  "limit": {
2410
- "description": "Number of runs that will be listed.",
2434
+ "description": "Number of key-value stores that will be listed.",
2411
2435
  "name": "limit",
2412
- "default": 10,
2436
+ "default": 20,
2413
2437
  "hasDynamicHelp": false,
2414
2438
  "multiple": false,
2415
2439
  "type": "option"
2416
2440
  },
2417
2441
  "desc": {
2418
- "description": "Sort runs in descending order.",
2442
+ "description": "Sorts key-value stores in descending order.",
2419
2443
  "name": "desc",
2420
2444
  "allowNo": false,
2421
2445
  "type": "boolean"
2422
2446
  },
2423
- "compact": {
2424
- "char": "c",
2425
- "description": "Display a compact table.",
2426
- "name": "compact",
2447
+ "unnamed": {
2448
+ "description": "Lists key-value stores that don't have a name set.",
2449
+ "name": "unnamed",
2427
2450
  "allowNo": false,
2428
2451
  "type": "boolean"
2429
2452
  }
2430
2453
  },
2431
2454
  "hasDynamicHelp": false,
2432
- "hiddenAliases": [],
2433
- "id": "runs:ls",
2455
+ "hiddenAliases": [
2456
+ "kvs:ls"
2457
+ ],
2458
+ "id": "key-value-stores:ls",
2434
2459
  "pluginAlias": "apify-cli",
2435
2460
  "pluginName": "apify-cli",
2436
2461
  "pluginType": "core",
@@ -2440,59 +2465,65 @@
2440
2465
  "relativePath": [
2441
2466
  "dist",
2442
2467
  "commands",
2443
- "runs",
2468
+ "key-value-stores",
2444
2469
  "ls.js"
2445
2470
  ]
2446
2471
  },
2447
- "runs:resurrect": {
2472
+ "key-value-stores:rename": {
2448
2473
  "aliases": [],
2449
2474
  "args": {
2450
- "runId": {
2451
- "description": "The run ID to resurrect.",
2452
- "name": "runId",
2475
+ "keyValueStoreNameOrId": {
2476
+ "description": "The key-value store ID or name to delete",
2477
+ "name": "keyValueStoreNameOrId",
2453
2478
  "required": true
2479
+ },
2480
+ "newName": {
2481
+ "description": "The new name for the key-value store",
2482
+ "name": "newName"
2454
2483
  }
2455
2484
  },
2456
- "description": "Resurrects an aborted or finished Actor Run.",
2485
+ "description": "Renames a key-value store, or removes its unique name.",
2457
2486
  "flags": {
2458
- "json": {
2459
- "description": "Format output as json.",
2460
- "helpGroup": "GLOBAL",
2461
- "name": "json",
2487
+ "unname": {
2488
+ "description": "Removes the unique name of the key-value store",
2489
+ "name": "unname",
2462
2490
  "allowNo": false,
2463
2491
  "type": "boolean"
2464
2492
  }
2465
2493
  },
2466
2494
  "hasDynamicHelp": false,
2467
- "hiddenAliases": [],
2468
- "id": "runs:resurrect",
2495
+ "hiddenAliases": [
2496
+ "kvs:rename"
2497
+ ],
2498
+ "id": "key-value-stores:rename",
2469
2499
  "pluginAlias": "apify-cli",
2470
2500
  "pluginName": "apify-cli",
2471
2501
  "pluginType": "core",
2472
2502
  "strict": true,
2473
- "enableJsonFlag": true,
2474
2503
  "isESM": true,
2475
2504
  "relativePath": [
2476
2505
  "dist",
2477
2506
  "commands",
2478
- "runs",
2479
- "resurrect.js"
2507
+ "key-value-stores",
2508
+ "rename.js"
2480
2509
  ]
2481
2510
  },
2482
- "runs:rm": {
2511
+ "key-value-stores:rm": {
2483
2512
  "aliases": [],
2484
2513
  "args": {
2485
- "runId": {
2486
- "description": "The run ID to delete.",
2487
- "name": "runId",
2514
+ "keyValueStoreNameOrId": {
2515
+ "description": "The key-value store ID or name to delete",
2516
+ "name": "keyValueStoreNameOrId",
2488
2517
  "required": true
2489
2518
  }
2490
2519
  },
2491
- "description": "Deletes an Actor Run.",
2520
+ "description": "Permanently removes a key-value store.",
2492
2521
  "flags": {},
2493
2522
  "hasDynamicHelp": false,
2494
- "hiddenAliases": [],
2495
- "id": "runs:rm",
2523
+ "hiddenAliases": [
2524
+ "kvs:rm"
2525
+ ],
2526
+ "id": "key-value-stores:rm",
2496
2527
  "pluginAlias": "apify-cli",
2497
2528
  "pluginName": "apify-cli",
2498
2529
  "pluginType": "core",
@@ -2501,75 +2532,44 @@
2501
2532
  "relativePath": [
2502
2533
  "dist",
2503
2534
  "commands",
2504
- "runs",
2535
+ "key-value-stores",
2505
2536
  "rm.js"
2506
2537
  ]
2507
2538
  },
2508
- "secrets:add": {
2539
+ "key-value-stores:set-value": {
2509
2540
  "aliases": [],
2510
2541
  "args": {
2511
- "name": {
2512
- "description": "Name of the secret",
2513
- "name": "name",
2542
+ "storeId": {
2543
+ "description": "The key-value store ID to set the value in.",
2544
+ "name": "storeId",
2514
2545
  "required": true
2515
2546
  },
2516
- "value": {
2517
- "description": "Value of the secret",
2518
- "name": "value",
2547
+ "itemKey": {
2548
+ "description": "The key of the item in the key-value store.",
2549
+ "name": "itemKey",
2519
2550
  "required": true
2551
+ },
2552
+ "value": {
2553
+ "description": "The value to set.",
2554
+ "name": "value"
2520
2555
  }
2521
2556
  },
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
2557
+ "description": "Stores value with specified key. Set content-type with --content-type flag.",
2558
+ "flags": {
2559
+ "content-type": {
2560
+ "description": "The MIME content type of the value. By default, \"application/json\" is assumed.",
2561
+ "name": "content-type",
2562
+ "default": "application/json",
2563
+ "hasDynamicHelp": false,
2564
+ "multiple": false,
2565
+ "type": "option"
2566
2566
  }
2567
2567
  },
2568
- "description": "Permanently deletes a secret from your stored credentials.",
2569
- "flags": {},
2570
2568
  "hasDynamicHelp": false,
2571
- "hiddenAliases": [],
2572
- "id": "secrets:rm",
2569
+ "hiddenAliases": [
2570
+ "kvs:set-value"
2571
+ ],
2572
+ "id": "key-value-stores:set-value",
2573
2573
  "pluginAlias": "apify-cli",
2574
2574
  "pluginName": "apify-cli",
2575
2575
  "pluginType": "core",
@@ -2578,8 +2578,8 @@
2578
2578
  "relativePath": [
2579
2579
  "dist",
2580
2580
  "commands",
2581
- "secrets",
2582
- "rm.js"
2581
+ "key-value-stores",
2582
+ "set-value.js"
2583
2583
  ]
2584
2584
  },
2585
2585
  "task": {
@@ -2657,5 +2657,5 @@
2657
2657
  ]
2658
2658
  }
2659
2659
  },
2660
- "version": "0.21.2-beta.5"
2660
+ "version": "0.21.2"
2661
2661
  }