Files
gemini-cli/packages/cli/src/ui/components/Tips.tsx
T

34 lines
911 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
2025-04-15 21:41:08 -07:00
import React from 'react';
import { Box, Text } from 'ink';
2025-04-19 12:38:09 -04:00
import { Colors } from '../colors.js';
2025-04-15 21:41:08 -07:00
2025-04-18 19:09:41 -04:00
export const Tips: React.FC = () => (
2025-04-19 12:38:09 -04:00
<Box flexDirection="column" marginBottom={1}>
<Text color={Colors.Foreground}>Tips for getting started:</Text>
<Text color={Colors.Foreground}>
1.{' '}
<Text bold color={Colors.AccentPurple}>
/help
</Text>{' '}
for more information.
2025-04-18 18:08:43 -04:00
</Text>
2025-04-19 12:38:09 -04:00
<Text color={Colors.Foreground}>
2.{' '}
<Text bold color={Colors.AccentPurple}>
/init
</Text>{' '}
to create a GEMINI.md for instructions & context.
2025-04-18 18:08:43 -04:00
</Text>
2025-04-19 12:38:09 -04:00
<Text color={Colors.Foreground}>
3. Ask coding questions, edit code or run commands.
</Text>
<Text color={Colors.Foreground}>4. Be specific for the best results.</Text>
2025-04-18 18:08:43 -04:00
</Box>
);