@forge/cli
13.4.1-next.9-experimental-e16d59f13.5.0-next.12
out/command-line/register-lint-command.js~
out/command-line/register-lint-command.jsModified+3−2
Index: package/out/command-line/register-lint-command.js
===================================================================
--- package/out/command-line/register-lint-command.js
+++ package/out/command-line/register-lint-command.js
@@ -7,11 +7,12 @@
.command('lint')
.requireAppId()
.description(cli_shared_1.Text.lint.cmd)
.option('--fix', 'attempt to automatically fix any issues encountered', false)
+ .option('--approve <rule...>', cli_shared_1.Text.lint.approveRule.description)
.environmentOption()
- .action(async ({ environment, fix }) => {
- await lintController.run(environment, fix);
+ .action(async ({ environment, fix, approve }) => {
+ await lintController.run(environment, fix, approve);
});
};
exports.registerCommands = registerCommands;
//# sourceMappingURL=register-lint-command.js.map
\ No newline at end of file