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

Add login url to cb login output. #146

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Commits on Dec 7, 2023

  1. Add login url to cb login output.

    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>
    ```
    abrightwell committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    de285e8 View commit details
    Browse the repository at this point in the history