circleci-cli
circleci-cli copied to clipboard
Feature Request: 'circleci open' should open the current branch
- [x] I have read Contribution Guidelines.
- [x] I have checked for similar issues and haven't found anything relevant.
- [x] This is not a security issue (which should be reported here: https://circleci.com/security/)
Do you want to request a feature or report a bug?
feature request
What is the current behavior?
circleci open
opens the page for the current repo in the user's default browser
What is the requested behavior?
circleci open
opens the page for the current branch in the current repo in the user's default browser. i.e. by adding the branch
query string with the current branch name as its value to the url.
Alternative suggestions
I would find this more useful than the current behaviour which takes you to a page unfiltered by branch, but it might also be good just to have a --branch
option on the open
command.
Hi Max, thanks for the suggestion. I've been thinking about this recently, and I was thinking of having circleci open
andd ?filter=mine
to the URL, to only show your own pipelines:
I've thought about opening on the branch page too, but I'm a little hesitant because if there are no pipelines created on CircleCI (if you have not pushed yet perhaps) you get an empty page.
wdyt?
(This is a real issue for sure)