"web" flag for more resources
Created by: pbnj
Describe the feature or problem you'd like to solve
Similar to glab mr view -w|--web
functionality, I would like to be able to open other resources in my default browser for most commands.
Something like:
-
glab pipeline -w|--web
to open the pipelines page of the current repo -
glab repo -w|--web
to open the project page of the current repo -
glab repo search <term> -w|--web
to open the search results on gitlab -
glab issue -w|--web
to open the issues page of the current repo -
glab mr -w|--web
to open the MRs page of the current repo -
glab release -w|--web
to open the releases page of the current repo
Propose a Solution The logic is already implemented for some APIs, like a single issue and a single mr, so it shouldn't be too difficult to extend this to other resources, like pipelines, repo, repo search, issues, mrs, and releases.
Edited by Kai Armstrong