summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands
diff options
context:
space:
mode:
authorDaniel Lee <[email protected]>2025-07-28 18:40:47 -0700
committerGitHub <[email protected]>2025-07-29 01:40:47 +0000
commit7356764a489b47bc43dae9e9653380cbe9bce294 (patch)
treeded97cfbfecf19c68f5b495950906f64088dafad /packages/cli/src/ui/commands
parent871e0dfab811192f67cd80bc270580ad784ffdc8 (diff)
feat(commands): add custom commands support for extensions (#4703)
Diffstat (limited to 'packages/cli/src/ui/commands')
-rw-r--r--packages/cli/src/ui/commands/types.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/types.ts b/packages/cli/src/ui/commands/types.ts
index 2844177f..900be866 100644
--- a/packages/cli/src/ui/commands/types.ts
+++ b/packages/cli/src/ui/commands/types.ts
@@ -157,6 +157,9 @@ export interface SlashCommand {
kind: CommandKind;
+ // Optional metadata for extension commands
+ extensionName?: string;
+
// The action to run. Optional for parent commands that only group sub-commands.
action?: (
context: CommandContext,