apify-cli 0.21.2 → 0.21.3

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,6 +586,215 @@
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
+ },
589
798
  "actors:build": {
590
799
  "aliases": [],
591
800
  "args": {
@@ -1331,251 +1540,42 @@
1331
1540
  "rm.js"
1332
1541
  ]
1333
1542
  },
1334
- "actor:charge": {
1543
+ "datasets:create": {
1335
1544
  "aliases": [],
1336
1545
  "args": {
1337
- "eventName": {
1338
- "description": "Name of the event to charge for",
1339
- "name": "eventName",
1340
- "required": true
1546
+ "datasetName": {
1547
+ "description": "Optional name for the Dataset",
1548
+ "name": "datasetName",
1549
+ "required": false
1341
1550
  }
1342
1551
  },
1343
- "description": "Charge for a specific event in the pay-per-event Actor run.",
1552
+ "description": "Creates a new dataset for storing structured data on your account.",
1344
1553
  "flags": {
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,
1554
+ "json": {
1555
+ "description": "Format output as json.",
1556
+ "helpGroup": "GLOBAL",
1557
+ "name": "json",
1366
1558
  "allowNo": false,
1367
1559
  "type": "boolean"
1368
1560
  }
1369
1561
  },
1370
1562
  "hasDynamicHelp": false,
1371
1563
  "hiddenAliases": [],
1372
- "id": "actor:charge",
1564
+ "id": "datasets:create",
1373
1565
  "pluginAlias": "apify-cli",
1374
1566
  "pluginName": "apify-cli",
1375
1567
  "pluginType": "core",
1376
1568
  "strict": true,
1569
+ "enableJsonFlag": true,
1377
1570
  "isESM": true,
1378
1571
  "relativePath": [
1379
1572
  "dist",
1380
1573
  "commands",
1381
- "actor",
1382
- "charge.js"
1574
+ "datasets",
1575
+ "create.js"
1383
1576
  ]
1384
1577
  },
1385
- "actor:get-input": {
1386
- "aliases": [],
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": {
1578
+ "datasets:get-items": {
1579
1579
  "aliases": [],
1580
1580
  "args": {
1581
1581
  "datasetId": {
@@ -1838,16 +1838,16 @@
1838
1838
  "rm.js"
1839
1839
  ]
1840
1840
  },
1841
- "runs:abort": {
1841
+ "key-value-stores:create": {
1842
1842
  "aliases": [],
1843
1843
  "args": {
1844
- "runId": {
1845
- "description": "The run ID to abort.",
1846
- "name": "runId",
1847
- "required": true
1844
+ "keyValueStoreName": {
1845
+ "description": "Optional name for the key-value store",
1846
+ "name": "keyValueStoreName",
1847
+ "required": false
1848
1848
  }
1849
1849
  },
1850
- "description": "Aborts an Actor run.",
1850
+ "description": "Creates a new key-value store on your account.",
1851
1851
  "flags": {
1852
1852
  "json": {
1853
1853
  "description": "Format output as json.",
@@ -1855,18 +1855,13 @@
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"
1865
1858
  }
1866
1859
  },
1867
1860
  "hasDynamicHelp": false,
1868
- "hiddenAliases": [],
1869
- "id": "runs:abort",
1861
+ "hiddenAliases": [
1862
+ "kvs:create"
1863
+ ],
1864
+ "id": "key-value-stores:create",
1870
1865
  "pluginAlias": "apify-cli",
1871
1866
  "pluginName": "apify-cli",
1872
1867
  "pluginType": "core",
@@ -1876,18 +1871,31 @@
1876
1871
  "relativePath": [
1877
1872
  "dist",
1878
1873
  "commands",
1879
- "runs",
1880
- "abort.js"
1874
+ "key-value-stores",
1875
+ "create.js"
1881
1876
  ]
1882
1877
  },
1883
- "runs": {
1878
+ "key-value-stores:delete-value": {
1884
1879
  "aliases": [],
1885
- "args": {},
1886
- "description": "Manages Actor run operations ",
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.",
1887
1893
  "flags": {},
1888
1894
  "hasDynamicHelp": false,
1889
- "hiddenAliases": [],
1890
- "id": "runs",
1895
+ "hiddenAliases": [
1896
+ "kvs:delete-value"
1897
+ ],
1898
+ "id": "key-value-stores:delete-value",
1891
1899
  "pluginAlias": "apify-cli",
1892
1900
  "pluginName": "apify-cli",
1893
1901
  "pluginType": "core",
@@ -1896,20 +1904,82 @@
1896
1904
  "relativePath": [
1897
1905
  "dist",
1898
1906
  "commands",
1899
- "runs",
1900
- "index.js"
1907
+ "key-value-stores",
1908
+ "delete-value.js"
1901
1909
  ]
1902
1910
  },
1903
- "runs:info": {
1911
+ "key-value-stores:get-value": {
1904
1912
  "aliases": [],
1905
1913
  "args": {
1906
- "runId": {
1907
- "description": "The run ID to print information about.",
1908
- "name": "runId",
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",
1909
1922
  "required": true
1910
1923
  }
1911
1924
  },
1912
- "description": "Prints information about an Actor run.",
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",
1979
+ "required": true
1980
+ }
1981
+ },
1982
+ "description": "Shows information about a key-value store.",
1913
1983
  "flags": {
1914
1984
  "json": {
1915
1985
  "description": "Format output as json.",
@@ -1917,18 +1987,13 @@
1917
1987
  "name": "json",
1918
1988
  "allowNo": false,
1919
1989
  "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"
1927
1990
  }
1928
1991
  },
1929
1992
  "hasDynamicHelp": false,
1930
- "hiddenAliases": [],
1931
- "id": "runs:info",
1993
+ "hiddenAliases": [
1994
+ "kvs:info"
1995
+ ],
1996
+ "id": "key-value-stores:info",
1932
1997
  "pluginAlias": "apify-cli",
1933
1998
  "pluginName": "apify-cli",
1934
1999
  "pluginType": "core",
@@ -1938,45 +2003,66 @@
1938
2003
  "relativePath": [
1939
2004
  "dist",
1940
2005
  "commands",
1941
- "runs",
2006
+ "key-value-stores",
1942
2007
  "info.js"
1943
2008
  ]
1944
2009
  },
1945
- "runs:log": {
2010
+ "key-value-stores:keys": {
1946
2011
  "aliases": [],
1947
2012
  "args": {
1948
- "runId": {
1949
- "description": "The run ID to get the log from.",
1950
- "name": "runId",
2013
+ "storeId": {
2014
+ "description": "The key-value store ID to list keys for.",
2015
+ "name": "storeId",
1951
2016
  "required": true
1952
2017
  }
1953
2018
  },
1954
- "description": "Prints the log of a specific run.",
1955
- "flags": {},
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
+ },
1956
2044
  "hasDynamicHelp": false,
1957
- "hiddenAliases": [],
1958
- "id": "runs:log",
2045
+ "hiddenAliases": [
2046
+ "kvs:keys"
2047
+ ],
2048
+ "id": "key-value-stores:keys",
1959
2049
  "pluginAlias": "apify-cli",
1960
2050
  "pluginName": "apify-cli",
1961
2051
  "pluginType": "core",
1962
2052
  "strict": true,
2053
+ "enableJsonFlag": true,
1963
2054
  "isESM": true,
1964
2055
  "relativePath": [
1965
2056
  "dist",
1966
2057
  "commands",
1967
- "runs",
1968
- "log.js"
2058
+ "key-value-stores",
2059
+ "keys.js"
1969
2060
  ]
1970
2061
  },
1971
- "runs:ls": {
2062
+ "key-value-stores:ls": {
1972
2063
  "aliases": [],
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.",
2064
+ "args": {},
2065
+ "description": "Lists all key-value stores on your account.",
1980
2066
  "flags": {
1981
2067
  "json": {
1982
2068
  "description": "Format output as json.",
@@ -1986,7 +2072,7 @@
1986
2072
  "type": "boolean"
1987
2073
  },
1988
2074
  "offset": {
1989
- "description": "Number of runs that will be skipped.",
2075
+ "description": "Number of key-value stores that will be skipped.",
1990
2076
  "name": "offset",
1991
2077
  "default": 0,
1992
2078
  "hasDynamicHelp": false,
@@ -1994,30 +2080,31 @@
1994
2080
  "type": "option"
1995
2081
  },
1996
2082
  "limit": {
1997
- "description": "Number of runs that will be listed.",
2083
+ "description": "Number of key-value stores that will be listed.",
1998
2084
  "name": "limit",
1999
- "default": 10,
2085
+ "default": 20,
2000
2086
  "hasDynamicHelp": false,
2001
2087
  "multiple": false,
2002
2088
  "type": "option"
2003
2089
  },
2004
2090
  "desc": {
2005
- "description": "Sort runs in descending order.",
2091
+ "description": "Sorts key-value stores in descending order.",
2006
2092
  "name": "desc",
2007
2093
  "allowNo": false,
2008
2094
  "type": "boolean"
2009
2095
  },
2010
- "compact": {
2011
- "char": "c",
2012
- "description": "Display a compact table.",
2013
- "name": "compact",
2096
+ "unnamed": {
2097
+ "description": "Lists key-value stores that don't have a name set.",
2098
+ "name": "unnamed",
2014
2099
  "allowNo": false,
2015
2100
  "type": "boolean"
2016
2101
  }
2017
2102
  },
2018
2103
  "hasDynamicHelp": false,
2019
- "hiddenAliases": [],
2020
- "id": "runs:ls",
2104
+ "hiddenAliases": [
2105
+ "kvs:ls"
2106
+ ],
2107
+ "id": "key-value-stores:ls",
2021
2108
  "pluginAlias": "apify-cli",
2022
2109
  "pluginName": "apify-cli",
2023
2110
  "pluginType": "core",
@@ -2027,59 +2114,65 @@
2027
2114
  "relativePath": [
2028
2115
  "dist",
2029
2116
  "commands",
2030
- "runs",
2117
+ "key-value-stores",
2031
2118
  "ls.js"
2032
2119
  ]
2033
2120
  },
2034
- "runs:resurrect": {
2121
+ "key-value-stores:rename": {
2035
2122
  "aliases": [],
2036
2123
  "args": {
2037
- "runId": {
2038
- "description": "The run ID to resurrect.",
2039
- "name": "runId",
2124
+ "keyValueStoreNameOrId": {
2125
+ "description": "The key-value store ID or name to delete",
2126
+ "name": "keyValueStoreNameOrId",
2040
2127
  "required": true
2128
+ },
2129
+ "newName": {
2130
+ "description": "The new name for the key-value store",
2131
+ "name": "newName"
2041
2132
  }
2042
2133
  },
2043
- "description": "Resurrects an aborted or finished Actor Run.",
2134
+ "description": "Renames a key-value store, or removes its unique name.",
2044
2135
  "flags": {
2045
- "json": {
2046
- "description": "Format output as json.",
2047
- "helpGroup": "GLOBAL",
2048
- "name": "json",
2136
+ "unname": {
2137
+ "description": "Removes the unique name of the key-value store",
2138
+ "name": "unname",
2049
2139
  "allowNo": false,
2050
2140
  "type": "boolean"
2051
2141
  }
2052
2142
  },
2053
2143
  "hasDynamicHelp": false,
2054
- "hiddenAliases": [],
2055
- "id": "runs:resurrect",
2144
+ "hiddenAliases": [
2145
+ "kvs:rename"
2146
+ ],
2147
+ "id": "key-value-stores:rename",
2056
2148
  "pluginAlias": "apify-cli",
2057
2149
  "pluginName": "apify-cli",
2058
2150
  "pluginType": "core",
2059
2151
  "strict": true,
2060
- "enableJsonFlag": true,
2061
2152
  "isESM": true,
2062
2153
  "relativePath": [
2063
2154
  "dist",
2064
2155
  "commands",
2065
- "runs",
2066
- "resurrect.js"
2156
+ "key-value-stores",
2157
+ "rename.js"
2067
2158
  ]
2068
2159
  },
2069
- "runs:rm": {
2160
+ "key-value-stores:rm": {
2070
2161
  "aliases": [],
2071
2162
  "args": {
2072
- "runId": {
2073
- "description": "The run ID to delete.",
2074
- "name": "runId",
2163
+ "keyValueStoreNameOrId": {
2164
+ "description": "The key-value store ID or name to delete",
2165
+ "name": "keyValueStoreNameOrId",
2075
2166
  "required": true
2076
2167
  }
2077
2168
  },
2078
- "description": "Deletes an Actor Run.",
2169
+ "description": "Permanently removes a key-value store.",
2079
2170
  "flags": {},
2080
2171
  "hasDynamicHelp": false,
2081
- "hiddenAliases": [],
2082
- "id": "runs:rm",
2172
+ "hiddenAliases": [
2173
+ "kvs:rm"
2174
+ ],
2175
+ "id": "key-value-stores:rm",
2083
2176
  "pluginAlias": "apify-cli",
2084
2177
  "pluginName": "apify-cli",
2085
2178
  "pluginType": "core",
@@ -2088,75 +2181,44 @@
2088
2181
  "relativePath": [
2089
2182
  "dist",
2090
2183
  "commands",
2091
- "runs",
2184
+ "key-value-stores",
2092
2185
  "rm.js"
2093
2186
  ]
2094
2187
  },
2095
- "secrets:add": {
2188
+ "key-value-stores:set-value": {
2096
2189
  "aliases": [],
2097
2190
  "args": {
2098
- "name": {
2099
- "description": "Name of the secret",
2100
- "name": "name",
2191
+ "storeId": {
2192
+ "description": "The key-value store ID to set the value in.",
2193
+ "name": "storeId",
2101
2194
  "required": true
2102
2195
  },
2103
- "value": {
2104
- "description": "Value of the secret",
2105
- "name": "value",
2196
+ "itemKey": {
2197
+ "description": "The key of the item in the key-value store.",
2198
+ "name": "itemKey",
2106
2199
  "required": true
2200
+ },
2201
+ "value": {
2202
+ "description": "The value to set.",
2203
+ "name": "value"
2107
2204
  }
2108
2205
  },
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
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"
2153
2215
  }
2154
2216
  },
2155
- "description": "Permanently deletes a secret from your stored credentials.",
2156
- "flags": {},
2157
2217
  "hasDynamicHelp": false,
2158
- "hiddenAliases": [],
2159
- "id": "secrets:rm",
2218
+ "hiddenAliases": [
2219
+ "kvs:set-value"
2220
+ ],
2221
+ "id": "key-value-stores:set-value",
2160
2222
  "pluginAlias": "apify-cli",
2161
2223
  "pluginName": "apify-cli",
2162
2224
  "pluginType": "core",
@@ -2165,8 +2227,8 @@
2165
2227
  "relativePath": [
2166
2228
  "dist",
2167
2229
  "commands",
2168
- "secrets",
2169
- "rm.js"
2230
+ "key-value-stores",
2231
+ "set-value.js"
2170
2232
  ]
2171
2233
  },
2172
2234
  "request-queues": {
@@ -2189,16 +2251,16 @@
2189
2251
  "index.js"
2190
2252
  ]
2191
2253
  },
2192
- "key-value-stores:create": {
2254
+ "runs:abort": {
2193
2255
  "aliases": [],
2194
2256
  "args": {
2195
- "keyValueStoreName": {
2196
- "description": "Optional name for the key-value store",
2197
- "name": "keyValueStoreName",
2198
- "required": false
2257
+ "runId": {
2258
+ "description": "The run ID to abort.",
2259
+ "name": "runId",
2260
+ "required": true
2199
2261
  }
2200
2262
  },
2201
- "description": "Creates a new key-value store on your account.",
2263
+ "description": "Aborts an Actor run.",
2202
2264
  "flags": {
2203
2265
  "json": {
2204
2266
  "description": "Format output as json.",
@@ -2206,109 +2268,39 @@
2206
2268
  "name": "json",
2207
2269
  "allowNo": false,
2208
2270
  "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
2236
- },
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
2271
  },
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",
2272
+ "force": {
2273
+ "char": "f",
2274
+ "description": "Whether to force the run to abort immediately, instead of gracefully.",
2275
+ "name": "force",
2281
2276
  "allowNo": false,
2282
2277
  "type": "boolean"
2283
2278
  }
2284
2279
  },
2285
2280
  "hasDynamicHelp": false,
2286
- "hiddenAliases": [
2287
- "kvs:get-value"
2288
- ],
2289
- "id": "key-value-stores:get-value",
2281
+ "hiddenAliases": [],
2282
+ "id": "runs:abort",
2290
2283
  "pluginAlias": "apify-cli",
2291
2284
  "pluginName": "apify-cli",
2292
2285
  "pluginType": "core",
2293
2286
  "strict": true,
2287
+ "enableJsonFlag": true,
2294
2288
  "isESM": true,
2295
2289
  "relativePath": [
2296
2290
  "dist",
2297
2291
  "commands",
2298
- "key-value-stores",
2299
- "get-value.js"
2292
+ "runs",
2293
+ "abort.js"
2300
2294
  ]
2301
2295
  },
2302
- "key-value-stores": {
2296
+ "runs": {
2303
2297
  "aliases": [],
2304
2298
  "args": {},
2305
- "description": "Manages persistent key-value storage.\n\nAlias: kvs",
2299
+ "description": "Manages Actor run operations ",
2306
2300
  "flags": {},
2307
2301
  "hasDynamicHelp": false,
2308
- "hiddenAliases": [
2309
- "kvs"
2310
- ],
2311
- "id": "key-value-stores",
2302
+ "hiddenAliases": [],
2303
+ "id": "runs",
2312
2304
  "pluginAlias": "apify-cli",
2313
2305
  "pluginName": "apify-cli",
2314
2306
  "pluginType": "core",
@@ -2317,20 +2309,20 @@
2317
2309
  "relativePath": [
2318
2310
  "dist",
2319
2311
  "commands",
2320
- "key-value-stores",
2312
+ "runs",
2321
2313
  "index.js"
2322
2314
  ]
2323
2315
  },
2324
- "key-value-stores:info": {
2316
+ "runs:info": {
2325
2317
  "aliases": [],
2326
2318
  "args": {
2327
- "storeId": {
2328
- "description": "The key-value store ID to print information about.",
2329
- "name": "storeId",
2319
+ "runId": {
2320
+ "description": "The run ID to print information about.",
2321
+ "name": "runId",
2330
2322
  "required": true
2331
2323
  }
2332
2324
  },
2333
- "description": "Shows information about a key-value store.",
2325
+ "description": "Prints information about an Actor run.",
2334
2326
  "flags": {
2335
2327
  "json": {
2336
2328
  "description": "Format output as json.",
@@ -2338,13 +2330,18 @@
2338
2330
  "name": "json",
2339
2331
  "allowNo": false,
2340
2332
  "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"
2341
2340
  }
2342
2341
  },
2343
2342
  "hasDynamicHelp": false,
2344
- "hiddenAliases": [
2345
- "kvs:info"
2346
- ],
2347
- "id": "key-value-stores:info",
2343
+ "hiddenAliases": [],
2344
+ "id": "runs:info",
2348
2345
  "pluginAlias": "apify-cli",
2349
2346
  "pluginName": "apify-cli",
2350
2347
  "pluginType": "core",
@@ -2354,66 +2351,45 @@
2354
2351
  "relativePath": [
2355
2352
  "dist",
2356
2353
  "commands",
2357
- "key-value-stores",
2354
+ "runs",
2358
2355
  "info.js"
2359
2356
  ]
2360
2357
  },
2361
- "key-value-stores:keys": {
2358
+ "runs:log": {
2362
2359
  "aliases": [],
2363
2360
  "args": {
2364
- "storeId": {
2365
- "description": "The key-value store ID to list keys for.",
2366
- "name": "storeId",
2361
+ "runId": {
2362
+ "description": "The run ID to get the log from.",
2363
+ "name": "runId",
2367
2364
  "required": true
2368
2365
  }
2369
2366
  },
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
- },
2367
+ "description": "Prints the log of a specific run.",
2368
+ "flags": {},
2395
2369
  "hasDynamicHelp": false,
2396
- "hiddenAliases": [
2397
- "kvs:keys"
2398
- ],
2399
- "id": "key-value-stores:keys",
2370
+ "hiddenAliases": [],
2371
+ "id": "runs:log",
2400
2372
  "pluginAlias": "apify-cli",
2401
2373
  "pluginName": "apify-cli",
2402
2374
  "pluginType": "core",
2403
2375
  "strict": true,
2404
- "enableJsonFlag": true,
2405
2376
  "isESM": true,
2406
2377
  "relativePath": [
2407
2378
  "dist",
2408
2379
  "commands",
2409
- "key-value-stores",
2410
- "keys.js"
2380
+ "runs",
2381
+ "log.js"
2411
2382
  ]
2412
2383
  },
2413
- "key-value-stores:ls": {
2384
+ "runs:ls": {
2414
2385
  "aliases": [],
2415
- "args": {},
2416
- "description": "Lists all key-value stores on your account.",
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.",
2417
2393
  "flags": {
2418
2394
  "json": {
2419
2395
  "description": "Format output as json.",
@@ -2423,7 +2399,7 @@
2423
2399
  "type": "boolean"
2424
2400
  },
2425
2401
  "offset": {
2426
- "description": "Number of key-value stores that will be skipped.",
2402
+ "description": "Number of runs that will be skipped.",
2427
2403
  "name": "offset",
2428
2404
  "default": 0,
2429
2405
  "hasDynamicHelp": false,
@@ -2431,31 +2407,30 @@
2431
2407
  "type": "option"
2432
2408
  },
2433
2409
  "limit": {
2434
- "description": "Number of key-value stores that will be listed.",
2410
+ "description": "Number of runs that will be listed.",
2435
2411
  "name": "limit",
2436
- "default": 20,
2412
+ "default": 10,
2437
2413
  "hasDynamicHelp": false,
2438
2414
  "multiple": false,
2439
2415
  "type": "option"
2440
2416
  },
2441
2417
  "desc": {
2442
- "description": "Sorts key-value stores in descending order.",
2418
+ "description": "Sort runs in descending order.",
2443
2419
  "name": "desc",
2444
2420
  "allowNo": false,
2445
2421
  "type": "boolean"
2446
2422
  },
2447
- "unnamed": {
2448
- "description": "Lists key-value stores that don't have a name set.",
2449
- "name": "unnamed",
2423
+ "compact": {
2424
+ "char": "c",
2425
+ "description": "Display a compact table.",
2426
+ "name": "compact",
2450
2427
  "allowNo": false,
2451
2428
  "type": "boolean"
2452
2429
  }
2453
2430
  },
2454
2431
  "hasDynamicHelp": false,
2455
- "hiddenAliases": [
2456
- "kvs:ls"
2457
- ],
2458
- "id": "key-value-stores:ls",
2432
+ "hiddenAliases": [],
2433
+ "id": "runs:ls",
2459
2434
  "pluginAlias": "apify-cli",
2460
2435
  "pluginName": "apify-cli",
2461
2436
  "pluginType": "core",
@@ -2465,65 +2440,59 @@
2465
2440
  "relativePath": [
2466
2441
  "dist",
2467
2442
  "commands",
2468
- "key-value-stores",
2443
+ "runs",
2469
2444
  "ls.js"
2470
2445
  ]
2471
2446
  },
2472
- "key-value-stores:rename": {
2447
+ "runs:resurrect": {
2473
2448
  "aliases": [],
2474
2449
  "args": {
2475
- "keyValueStoreNameOrId": {
2476
- "description": "The key-value store ID or name to delete",
2477
- "name": "keyValueStoreNameOrId",
2450
+ "runId": {
2451
+ "description": "The run ID to resurrect.",
2452
+ "name": "runId",
2478
2453
  "required": true
2479
- },
2480
- "newName": {
2481
- "description": "The new name for the key-value store",
2482
- "name": "newName"
2483
2454
  }
2484
2455
  },
2485
- "description": "Renames a key-value store, or removes its unique name.",
2456
+ "description": "Resurrects an aborted or finished Actor Run.",
2486
2457
  "flags": {
2487
- "unname": {
2488
- "description": "Removes the unique name of the key-value store",
2489
- "name": "unname",
2458
+ "json": {
2459
+ "description": "Format output as json.",
2460
+ "helpGroup": "GLOBAL",
2461
+ "name": "json",
2490
2462
  "allowNo": false,
2491
2463
  "type": "boolean"
2492
2464
  }
2493
2465
  },
2494
2466
  "hasDynamicHelp": false,
2495
- "hiddenAliases": [
2496
- "kvs:rename"
2497
- ],
2498
- "id": "key-value-stores:rename",
2467
+ "hiddenAliases": [],
2468
+ "id": "runs:resurrect",
2499
2469
  "pluginAlias": "apify-cli",
2500
2470
  "pluginName": "apify-cli",
2501
2471
  "pluginType": "core",
2502
2472
  "strict": true,
2473
+ "enableJsonFlag": true,
2503
2474
  "isESM": true,
2504
2475
  "relativePath": [
2505
2476
  "dist",
2506
2477
  "commands",
2507
- "key-value-stores",
2508
- "rename.js"
2478
+ "runs",
2479
+ "resurrect.js"
2509
2480
  ]
2510
2481
  },
2511
- "key-value-stores:rm": {
2482
+ "runs:rm": {
2512
2483
  "aliases": [],
2513
2484
  "args": {
2514
- "keyValueStoreNameOrId": {
2515
- "description": "The key-value store ID or name to delete",
2516
- "name": "keyValueStoreNameOrId",
2485
+ "runId": {
2486
+ "description": "The run ID to delete.",
2487
+ "name": "runId",
2517
2488
  "required": true
2518
2489
  }
2519
2490
  },
2520
- "description": "Permanently removes a key-value store.",
2491
+ "description": "Deletes an Actor Run.",
2521
2492
  "flags": {},
2522
2493
  "hasDynamicHelp": false,
2523
- "hiddenAliases": [
2524
- "kvs:rm"
2525
- ],
2526
- "id": "key-value-stores:rm",
2494
+ "hiddenAliases": [],
2495
+ "id": "runs:rm",
2527
2496
  "pluginAlias": "apify-cli",
2528
2497
  "pluginName": "apify-cli",
2529
2498
  "pluginType": "core",
@@ -2532,44 +2501,75 @@
2532
2501
  "relativePath": [
2533
2502
  "dist",
2534
2503
  "commands",
2535
- "key-value-stores",
2504
+ "runs",
2536
2505
  "rm.js"
2537
2506
  ]
2538
2507
  },
2539
- "key-value-stores:set-value": {
2508
+ "secrets:add": {
2540
2509
  "aliases": [],
2541
2510
  "args": {
2542
- "storeId": {
2543
- "description": "The key-value store ID to set the value in.",
2544
- "name": "storeId",
2545
- "required": true
2546
- },
2547
- "itemKey": {
2548
- "description": "The key of the item in the key-value store.",
2549
- "name": "itemKey",
2511
+ "name": {
2512
+ "description": "Name of the secret",
2513
+ "name": "name",
2550
2514
  "required": true
2551
2515
  },
2552
2516
  "value": {
2553
- "description": "The value to set.",
2554
- "name": "value"
2517
+ "description": "Value of the secret",
2518
+ "name": "value",
2519
+ "required": true
2555
2520
  }
2556
2521
  },
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"
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
2566
  }
2567
2567
  },
2568
+ "description": "Permanently deletes a secret from your stored credentials.",
2569
+ "flags": {},
2568
2570
  "hasDynamicHelp": false,
2569
- "hiddenAliases": [
2570
- "kvs:set-value"
2571
- ],
2572
- "id": "key-value-stores:set-value",
2571
+ "hiddenAliases": [],
2572
+ "id": "secrets:rm",
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
- "key-value-stores",
2582
- "set-value.js"
2581
+ "secrets",
2582
+ "rm.js"
2583
2583
  ]
2584
2584
  },
2585
2585
  "task": {
@@ -2657,5 +2657,5 @@
2657
2657
  ]
2658
2658
  }
2659
2659
  },
2660
- "version": "0.21.2"
2660
+ "version": "0.21.3"
2661
2661
  }