mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
Migrate /privacy to new architecture (#4202)
This commit is contained in:
parent
886faa2990
commit
e584241141
6 changed files with 71 additions and 11 deletions
16
packages/cli/src/ui/commands/privacyCommand.ts
Normal file
16
packages/cli/src/ui/commands/privacyCommand.ts
Normal file
|
|
@ -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',
|
||||
}),
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue