pipe whoami
Synopsis
pipe whoamiDescription
Checks if stored credentials are valid by calling the Pipe Hub API, and displays the authenticated username.
- If not logged in, prints “not logged in”.
- If credentials are invalid or revoked, prints a warning to re-authenticate.
- If credentials are valid, prints the authenticated username.
Arguments
None.
Flags
None.
Examples
# Check who you're logged in aspipe whoami# Logged in as alice
# After logging out or revoking credentialspipe whoami# not logged in