Skip to main content

Usage

toolshed status

Output

Displays your current Toolshed session: the server URL, your user ID, and which OAuth providers are connected.
$ toolshed status
Server:  http://localhost:3001
User:    user_f7c469e8
Providers: github, google
If no providers are connected:
$ toolshed status
Server:  http://localhost:3001
User:    user_f7c469e8
Providers: none connected
Run "toolshed connect <provider>" to link a provider.
If not logged in:
$ toolshed status
Not logged in.
Run "toolshed login" to authenticate.

How it works

  1. Reads ~/.toolshed/config.json for the server URL and session token
  2. Calls GET /api/auth/connections?userId=<userId> on the Toolshed server
  3. Displays the results
If the server is unreachable, the command still shows the local config but notes that providers couldn’t be fetched.