Download packages/cli/src/ui/commands/editorCommand.ts from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/ui/commands/editorCommand.ts
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/cli/src/ui/commands/editorCommand.ts
-
curl -L -o editorCommand.ts https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/ui/commands/editorCommand.ts
444 Bytes
| /** | |
| * @license | |
| * Copyright 2025 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import { | |
| CommandKind, | |
| type OpenDialogActionReturn, | |
| type SlashCommand, | |
| } from './types.js'; | |
| export const editorCommand: SlashCommand = { | |
| name: 'editor', | |
| description: 'Set external editor preference', | |
| kind: CommandKind.BUILT_IN, | |
| autoExecute: true, | |
| action: (): OpenDialogActionReturn => ({ | |
| type: 'dialog', | |
| dialog: 'editor', | |
| }), | |
| }; | |