prefactor(commands): Command Service Prefactor for Extensible Commands (#4511)

This commit is contained in:
Abhi 2025-07-20 16:57:34 -04:00 committed by GitHub
parent 7a9821607b
commit 2a95c8287e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 919 additions and 720 deletions

View file

@ -6,12 +6,17 @@
import open from 'open';
import process from 'node:process';
import { type CommandContext, type SlashCommand } from './types.js';
import {
type CommandContext,
type SlashCommand,
CommandKind,
} from './types.js';
import { MessageType } from '../types.js';
export const docsCommand: SlashCommand = {
name: 'docs',
description: 'open full Gemini CLI documentation in your browser',
kind: CommandKind.BUILT_IN,
action: async (context: CommandContext): Promise<void> => {
const docsUrl = 'https://goo.gle/gemini-cli-docs';