Skip to main content
Command reference

codespar connect

Manage Connect Links for end-user provider OAuth

1 min read
View MarkdownEdit on GitHub

Manage Connect Links for end-user provider OAuth

3 commands in @codespar/cli 0.16.0.

Each one prints what its operation answered. What a command prints has the rule, and Configuration has the exit codes and the shape of a failure.

codespar connect list

List active connections

codespar connect list [options]
optionwhat it does
-u, --user <id>Filter by user
--status <s>Filter by status: connected, pending, revoked, expired

codespar connect start

Start an OAuth Connect Link flow for a server

codespar connect start [options] <server>
optionwhat it does
-u, --user <id>User id (default: cli-user)
-r, --redirect-uri <url>Where the provider returns the user (default: http://localhost:3000/connect/success)
--scopes <scopes>Provider-specific scope override
--openForce-open the link in the system browser
--no-openPrint the link only; don't auto-open

codespar connect revoke

Revoke a connection by id (ca_...) or by server (revokes active connection for the user)

codespar connect revoke [options] <connection-or-server>
optionwhat it does
-u, --user <id>User id when revoking by server (default: cli-user)
codespar connect | CodeSpar