Skip to content
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

Feature request: When opening assignment list in a browser, URL should also be outputted, similar to gh auth login, in case terminal is headless #21

Open
zrdaley opened this issue Aug 14, 2023 · 0 comments

Comments

@zrdaley
Copy link
Collaborator

zrdaley commented Aug 14, 2023

E.g.:

$ gh classroom assignments --web
? Select a classroom: Introduction to Game Development
22 Assignments for Introduction to Game Development

Opening in your browser.

Versus:

$ gh auth login
? You're already logged into github.com. Do you want to re-authenticate? Yes
? What is your preferred protocol for Git operations? HTTPS
? How would you like to authenticate GitHub CLI? Login with a web browser

! First copy your one-time code: 306B-9B4C
Press Enter to open github.com in your browser... 
! Failed opening a web browser at https://github.com/login/device
  exec: "xdg-open,x-www-browser,www-browser,wslview": executable file not found in $PATH
  Please try entering the URL in your browser manually
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

No branches or pull requests

1 participant