Skip to content

Add support for line number range to 'browse' #4248

@despreston

Description

@despreston

Describe the feature or problem you’d like to solve

Would like to open the browser to a specific file, with a range of lines highlighted.

Proposed solution

Allow this:
gh browse test.go:10-20

To open the test.go file and highlight lines 10-20.

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