diff options
| author | Abhi <[email protected]> | 2025-07-20 16:57:34 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-20 20:57:34 +0000 |
| commit | 2a95c8287ed3b6fc38e7dcec5f0a19b9e2d843e7 (patch) | |
| tree | 1a9ffb6be8468aa44e54bfcb8ae2f961b970cf9a /packages/cli/src/ui/commands/quitCommand.ts | |
| parent | 7a9821607bafcbb98cf059705aaab358d46e711c (diff) | |
prefactor(commands): Command Service Prefactor for Extensible Commands (#4511)
Diffstat (limited to 'packages/cli/src/ui/commands/quitCommand.ts')
| -rw-r--r-- | packages/cli/src/ui/commands/quitCommand.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/cli/src/ui/commands/quitCommand.ts b/packages/cli/src/ui/commands/quitCommand.ts index 48daf8c2..36f15c71 100644 --- a/packages/cli/src/ui/commands/quitCommand.ts +++ b/packages/cli/src/ui/commands/quitCommand.ts @@ -5,12 +5,13 @@ */ import { formatDuration } from '../utils/formatters.js'; -import { type SlashCommand } from './types.js'; +import { CommandKind, type SlashCommand } from './types.js'; export const quitCommand: SlashCommand = { name: 'quit', - altName: 'exit', + altNames: ['exit'], description: 'exit the cli', + kind: CommandKind.BUILT_IN, action: (context) => { const now = Date.now(); const { sessionStartTime } = context.session.stats; |
