Skip to content

Output URL for newly-created repo #8431

@mxie

Description

@mxie

Describe the feature or problem you’d like to solve

After creating a repo, I currently don't have a way to see the newly-created repo in a browser or share it with someone else.

Proposed solution

Output the URL for the new repo. Probably after Created repository <owner/repo name> on GitHub?

Additional context

Should work similarly to issue and PR creation:

% gh issue create

Creating issue in cli/cli

? Title Output URL for newly-created repo
? Choose a template ⭐ Submit a request
? Body <Received>
? What's next? Submit
https://github.com/cli/cli/issues/8431 <- this

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-reporelating to the gh repo commandhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions