Skip to content

Allow --json on the run command #3477

@Spazzy757

Description

@Spazzy757

Describe the feature or problem you’d like to solve

Currently the CLI has the ability for the issues and pullrequests to output as json (#385), this is not included in the run command

e.g: gh run list --json

Proposed solution

Giving a structured output that does not need libraries like awk to pull out the valid data is helpful in many automation cases (i.e see the output of a run to use in an automation script). Adding --json will make this vastly easier

Additional Context

I looked through the current issues and did not find an issue that specifically for this, apologies if I missed one

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions