-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This came as a request in #139. The gist of it being that there are some use cases where a browser may not be available to the user, e.g. headless or no default browser. Therefore it would be beneficial to present such configurations with a login url instead that can be copy/pasted to a browser of choice. Though, here, we're taking it one step further an making sure to provide the link regardless of browser availability. Though, in the case of no browser availability, we no longer prompt the user to open one and instead just present the login url. Example: ``` > # With browser > cb login Press Enter to open a browser to login. (Ctrl+C to quit) Or visit: <login_url> > # Without browser > cb login To login with Crunchy Bridge, please visit: <login_url> ```
- Loading branch information
1 parent
74c8d17
commit 6f7b1e7
Showing
5 changed files
with
140 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters