Download packages/cli/src/ui/commands/footerCommand.tsx from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 690 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/ui/commands/footerCommand.tsx
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/cli/src/ui/commands/footerCommand.tsx
-
curl -L -o footerCommand.tsx https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/cli/src/ui/commands/footerCommand.tsx
690 Bytes
| /** | |
| * @license | |
| * Copyright 2026 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import { | |
| type SlashCommand, | |
| type CommandContext, | |
| type OpenCustomDialogActionReturn, | |
| CommandKind, | |
| } from './types.js'; | |
| import { FooterConfigDialog } from '../components/FooterConfigDialog.js'; | |
| export const footerCommand: SlashCommand = { | |
| name: 'footer', | |
| altNames: ['statusline'], | |
| description: 'Configure which items appear in the footer (statusline)', | |
| kind: CommandKind.BUILT_IN, | |
| autoExecute: true, | |
| action: (context: CommandContext): OpenCustomDialogActionReturn => ({ | |
| type: 'custom_dialog', | |
| component: <FooterConfigDialog onClose={context.ui.removeComponent} />, | |
| }), | |
| }; | |