[extensions] Add extensions uninstall command (#6877)

This commit is contained in:
christine betts
2025-08-25 17:40:15 +00:00
committed by GitHub
parent 0bd496bd51
commit ade703944d
5 changed files with 142 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
import { CommandModule } from 'yargs';
import { installCommand } from './extensions/install.js';
import { uninstallCommand } from './extensions/uninstall.js';
export const extensionsCommand: CommandModule = {
command: 'extensions <command>',
@@ -13,6 +14,7 @@ export const extensionsCommand: CommandModule = {
builder: (yargs) =>
yargs
.command(installCommand)
.command(uninstallCommand)
.demandCommand(1, 'You need at least one command before continuing.')
.version(false),
handler: () => {