20 lines
444 B
TypeScript
20 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',
|
|
};
|
|
},
|
|
};
|