mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
22 lines
508 B
TypeScript
22 lines
508 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import type { OpenDialogActionReturn, SlashCommand } from './types.js';
|
|
import { CommandKind } from './types.js';
|
|
import { t } from '../../i18n/index.js';
|
|
|
|
export const authCommand: SlashCommand = {
|
|
name: 'auth',
|
|
get description() {
|
|
return t('change the auth method');
|
|
},
|
|
kind: CommandKind.BUILT_IN,
|
|
action: (_context, _args): OpenDialogActionReturn => ({
|
|
type: 'dialog',
|
|
dialog: 'auth',
|
|
}),
|
|
};
|