[extensions] Add extensions list command (#6879)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
christine betts
2025-08-25 18:27:38 +00:00
committed by GitHub
parent 4170dbdac3
commit 0641b1c095
3 changed files with 64 additions and 0 deletions

View File

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