Skip to content

Add confirmation steps to risky write commands #1330

Description

@ampinsk

Right now, we have a few commands that we should ask the user to confirm before proceeding when using in a terminal.

  • gh pr create (when creating fork)
  • gh repo create
  • gh pr merge
  • gh repo fork (?)

A first pass at design:

Screen Shot 2020-07-06 at 9 43 43 AM

Let me know if there are other commands that we should include here!

Activity

  1. vilmibm commented on Jul 9, 2020

    @vilmibm
    Contributor

    thanks for opening this!

  2. ShubhankarKG commented on Jul 13, 2020

    @ShubhankarKG
    Contributor

    #1357 has a fix for gh repo create and gh pr merge. It'll be better if someone else can take up the other two commands, viz. gh pr create and gh repo fork

  3. AliabbasMerchant commented on Jul 13, 2020

    @AliabbasMerchant
    Contributor

    Great! I will take up the other two.

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