Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mention pr create will print the created PR's URL #10980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

babakks
Copy link
Member

@babakks babakks commented May 13, 2025

Fixes #10953

This PR adds a line to the gh pr create command description to mention that the URL of the created pull request will be printed upon success.

@Copilot Copilot AI review requested due to automatic review settings May 13, 2025 13:56
@babakks babakks linked an issue May 13, 2025 that may be closed by this pull request
@babakks babakks requested a review from a team as a code owner May 13, 2025 13:56
@babakks babakks requested a review from williammartin May 13, 2025 13:56
@babakks babakks temporarily deployed to cli-automation May 13, 2025 13:56 — with GitHub Actions Inactive
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the gh pr create command help text to inform users that the URL of the newly created pull request will be printed upon success.

  • Adds a line to the long description of gh pr create mentioning the printed URL.
Comments suppressed due to low confidence (1)

pkg/cmd/pr/create/create.go:204

  • Add or update a unit test in pkg/cmd/pr/create/create_test.go to assert that the help output for gh pr create includes this new line about printing the URL.
Upon success, the URL of the created pull request will be printed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return value not documented
1 participant