apify-cli 0.21.7-beta.2 → 0.21.7
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.
- package/CHANGELOG.md +1 -5
- package/README.md +63 -63
- package/dist/.tsbuildinfo +1 -1
- package/dist/typechecking.tsbuildinfo +1 -1
- package/oclif.manifest.json +210 -210
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -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,215 +1540,6 @@
|
|
|
1331
1540
|
"rm.js"
|
|
1332
1541
|
]
|
|
1333
1542
|
},
|
|
1334
|
-
"actor:charge": {
|
|
1335
|
-
"aliases": [],
|
|
1336
|
-
"args": {
|
|
1337
|
-
"eventName": {
|
|
1338
|
-
"description": "Name of the event to charge for",
|
|
1339
|
-
"name": "eventName",
|
|
1340
|
-
"required": true
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
"description": "Charge for a specific event in the pay-per-event Actor run.",
|
|
1344
|
-
"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,
|
|
1366
|
-
"allowNo": false,
|
|
1367
|
-
"type": "boolean"
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
|
-
"hasDynamicHelp": false,
|
|
1371
|
-
"hiddenAliases": [],
|
|
1372
|
-
"id": "actor:charge",
|
|
1373
|
-
"pluginAlias": "apify-cli",
|
|
1374
|
-
"pluginName": "apify-cli",
|
|
1375
|
-
"pluginType": "core",
|
|
1376
|
-
"strict": true,
|
|
1377
|
-
"isESM": true,
|
|
1378
|
-
"relativePath": [
|
|
1379
|
-
"dist",
|
|
1380
|
-
"commands",
|
|
1381
|
-
"actor",
|
|
1382
|
-
"charge.js"
|
|
1383
|
-
]
|
|
1384
|
-
},
|
|
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
1543
|
"datasets:create": {
|
|
1544
1544
|
"aliases": [],
|
|
1545
1545
|
"args": {
|
|
@@ -2657,5 +2657,5 @@
|
|
|
2657
2657
|
]
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
|
-
"version": "0.21.7
|
|
2660
|
+
"version": "0.21.7"
|
|
2661
2661
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify-cli",
|
|
3
|
-
"version": "0.21.7
|
|
3
|
+
"version": "0.21.7",
|
|
4
4
|
"description": "Apify command-line interface (CLI) helps you manage the Apify cloud platform and develop, build, and deploy Apify Actors.",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|