cli: deprecate plugin:diff command

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-09-04 14:19:15 +02:00
parent 1eb9092b1d
commit 548053614a
3 changed files with 9 additions and 14 deletions
+4 -2
View File
@@ -260,10 +260,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