@forge/cli
14.2.015.0.0-next.23
out/command-line/register-console-commands.js~
out/command-line/register-console-commands.jsModified+3−2
Index: package/out/command-line/register-console-commands.js
===================================================================
--- package/out/command-line/register-console-commands.js
+++ package/out/command-line/register-console-commands.js
@@ -8,13 +8,14 @@
const controller = new console_controller_1.ConsoleController(new console_view_1.ConsoleView(ui));
cmd
.command('console')
.description(cli_shared_1.Text.console.cmd.desc)
+ .option('--open', cli_shared_1.Text.console.cmd.option.open)
.requireAppId()
- .action(async ({ appId }) => {
+ .action(async ({ appId, open }) => {
if (!appId) {
throw new cli_shared_1.ValidationError(cli_shared_1.Text.console.cmd.missingAppId);
}
- await controller.displayOverviewLink(appId);
+ await controller.displayOverviewLink(appId, open);
});
}
//# sourceMappingURL=register-console-commands.js.map
\ No newline at end of file