apify-cli 0.21.7-beta.0 → 0.21.7-beta.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.
- package/CHANGELOG.md +1 -0
- package/README.md +63 -63
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/run.js +1 -1
- package/dist/commands/run.js.map +1 -1
- package/dist/lib/hooks/useCwdProject.d.ts.map +1 -1
- package/dist/lib/hooks/useCwdProject.js +9 -0
- package/dist/lib/hooks/useCwdProject.js.map +1 -1
- package/dist/typechecking.tsbuildinfo +1 -1
- package/oclif.manifest.json +357 -357
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -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": {
|
|
@@ -1399,46 +1190,278 @@
|
|
|
1399
1190
|
"required": true
|
|
1400
1191
|
}
|
|
1401
1192
|
},
|
|
1402
|
-
"description": "Prints information about a specific build.",
|
|
1403
|
-
"flags": {
|
|
1404
|
-
"json": {
|
|
1405
|
-
"description": "Format output as json.",
|
|
1406
|
-
"helpGroup": "GLOBAL",
|
|
1407
|
-
"name": "json",
|
|
1408
|
-
"allowNo": false,
|
|
1409
|
-
"type": "boolean"
|
|
1410
|
-
}
|
|
1411
|
-
},
|
|
1193
|
+
"description": "Prints information about a specific build.",
|
|
1194
|
+
"flags": {
|
|
1195
|
+
"json": {
|
|
1196
|
+
"description": "Format output as json.",
|
|
1197
|
+
"helpGroup": "GLOBAL",
|
|
1198
|
+
"name": "json",
|
|
1199
|
+
"allowNo": false,
|
|
1200
|
+
"type": "boolean"
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"hasDynamicHelp": false,
|
|
1204
|
+
"hiddenAliases": [],
|
|
1205
|
+
"id": "builds:info",
|
|
1206
|
+
"pluginAlias": "apify-cli",
|
|
1207
|
+
"pluginName": "apify-cli",
|
|
1208
|
+
"pluginType": "core",
|
|
1209
|
+
"strict": true,
|
|
1210
|
+
"enableJsonFlag": true,
|
|
1211
|
+
"isESM": true,
|
|
1212
|
+
"relativePath": [
|
|
1213
|
+
"dist",
|
|
1214
|
+
"commands",
|
|
1215
|
+
"builds",
|
|
1216
|
+
"info.js"
|
|
1217
|
+
]
|
|
1218
|
+
},
|
|
1219
|
+
"builds:log": {
|
|
1220
|
+
"aliases": [],
|
|
1221
|
+
"args": {
|
|
1222
|
+
"buildId": {
|
|
1223
|
+
"description": "The build ID to get the log from.",
|
|
1224
|
+
"name": "buildId",
|
|
1225
|
+
"required": true
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"description": "Prints the log of a specific build.",
|
|
1229
|
+
"flags": {},
|
|
1230
|
+
"hasDynamicHelp": false,
|
|
1231
|
+
"hiddenAliases": [],
|
|
1232
|
+
"id": "builds:log",
|
|
1233
|
+
"pluginAlias": "apify-cli",
|
|
1234
|
+
"pluginName": "apify-cli",
|
|
1235
|
+
"pluginType": "core",
|
|
1236
|
+
"strict": true,
|
|
1237
|
+
"isESM": true,
|
|
1238
|
+
"relativePath": [
|
|
1239
|
+
"dist",
|
|
1240
|
+
"commands",
|
|
1241
|
+
"builds",
|
|
1242
|
+
"log.js"
|
|
1243
|
+
]
|
|
1244
|
+
},
|
|
1245
|
+
"builds:ls": {
|
|
1246
|
+
"aliases": [],
|
|
1247
|
+
"args": {
|
|
1248
|
+
"actorId": {
|
|
1249
|
+
"description": "Optional Actor ID or Name to list runs for. By default, it will use the Actor from the current directory.",
|
|
1250
|
+
"name": "actorId"
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
"description": "Lists all builds of the Actor.",
|
|
1254
|
+
"flags": {
|
|
1255
|
+
"json": {
|
|
1256
|
+
"description": "Format output as json.",
|
|
1257
|
+
"helpGroup": "GLOBAL",
|
|
1258
|
+
"name": "json",
|
|
1259
|
+
"allowNo": false,
|
|
1260
|
+
"type": "boolean"
|
|
1261
|
+
},
|
|
1262
|
+
"offset": {
|
|
1263
|
+
"description": "Number of builds that will be skipped.",
|
|
1264
|
+
"name": "offset",
|
|
1265
|
+
"default": 0,
|
|
1266
|
+
"hasDynamicHelp": false,
|
|
1267
|
+
"multiple": false,
|
|
1268
|
+
"type": "option"
|
|
1269
|
+
},
|
|
1270
|
+
"limit": {
|
|
1271
|
+
"description": "Number of builds that will be listed.",
|
|
1272
|
+
"name": "limit",
|
|
1273
|
+
"default": 10,
|
|
1274
|
+
"hasDynamicHelp": false,
|
|
1275
|
+
"multiple": false,
|
|
1276
|
+
"type": "option"
|
|
1277
|
+
},
|
|
1278
|
+
"desc": {
|
|
1279
|
+
"description": "Sort builds in descending order.",
|
|
1280
|
+
"name": "desc",
|
|
1281
|
+
"allowNo": false,
|
|
1282
|
+
"type": "boolean"
|
|
1283
|
+
},
|
|
1284
|
+
"compact": {
|
|
1285
|
+
"char": "c",
|
|
1286
|
+
"description": "Display a compact table.",
|
|
1287
|
+
"name": "compact",
|
|
1288
|
+
"allowNo": false,
|
|
1289
|
+
"type": "boolean"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"hasDynamicHelp": false,
|
|
1293
|
+
"hiddenAliases": [],
|
|
1294
|
+
"id": "builds:ls",
|
|
1295
|
+
"pluginAlias": "apify-cli",
|
|
1296
|
+
"pluginName": "apify-cli",
|
|
1297
|
+
"pluginType": "core",
|
|
1298
|
+
"strict": true,
|
|
1299
|
+
"enableJsonFlag": true,
|
|
1300
|
+
"isESM": true,
|
|
1301
|
+
"relativePath": [
|
|
1302
|
+
"dist",
|
|
1303
|
+
"commands",
|
|
1304
|
+
"builds",
|
|
1305
|
+
"ls.js"
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1308
|
+
"builds:rm": {
|
|
1309
|
+
"aliases": [],
|
|
1310
|
+
"args": {
|
|
1311
|
+
"buildId": {
|
|
1312
|
+
"description": "The build ID to delete.",
|
|
1313
|
+
"name": "buildId",
|
|
1314
|
+
"required": true
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
"description": "Permanently removes an Actor build from the Apify platform.",
|
|
1318
|
+
"flags": {},
|
|
1319
|
+
"hasDynamicHelp": false,
|
|
1320
|
+
"hiddenAliases": [],
|
|
1321
|
+
"id": "builds:rm",
|
|
1322
|
+
"pluginAlias": "apify-cli",
|
|
1323
|
+
"pluginName": "apify-cli",
|
|
1324
|
+
"pluginType": "core",
|
|
1325
|
+
"strict": true,
|
|
1326
|
+
"isESM": true,
|
|
1327
|
+
"relativePath": [
|
|
1328
|
+
"dist",
|
|
1329
|
+
"commands",
|
|
1330
|
+
"builds",
|
|
1331
|
+
"rm.js"
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
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": {},
|
|
1412
1442
|
"hasDynamicHelp": false,
|
|
1413
1443
|
"hiddenAliases": [],
|
|
1414
|
-
"id": "
|
|
1444
|
+
"id": "actor:get-value",
|
|
1415
1445
|
"pluginAlias": "apify-cli",
|
|
1416
1446
|
"pluginName": "apify-cli",
|
|
1417
1447
|
"pluginType": "core",
|
|
1418
1448
|
"strict": true,
|
|
1419
|
-
"enableJsonFlag": true,
|
|
1420
1449
|
"isESM": true,
|
|
1421
1450
|
"relativePath": [
|
|
1422
1451
|
"dist",
|
|
1423
1452
|
"commands",
|
|
1424
|
-
"
|
|
1425
|
-
"
|
|
1453
|
+
"actor",
|
|
1454
|
+
"get-value.js"
|
|
1426
1455
|
]
|
|
1427
1456
|
},
|
|
1428
|
-
"
|
|
1457
|
+
"actor": {
|
|
1429
1458
|
"aliases": [],
|
|
1430
|
-
"args": {
|
|
1431
|
-
|
|
1432
|
-
"description": "The build ID to get the log from.",
|
|
1433
|
-
"name": "buildId",
|
|
1434
|
-
"required": true
|
|
1435
|
-
}
|
|
1436
|
-
},
|
|
1437
|
-
"description": "Prints the log of a specific build.",
|
|
1459
|
+
"args": {},
|
|
1460
|
+
"description": "Manages runtime data operations inside of a running Actor.",
|
|
1438
1461
|
"flags": {},
|
|
1439
1462
|
"hasDynamicHelp": false,
|
|
1440
1463
|
"hiddenAliases": [],
|
|
1441
|
-
"id": "
|
|
1464
|
+
"id": "actor",
|
|
1442
1465
|
"pluginAlias": "apify-cli",
|
|
1443
1466
|
"pluginName": "apify-cli",
|
|
1444
1467
|
"pluginType": "core",
|
|
@@ -1447,87 +1470,64 @@
|
|
|
1447
1470
|
"relativePath": [
|
|
1448
1471
|
"dist",
|
|
1449
1472
|
"commands",
|
|
1450
|
-
"
|
|
1451
|
-
"
|
|
1473
|
+
"actor",
|
|
1474
|
+
"index.js"
|
|
1452
1475
|
]
|
|
1453
1476
|
},
|
|
1454
|
-
"
|
|
1477
|
+
"actor:push-data": {
|
|
1455
1478
|
"aliases": [],
|
|
1456
1479
|
"args": {
|
|
1457
|
-
"
|
|
1458
|
-
"description": "
|
|
1459
|
-
"name": "
|
|
1460
|
-
}
|
|
1461
|
-
},
|
|
1462
|
-
"description": "Lists all builds of the Actor.",
|
|
1463
|
-
"flags": {
|
|
1464
|
-
"json": {
|
|
1465
|
-
"description": "Format output as json.",
|
|
1466
|
-
"helpGroup": "GLOBAL",
|
|
1467
|
-
"name": "json",
|
|
1468
|
-
"allowNo": false,
|
|
1469
|
-
"type": "boolean"
|
|
1470
|
-
},
|
|
1471
|
-
"offset": {
|
|
1472
|
-
"description": "Number of builds that will be skipped.",
|
|
1473
|
-
"name": "offset",
|
|
1474
|
-
"default": 0,
|
|
1475
|
-
"hasDynamicHelp": false,
|
|
1476
|
-
"multiple": false,
|
|
1477
|
-
"type": "option"
|
|
1478
|
-
},
|
|
1479
|
-
"limit": {
|
|
1480
|
-
"description": "Number of builds that will be listed.",
|
|
1481
|
-
"name": "limit",
|
|
1482
|
-
"default": 10,
|
|
1483
|
-
"hasDynamicHelp": false,
|
|
1484
|
-
"multiple": false,
|
|
1485
|
-
"type": "option"
|
|
1486
|
-
},
|
|
1487
|
-
"desc": {
|
|
1488
|
-
"description": "Sort builds in descending order.",
|
|
1489
|
-
"name": "desc",
|
|
1490
|
-
"allowNo": false,
|
|
1491
|
-
"type": "boolean"
|
|
1492
|
-
},
|
|
1493
|
-
"compact": {
|
|
1494
|
-
"char": "c",
|
|
1495
|
-
"description": "Display a compact table.",
|
|
1496
|
-
"name": "compact",
|
|
1497
|
-
"allowNo": false,
|
|
1498
|
-
"type": "boolean"
|
|
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"
|
|
1499
1483
|
}
|
|
1500
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": {},
|
|
1501
1487
|
"hasDynamicHelp": false,
|
|
1502
1488
|
"hiddenAliases": [],
|
|
1503
|
-
"id": "
|
|
1489
|
+
"id": "actor:push-data",
|
|
1504
1490
|
"pluginAlias": "apify-cli",
|
|
1505
1491
|
"pluginName": "apify-cli",
|
|
1506
1492
|
"pluginType": "core",
|
|
1507
1493
|
"strict": true,
|
|
1508
|
-
"enableJsonFlag": true,
|
|
1509
1494
|
"isESM": true,
|
|
1510
1495
|
"relativePath": [
|
|
1511
1496
|
"dist",
|
|
1512
1497
|
"commands",
|
|
1513
|
-
"
|
|
1514
|
-
"
|
|
1498
|
+
"actor",
|
|
1499
|
+
"push-data.js"
|
|
1515
1500
|
]
|
|
1516
1501
|
},
|
|
1517
|
-
"
|
|
1502
|
+
"actor:set-value": {
|
|
1518
1503
|
"aliases": [],
|
|
1519
1504
|
"args": {
|
|
1520
|
-
"
|
|
1521
|
-
"description": "
|
|
1522
|
-
"name": "
|
|
1505
|
+
"key": {
|
|
1506
|
+
"description": "Key of the record in key-value store.",
|
|
1507
|
+
"name": "key",
|
|
1523
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"
|
|
1524
1526
|
}
|
|
1525
1527
|
},
|
|
1526
|
-
"description": "Permanently removes an Actor build from the Apify platform.",
|
|
1527
|
-
"flags": {},
|
|
1528
1528
|
"hasDynamicHelp": false,
|
|
1529
1529
|
"hiddenAliases": [],
|
|
1530
|
-
"id": "
|
|
1530
|
+
"id": "actor:set-value",
|
|
1531
1531
|
"pluginAlias": "apify-cli",
|
|
1532
1532
|
"pluginName": "apify-cli",
|
|
1533
1533
|
"pluginType": "core",
|
|
@@ -1536,8 +1536,8 @@
|
|
|
1536
1536
|
"relativePath": [
|
|
1537
1537
|
"dist",
|
|
1538
1538
|
"commands",
|
|
1539
|
-
"
|
|
1540
|
-
"
|
|
1539
|
+
"actor",
|
|
1540
|
+
"set-value.js"
|
|
1541
1541
|
]
|
|
1542
1542
|
},
|
|
1543
1543
|
"datasets:create": {
|
|
@@ -2231,45 +2231,14 @@
|
|
|
2231
2231
|
"set-value.js"
|
|
2232
2232
|
]
|
|
2233
2233
|
},
|
|
2234
|
-
"
|
|
2235
|
-
"aliases": [],
|
|
2236
|
-
"args": {
|
|
2237
|
-
"name": {
|
|
2238
|
-
"description": "Name of the secret",
|
|
2239
|
-
"name": "name",
|
|
2240
|
-
"required": true
|
|
2241
|
-
},
|
|
2242
|
-
"value": {
|
|
2243
|
-
"description": "Value of the secret",
|
|
2244
|
-
"name": "value",
|
|
2245
|
-
"required": true
|
|
2246
|
-
}
|
|
2247
|
-
},
|
|
2248
|
-
"description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
|
|
2249
|
-
"flags": {},
|
|
2250
|
-
"hasDynamicHelp": false,
|
|
2251
|
-
"hiddenAliases": [],
|
|
2252
|
-
"id": "secrets:add",
|
|
2253
|
-
"pluginAlias": "apify-cli",
|
|
2254
|
-
"pluginName": "apify-cli",
|
|
2255
|
-
"pluginType": "core",
|
|
2256
|
-
"strict": true,
|
|
2257
|
-
"isESM": true,
|
|
2258
|
-
"relativePath": [
|
|
2259
|
-
"dist",
|
|
2260
|
-
"commands",
|
|
2261
|
-
"secrets",
|
|
2262
|
-
"add.js"
|
|
2263
|
-
]
|
|
2264
|
-
},
|
|
2265
|
-
"secrets": {
|
|
2234
|
+
"request-queues": {
|
|
2266
2235
|
"aliases": [],
|
|
2267
2236
|
"args": {},
|
|
2268
|
-
"description": "Manages
|
|
2237
|
+
"description": "Manages URL queues for web scraping and automation tasks.",
|
|
2269
2238
|
"flags": {},
|
|
2270
2239
|
"hasDynamicHelp": false,
|
|
2271
2240
|
"hiddenAliases": [],
|
|
2272
|
-
"id": "
|
|
2241
|
+
"id": "request-queues",
|
|
2273
2242
|
"pluginAlias": "apify-cli",
|
|
2274
2243
|
"pluginName": "apify-cli",
|
|
2275
2244
|
"pluginType": "core",
|
|
@@ -2278,36 +2247,10 @@
|
|
|
2278
2247
|
"relativePath": [
|
|
2279
2248
|
"dist",
|
|
2280
2249
|
"commands",
|
|
2281
|
-
"
|
|
2250
|
+
"request-queues",
|
|
2282
2251
|
"index.js"
|
|
2283
2252
|
]
|
|
2284
2253
|
},
|
|
2285
|
-
"secrets:rm": {
|
|
2286
|
-
"aliases": [],
|
|
2287
|
-
"args": {
|
|
2288
|
-
"name": {
|
|
2289
|
-
"description": "Name of the secret",
|
|
2290
|
-
"name": "name",
|
|
2291
|
-
"required": true
|
|
2292
|
-
}
|
|
2293
|
-
},
|
|
2294
|
-
"description": "Permanently deletes a secret from your stored credentials.",
|
|
2295
|
-
"flags": {},
|
|
2296
|
-
"hasDynamicHelp": false,
|
|
2297
|
-
"hiddenAliases": [],
|
|
2298
|
-
"id": "secrets:rm",
|
|
2299
|
-
"pluginAlias": "apify-cli",
|
|
2300
|
-
"pluginName": "apify-cli",
|
|
2301
|
-
"pluginType": "core",
|
|
2302
|
-
"strict": true,
|
|
2303
|
-
"isESM": true,
|
|
2304
|
-
"relativePath": [
|
|
2305
|
-
"dist",
|
|
2306
|
-
"commands",
|
|
2307
|
-
"secrets",
|
|
2308
|
-
"rm.js"
|
|
2309
|
-
]
|
|
2310
|
-
},
|
|
2311
2254
|
"runs:abort": {
|
|
2312
2255
|
"aliases": [],
|
|
2313
2256
|
"args": {
|
|
@@ -2562,14 +2505,45 @@
|
|
|
2562
2505
|
"rm.js"
|
|
2563
2506
|
]
|
|
2564
2507
|
},
|
|
2565
|
-
"
|
|
2508
|
+
"secrets:add": {
|
|
2509
|
+
"aliases": [],
|
|
2510
|
+
"args": {
|
|
2511
|
+
"name": {
|
|
2512
|
+
"description": "Name of the secret",
|
|
2513
|
+
"name": "name",
|
|
2514
|
+
"required": true
|
|
2515
|
+
},
|
|
2516
|
+
"value": {
|
|
2517
|
+
"description": "Value of the secret",
|
|
2518
|
+
"name": "value",
|
|
2519
|
+
"required": true
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"description": "Adds a new secret to '~/.apify' for use in Actor environment variables.",
|
|
2523
|
+
"flags": {},
|
|
2524
|
+
"hasDynamicHelp": false,
|
|
2525
|
+
"hiddenAliases": [],
|
|
2526
|
+
"id": "secrets:add",
|
|
2527
|
+
"pluginAlias": "apify-cli",
|
|
2528
|
+
"pluginName": "apify-cli",
|
|
2529
|
+
"pluginType": "core",
|
|
2530
|
+
"strict": true,
|
|
2531
|
+
"isESM": true,
|
|
2532
|
+
"relativePath": [
|
|
2533
|
+
"dist",
|
|
2534
|
+
"commands",
|
|
2535
|
+
"secrets",
|
|
2536
|
+
"add.js"
|
|
2537
|
+
]
|
|
2538
|
+
},
|
|
2539
|
+
"secrets": {
|
|
2566
2540
|
"aliases": [],
|
|
2567
2541
|
"args": {},
|
|
2568
|
-
"description": "Manages
|
|
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.",
|
|
2569
2543
|
"flags": {},
|
|
2570
2544
|
"hasDynamicHelp": false,
|
|
2571
2545
|
"hiddenAliases": [],
|
|
2572
|
-
"id": "
|
|
2546
|
+
"id": "secrets",
|
|
2573
2547
|
"pluginAlias": "apify-cli",
|
|
2574
2548
|
"pluginName": "apify-cli",
|
|
2575
2549
|
"pluginType": "core",
|
|
@@ -2578,10 +2552,36 @@
|
|
|
2578
2552
|
"relativePath": [
|
|
2579
2553
|
"dist",
|
|
2580
2554
|
"commands",
|
|
2581
|
-
"
|
|
2555
|
+
"secrets",
|
|
2582
2556
|
"index.js"
|
|
2583
2557
|
]
|
|
2584
2558
|
},
|
|
2559
|
+
"secrets:rm": {
|
|
2560
|
+
"aliases": [],
|
|
2561
|
+
"args": {
|
|
2562
|
+
"name": {
|
|
2563
|
+
"description": "Name of the secret",
|
|
2564
|
+
"name": "name",
|
|
2565
|
+
"required": true
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
"description": "Permanently deletes a secret from your stored credentials.",
|
|
2569
|
+
"flags": {},
|
|
2570
|
+
"hasDynamicHelp": false,
|
|
2571
|
+
"hiddenAliases": [],
|
|
2572
|
+
"id": "secrets:rm",
|
|
2573
|
+
"pluginAlias": "apify-cli",
|
|
2574
|
+
"pluginName": "apify-cli",
|
|
2575
|
+
"pluginType": "core",
|
|
2576
|
+
"strict": true,
|
|
2577
|
+
"isESM": true,
|
|
2578
|
+
"relativePath": [
|
|
2579
|
+
"dist",
|
|
2580
|
+
"commands",
|
|
2581
|
+
"secrets",
|
|
2582
|
+
"rm.js"
|
|
2583
|
+
]
|
|
2584
|
+
},
|
|
2585
2585
|
"task": {
|
|
2586
2586
|
"aliases": [],
|
|
2587
2587
|
"args": {},
|
|
@@ -2657,5 +2657,5 @@
|
|
|
2657
2657
|
]
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
|
-
"version": "0.21.7-beta.
|
|
2660
|
+
"version": "0.21.7-beta.2"
|
|
2661
2661
|
}
|