summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/corgiCommand.ts
diff options
context:
space:
mode:
authorAbhi <[email protected]>2025-07-17 19:40:36 -0400
committerGitHub <[email protected]>2025-07-17 23:40:36 +0000
commitca07b5b0c41defb27d6b156faba356ab900ee092 (patch)
tree48a4c2180d6c7ddd70c14468a14b918812d5ba74 /packages/cli/src/ui/commands/corgiCommand.ts
parent5df6c9fb660f932d54d6b5d1080cb86c95a824cf (diff)
Migrate /corgi (#4419)
Diffstat (limited to 'packages/cli/src/ui/commands/corgiCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/corgiCommand.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/corgiCommand.ts b/packages/cli/src/ui/commands/corgiCommand.ts
new file mode 100644
index 00000000..290c071e
--- /dev/null
+++ b/packages/cli/src/ui/commands/corgiCommand.ts
@@ -0,0 +1,15 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { type SlashCommand } from './types.js';
+
+export const corgiCommand: SlashCommand = {
+ name: 'corgi',
+ description: 'Toggles corgi mode.',
+ action: (context, _args) => {
+ context.ui.toggleCorgiMode();
+ },
+};