Skip to content

Allow passing urls to --repo args #1505

Description

@gibfahn

Describe the feature or problem you’d like to solve

I often want to automatically set repos, for example gh pr create --repo="$(git remote get-url @{u})" (simplified version).

This would make things easier when needing to distinguish between GHE and non-GHE repos, and also just generally when passing repos in a scriptable way.

Activity

  1. mislav commented on Aug 10, 2020

    @mislav
    Contributor

    Thank you for the idea! I can see how this can be useful for scripts 🤘

  2. js1darren commented on Nov 18, 2023

    @js1darren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions