Skip to content

Print version information as JSON #307

Description

@jongio

Scripts that install or verify grut need to parse the current version without scraping human text or update notices. Add grut version --json to print structured version data and skip update messaging in JSON mode.

Acceptance criteria:

  • grut version --json prints valid JSON with a version field.
  • Plain grut version keeps the current text output.
  • Tests cover both command structure and JSON output.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestideaFeature idea from the idea pipeline

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions