summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/themeCommand.ts
diff options
context:
space:
mode:
authorharoldmciver-go <[email protected]>2025-07-11 16:01:28 -0400
committerGitHub <[email protected]>2025-07-11 20:01:28 +0000
commit4197f3027857f1f6e83aedacb7e47a07690e2095 (patch)
treed2d568850fb8dce11e383f8252fe59330791ff7d /packages/cli/src/ui/commands/themeCommand.ts
parent2826c7a1c60bc09d256d7a7c11bdd98f65316cb7 (diff)
update /theme to new slash command arch (#3791)
Co-authored-by: matt korwel <[email protected]> Co-authored-by: Abhi <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/commands/themeCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/themeCommand.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/themeCommand.ts b/packages/cli/src/ui/commands/themeCommand.ts
new file mode 100644
index 00000000..29e9a491
--- /dev/null
+++ b/packages/cli/src/ui/commands/themeCommand.ts
@@ -0,0 +1,16 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { OpenDialogActionReturn, SlashCommand } from './types.js';
+
+export const themeCommand: SlashCommand = {
+ name: 'theme',
+ description: 'change the theme',
+ action: (_context, _args): OpenDialogActionReturn => ({
+ type: 'dialog',
+ dialog: 'theme',
+ }),
+};