Skip to content

gh repo view --json should allow fetching v2 projects #8960

@major0

Description

@major0

Describe the bug

The repo view command fails to return a list of projects.

Steps to reproduce the behavior

  1. gh repo view --json projects
  2. View the output '....'

Expected vs actual behavior

Expected a list of projects

Logs

$ gh repo view --json projects
{
  "projects": []
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-reporelating to the gh repo commandhelp wantedContributions welcomeneeds-triageneeds to be reviewed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions