Files
gemini-cli/packages/cli/src/ui/commands/corgiCommand.ts

17 lines
354 B
TypeScript
Raw Normal View History

2025-07-17 19:40:36 -04:00
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { CommandKind, type SlashCommand } from './types.js';
2025-07-17 19:40:36 -04:00
export const corgiCommand: SlashCommand = {
name: 'corgi',
description: 'Toggles corgi mode.',
kind: CommandKind.BUILT_IN,
2025-07-17 19:40:36 -04:00
action: (context, _args) => {
context.ui.toggleCorgiMode();
},
};