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 now whoami subcommand #587

Merged
merged 1 commit into from
May 26, 2017
Merged

add now whoami subcommand #587

merged 1 commit into from
May 26, 2017

Commits on May 26, 2017

  1. add now whoami subcommand

    Not logged in:
    
    ```
    $ now whoami
    > Not currently logged in! Please run `now --login`.
    ```
    
    Logged in, stdout is a TTY:
    
    ```
    $ now whoami
    > tootallnate
    $ now switch zeit
    $ now whoami
    > zeit
    ```
    
    Stdout is NOT a TTY:
    
    ```
    $ echo "Logged in to Now as $(now whoami)"
    Logged in to Now as tootallnate
    ```
    
    Closes #585.
    TooTallNate committed May 26, 2017
    Configuration menu
    Copy the full SHA
    7d9be34 View commit details
    Browse the repository at this point in the history