mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 09:30:58 -07:00
21 lines
444 B
TypeScript
21 lines
444 B
TypeScript
|
|
/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2025 Google LLC
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
import { OpenDialogActionReturn, SlashCommand } from './types.js';
|
||
|
|
|
||
|
|
export const helpCommand: SlashCommand = {
|
||
|
|
name: 'help',
|
||
|
|
altName: '?',
|
||
|
|
description: 'for help on gemini-cli',
|
||
|
|
action: (_context, _args): OpenDialogActionReturn => {
|
||
|
|
console.debug('Opening help UI ...');
|
||
|
|
return {
|
||
|
|
type: 'dialog',
|
||
|
|
dialog: 'help',
|
||
|
|
};
|
||
|
|
},
|
||
|
|
};
|