diff options
| author | Tommaso Sciortino <[email protected]> | 2025-06-21 08:43:01 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-21 16:43:01 +0100 |
| commit | f9b2a3373257fb419d1fb9fd5a78da5a6c574759 (patch) | |
| tree | c3d166676b5c1ce85bc0ee04d2e50b1d916d4ddd | |
| parent | 52afcb3a1233237b07aa86b1678f4c4eded70800 (diff) | |
Remove packages/cli/README.md (#1278)
| -rw-r--r-- | packages/cli/README.md | 48 | ||||
| -rw-r--r-- | packages/core/README.md | 6 |
2 files changed, 0 insertions, 54 deletions
diff --git a/packages/cli/README.md b/packages/cli/README.md deleted file mode 100644 index 1c57b695..00000000 --- a/packages/cli/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# Gemini CLI - -This package contains the core command-line interface for Gemini CLI. - -## Setup - -1. **Get a Gemini API Key:** Obtain your API key from Google AI Studio: [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey) -2. **Set Environment Variable:** Set the `GEMINI_API_KEY` environment variable to your obtained key. You can do this temporarily in your current shell session: - ```bash - export GEMINI_API_KEY="YOUR_API_KEY" - ``` - Or add it to your shell's configuration file (like `~/.bashrc`, `~/.zshrc`, or `~/.profile`) for persistence: - ```bash - echo 'export GEMINI_API_KEY="YOUR_API_KEY"' >> ~/.bashrc # Or your preferred shell config file - source ~/.bashrc # Reload the config - ``` - Replace `"YOUR_API_KEY"` with your actual key. - -## Building - -To build only the CLI package, navigate to this directory (`packages/cli`) and run: - -```bash -npm run build -``` - -This command executes the TypeScript compiler (`tsc`) as defined in this package's `package.json`. Ensure dependencies have been installed from the root directory (`npm install`) first. - -## Running - -To start the Gemini CLI directly from this directory: - -```bash -npm start -``` - -This command executes `node dist/gemini.js` as defined in this package's `package.json`. - -## Debugging - -To debug the CLI application using VS Code: - -1. Start the CLI in debug mode from this directory (`packages/cli`): - ```bash - npm run debug - ``` - This command runs `node --inspect-brk dist/gemini.js`, pausing execution until a debugger attaches. -2. In VS Code (opened at the root of the monorepo), use the "Attach" launch configuration (found in `.vscode/launch.json`). This configuration is set up to attach to the Node.js process listening on port 9229, which is the default port used by `--inspect-brk`. diff --git a/packages/core/README.md b/packages/core/README.md deleted file mode 100644 index f0372920..00000000 --- a/packages/core/README.md +++ /dev/null @@ -1,6 +0,0 @@ -Nested package template. Either fill this out with "backend" functionality or create similar packages that you want built separate from the CLI. - -To use this package from another dependent package in this monorepo: - -1. Add `"@gemini-cli/core"` to the dependent package's `package.json` -1. Import a dependency by calling `import { } from "@gemini-cli/core"` |
