mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 10:53:51 +02:00
gemini: add page (#17260)
* add gemini cli * Update gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/common/gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/common/gemini.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
parent
da3cb4ddfb
commit
dfc4cdd19d
1 changed files with 32 additions and 0 deletions
32
pages/common/gemini.md
Normal file
32
pages/common/gemini.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# gemini
|
||||
|
||||
> Launch an interactive prompt with Gemini AI.
|
||||
> More information: <https://github.com/google-gemini/gemini-cli>.
|
||||
|
||||
- Start a REPL session to chat interactively:
|
||||
|
||||
`gemini`
|
||||
|
||||
- Send the output of another command to Gemini and exit immediately:
|
||||
|
||||
`{{echo "Summarize the history of Rome"}} | gemini {{[-p|--prompt]}}`
|
||||
|
||||
- Override the default model (default: gemini-2.5-pro):
|
||||
|
||||
`gemini {{[-m|--model]}} {{gemini-2.5-flash}}`
|
||||
|
||||
- Run inside a sandbox container:
|
||||
|
||||
`gemini {{[-s|--sandbox]}}`
|
||||
|
||||
- Execute a prompt then stay in interactive mode:
|
||||
|
||||
`gemini {{[-i|--prompt-interactive]}} "{{Give me an example of recursion in Python}}"`
|
||||
|
||||
- Include all files in context:
|
||||
|
||||
`gemini {{[-a|--all-files]}}`
|
||||
|
||||
- Show memory usage in status bar:
|
||||
|
||||
`gemini --show-memory-usage`
|
Loading…
Add table
Reference in a new issue