diff options
| author | Daniel Lee <[email protected]> | 2025-07-28 18:40:47 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-29 01:40:47 +0000 |
| commit | 7356764a489b47bc43dae9e9653380cbe9bce294 (patch) | |
| tree | ded97cfbfecf19c68f5b495950906f64088dafad /packages/cli/src/ui/commands | |
| parent | 871e0dfab811192f67cd80bc270580ad784ffdc8 (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.ts | 3 |
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, |
