mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 17:41:24 -07:00
19 lines
390 B
TypeScript
19 lines
390 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import { CommandKind, type SlashCommand } from './types.js';
|
|
|
|
export const corgiCommand: SlashCommand = {
|
|
name: 'corgi',
|
|
description: 'Toggles corgi mode',
|
|
hidden: true,
|
|
kind: CommandKind.BUILT_IN,
|
|
autoExecute: true,
|
|
action: (context, _args) => {
|
|
context.ui.toggleCorgiMode();
|
|
},
|
|
};
|