Merge pull request #13518 from backstage/rugvip/nodiff

cli: deprecate plugin:diff command
This commit is contained in:
Patrik Oldsberg
2022-09-05 10:30:33 +02:00
committed by GitHub
63 changed files with 21 additions and 76 deletions
+4 -2
View File
@@ -264,10 +264,12 @@ export function registerCommands(program: Command) {
);
program
.command('plugin:diff')
.command('plugin:diff', { hidden: true })
.option('--check', 'Fail if changes are required')
.option('--yes', 'Apply all changes')
.description('Diff an existing plugin with the creation template')
.description(
'Diff an existing plugin with the creation template [DEPRECATED]',
)
.action(lazy(() => import('./plugin/diff').then(m => m.default)));
// TODO(Rugvip): Deprecate in favor of package variant