← Back to issue list

Support output formats

View original Github issue

Metadata

Project
craft-cli
Number
#278
Type
issue
State
open
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Feature request to add an API for outputting command data as a table or machine-readable format (e.g. JSON) to reduce duplication across craft apps. Unlabelled, no assignee, only a Jira-sync bot comment; the requested data-output API is not implemented (OutputFormat only covers help text).

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and its only comment is an autogenerated Jira-sync bot message (2024-09-30), so it shows no sign of being categorised or prioritised despite being filed by maintainer mr-cal. It is a legitimate, still-open feature (craft_cli/helptexts.py defines OutputFormat as only 'plain markdown' for help text, with no table/JSON data-output API) and is a stated blocker for canonical/snapcraft#5060, so it should be triaged rather than closed.

Impact: 55 Quick Win: 13.75 Staleness: 72 Complexity: 75 Confidence: 75 Support Request: 5

Issue body

### What needs to get done Create an API to output data as a table or a machine readable format like json. ### Why it needs to get done * To reduce code duplication inside and in between craft apps. * More consistent UX Discussed during the starcraft clinics with @tigarmo and @lengau. Related: https://github.com/canonical/snapcraft/issues/5060

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 55
Quick Win: 13.75
Staleness: 72
Complexity: 75
Confidence: 75
Support Request: 5
needs triage Feature request to add an API for outputting command data as a table or machine-readable format (e.g. JSON) to reduce duplication across craft apps. Unlabelled, no assignee, only a Jira-sync bot comment; the requested data-output API is not implemented (OutputFormat only covers help text).
qwen/qwen3.6-35b-a3b
Staleness: 75
Complexity: 40
Confidence: 85
Support Request: 10
needs triage Feature request for API to output data as table or JSON to reduce code duplication and improve UX. Discussed internally, linked to external issue. No maintainer triage or labels present.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 40
Confidence: 85
Support Request: 10
needs triage Feature request to add an API for outputting data in table or JSON formats to reduce duplication and improve UX. Unlabelled, no maintainer response, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 45
Confidence: 75
Support Request: 10
needs triage Requests an API to output data as tables or JSON, reducing duplication and improving UX. Open for over a year with a Jira ticket, but inactive for 463 days. Requires triage and assignment to advance.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5060 (confidence 85%)

    Referenced in the issue body as 'Related'; snapcraft#5060 (machine-readable status output) is explicitly blocked by this craft-cli output-format work, making this issue a prerequisite for it.

Related issues

No related issues found above the similarity threshold.