mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-15 00:21:09 -07:00
17 lines
364 B
TypeScript
17 lines
364 B
TypeScript
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2025 Google LLC
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
import { OpenDialogActionReturn, SlashCommand } from './types.js';
|
||
|
|
|
||
|
|
export const authCommand: SlashCommand = {
|
||
|
|
name: 'auth',
|
||
|
|
description: 'change the auth method',
|
||
|
|
action: (_context, _args): OpenDialogActionReturn => ({
|
||
|
|
type: 'dialog',
|
||
|
|
dialog: 'auth',
|
||
|
|
}),
|
||
|
|
};
|