Account

Sign in

login signs in with a browser device code. The token expires after 90 days without use. logout revokes the saved token. whoami prints the signed-in account.

Usage

fortrip login [--no-browser] | logout | whoami

Output

whoami: { userId, email, apiUrl }. logout: { loggedOut: true, apiUrl }.