Skip to content

[Feature]: Add /status slash command for quick git status #29

Closed

Description

@shauryagangrade

Problem

To check git status, users must ask the AI agent to run git status. There is no direct slash command for quick access.

Proposed solution

Add a /status slash command that directly runs git status --short and displays the result.

Implementation hints

  • Import git_status from gcode.tools in cli.py
  • Add a cmd == "status" case in the slash command dispatcher
  • Call result = git_status.invoke({}) and display via ui.print(result)
  • Update _print_help to include /status

Alternatives considered

None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions