Skip to content

--list-sessions does not support --output-format json #24690

@adrian-gierakowski

Description

@adrian-gierakowski

What happened?

using --output-format json does not have any effect on the output of --list-sessions

What did you expect to happen?

I was expecting to see sessions information in json format

I would like to use it as input to another command (related to #24687)

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ CLI Version                                                               0.36.0                                                                                                                                   │
│ Model                                                                     Auto (Gemini 3)                                                                                                                          │
│ Sandbox                                                                   no sandbox                                                                                                                               │
│ OS                                                                        linux                                                                                                                                    │
│ Auth Method                                                               Signed in with Google (agierakowski@gmail.com)                                                                                           │
│ Tier                                                                      Gemini Code Assist in Google One AI Ultra 

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalitystatus/need-triageIssues that need to be triaged by the triage automation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions