-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
area/uxImproves the CLI's usability, performance, interactive features, and documentation.Improves the CLI's usability, performance, interactive features, and documentation.kind/bugSomething isn't workingSomething isn't workingpriority/p2Important but can be addressed in a future release.Important but can be addressed in a future release.
Description
What happened?
- Create malformed .toml with custom command (I was able to reproduce with
"""'
as the last line, where as"""
works fine):
> cat ~/.gemini/commands/investigate.toml
description = "Asks the model to investigate a bug in relation to this project."
prompt = """
Analyze the project directory. Take note of important files, details, etc and summarize it into tmp/PROJECT.md.
"""'
- Call
gemini
command - gemini starts, custom
/investigate
command doesn't appear, there's no visibility that the~/.gemini/commands/investigate.toml
has a syntax error
What did you expect to happen?
I want to see a red error saying that the ~/.gemini/commands/investigate.toml
has a syntax error, and the line with the error.
Client information
Client Information
Run gemini
to enter the interactive CLI, then run the /about
command.
> /about
│ About Gemini CLI │
│ │
│ CLI Version 0.2.2-git.39e7213f │
│ Git Commit 39e7213f │
│ Model gemini-2.5-pro │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method gemini-api-key │
Login information
No response
Anything else we need to know?
No response
Metadata
Metadata
Assignees
Labels
area/uxImproves the CLI's usability, performance, interactive features, and documentation.Improves the CLI's usability, performance, interactive features, and documentation.kind/bugSomething isn't workingSomething isn't workingpriority/p2Important but can be addressed in a future release.Important but can be addressed in a future release.