summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/corgiCommand.ts
blob: cb3ecd1c8b4de5fc328e9cd35499e77be53fa5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * @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.',
  kind: CommandKind.BUILT_IN,
  action: (context, _args) => {
    context.ui.toggleCorgiMode();
  },
};