fix(minor): Grammar and Typos (#5053)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
82fa7a0660
commit
1b08a6c063
|
@ -45,7 +45,7 @@ You have two options to install Gemini CLI.
|
||||||
### With Homebrew
|
### With Homebrew
|
||||||
|
|
||||||
1. **Prerequisites:** Ensure you have [Homebrew](https://brew.sh/) installed.
|
1. **Prerequisites:** Ensure you have [Homebrew](https://brew.sh/) installed.
|
||||||
2. **Install the CLI** Execute the following command in your terminal:
|
2. **Install the CLI:** Execute the following command in your terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install gemini-cli
|
brew install gemini-cli
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
The Gemini CLI requires you to authenticate with Google's AI services. On initial startup you'll need to configure **one** of the following authentication methods:
|
The Gemini CLI requires you to authenticate with Google's AI services. On initial startup you'll need to configure **one** of the following authentication methods:
|
||||||
|
|
||||||
1. **Login with Google (Gemini Code Assist):**
|
1. **Login with Google (Gemini Code Assist):**
|
||||||
- Use this option to log in with your google account.
|
- Use this option to log in with your Google account.
|
||||||
- During initial startup, Gemini CLI will direct you to a webpage for authentication. Once authenticated, your credentials will be cached locally so the web login can be skipped on subsequent runs.
|
- During initial startup, Gemini CLI will direct you to a webpage for authentication. Once authenticated, your credentials will be cached locally so the web login can be skipped on subsequent runs.
|
||||||
- Note that the web login must be done in a browser that can communicate with the machine Gemini CLI is being run from. (Specifically, the browser will be redirected to a localhost url that Gemini CLI will be listening on).
|
- Note that the web login must be done in a browser that can communicate with the machine Gemini CLI is being run from. (Specifically, the browser will be redirected to a localhost url that Gemini CLI will be listening on).
|
||||||
- <a id="workspace-gca">Users may have to specify a GOOGLE_CLOUD_PROJECT if:</a>
|
- <a id="workspace-gca">Users may have to specify a GOOGLE_CLOUD_PROJECT if:</a>
|
||||||
|
|
|
@ -52,7 +52,7 @@ Read the main README, all Markdown files in the `docs` directory, and a specific
|
||||||
read_many_files(paths=["README.md", "docs/**/*.md", "assets/logo.png"], exclude=["docs/OLD_README.md"])
|
read_many_files(paths=["README.md", "docs/**/*.md", "assets/logo.png"], exclude=["docs/OLD_README.md"])
|
||||||
```
|
```
|
||||||
|
|
||||||
Read all JavaScript files but explicitly including test files and all JPEGs in an `images` folder:
|
Read all JavaScript files but explicitly include test files and all JPEGs in an `images` folder:
|
||||||
|
|
||||||
```
|
```
|
||||||
read_many_files(paths=["**/*.js"], include=["**/*.test.js", "images/**/*.jpg"], useDefaultExcludes=False)
|
read_many_files(paths=["**/*.js"], include=["**/*.test.js", "images/**/*.jpg"], useDefaultExcludes=False)
|
||||||
|
|
|
@ -137,6 +137,5 @@ To block all shell commands, add the `run_shell_command` wildcard to `excludeToo
|
||||||
|
|
||||||
## Security Note for `excludeTools`
|
## Security Note for `excludeTools`
|
||||||
|
|
||||||
Command-specific restrictions in
|
Command-specific restrictions in `excludeTools` for `run_shell_command` are based on simple string matching and can be easily bypassed. This feature is **not a security mechanism** and should not be relied upon to safely execute untrusted code. It is recommended to use `coreTools` to explicitly select commands
|
||||||
`excludeTools` for `run_shell_command` are based on simple string matching and can be easily bypassed. This feature is **not a security mechanism** and should not be relied upon to safely execute untrusted code. It is recommended to use `coreTools` to explicitly select commands
|
|
||||||
that can be executed.
|
that can be executed.
|
||||||
|
|
Loading…
Reference in New Issue