@cloudbase/cli 2.6.2 → 2.6.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.
|
@@ -388,7 +388,7 @@ RunfDownloadCommand = __decorate([
|
|
|
388
388
|
(0, common_1.ICommand)()
|
|
389
389
|
], RunfDownloadCommand);
|
|
390
390
|
exports.RunfDownloadCommand = RunfDownloadCommand;
|
|
391
|
-
class RunfRunCommand extends common_1.Command {
|
|
391
|
+
let RunfRunCommand = class RunfRunCommand extends common_1.Command {
|
|
392
392
|
get options() {
|
|
393
393
|
return {
|
|
394
394
|
cmd: 'cloudrunfunction',
|
|
@@ -417,6 +417,10 @@ class RunfRunCommand extends common_1.Command {
|
|
|
417
417
|
{
|
|
418
418
|
flags: '--functionsConfigFile <functionsConfigFile>',
|
|
419
419
|
desc: '多函数定义配置文件,默认为 ./cloudbase-functions.json'
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
flags: '--loadAllFunctions',
|
|
423
|
+
desc: '是否加载 "functionsRoot" 目录中的所有函数。默认为 false'
|
|
420
424
|
}
|
|
421
425
|
],
|
|
422
426
|
requiredEnvId: false,
|
|
@@ -468,7 +472,7 @@ class RunfRunCommand extends common_1.Command {
|
|
|
468
472
|
}
|
|
469
473
|
});
|
|
470
474
|
}
|
|
471
|
-
}
|
|
475
|
+
};
|
|
472
476
|
__decorate([
|
|
473
477
|
(0, decorators_1.InjectParams)(),
|
|
474
478
|
__param(0, (0, decorators_1.Log)()),
|
|
@@ -476,6 +480,9 @@ __decorate([
|
|
|
476
480
|
__metadata("design:paramtypes", [decorators_1.Logger]),
|
|
477
481
|
__metadata("design:returntype", Promise)
|
|
478
482
|
], RunfRunCommand.prototype, "execute", null);
|
|
483
|
+
RunfRunCommand = __decorate([
|
|
484
|
+
(0, common_1.ICommand)()
|
|
485
|
+
], RunfRunCommand);
|
|
479
486
|
exports.RunfRunCommand = RunfRunCommand;
|
|
480
487
|
function _selectEnv() {
|
|
481
488
|
return __awaiter(this, void 0, void 0, function* () {
|