summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/privacyCommand.ts
diff options
context:
space:
mode:
authorAbhi <[email protected]>2025-07-15 01:45:06 -0400
committerGitHub <[email protected]>2025-07-15 05:45:06 +0000
commite584241141b74ab503a527fad158d60eb06c38fe (patch)
tree2ccad5691af39e3f3782a976d6f498f2069bafb0 /packages/cli/src/ui/commands/privacyCommand.ts
parent886faa2990b191a0dbd01dc58a88e09e342886b5 (diff)
Migrate /privacy to new architecture (#4202)
Diffstat (limited to 'packages/cli/src/ui/commands/privacyCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/privacyCommand.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/cli/src/ui/commands/privacyCommand.ts b/packages/cli/src/ui/commands/privacyCommand.ts
new file mode 100644
index 00000000..f239158c
--- /dev/null
+++ b/packages/cli/src/ui/commands/privacyCommand.ts
@@ -0,0 +1,16 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { OpenDialogActionReturn, SlashCommand } from './types.js';
+
+export const privacyCommand: SlashCommand = {
+ name: 'privacy',
+ description: 'display the privacy notice',
+ action: (): OpenDialogActionReturn => ({
+ type: 'dialog',
+ dialog: 'privacy',
+ }),
+};