summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/Tips.tsx
blob: 21d9596696f2eab889bafa9d24101281d25150a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

import React from 'react';
import { Box, Text } from 'ink';
import { Colors } from '../colors.js';

export const Tips: React.FC = () => (
  <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.
    </Text>
    <Text color={Colors.Foreground}>
      2.{' '}
      <Text bold color={Colors.AccentPurple}>
        /init
      </Text>{' '}
      to create a GEMINI.md for instructions & context.
    </Text>
    <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>
  </Box>
);