relio-cli
v0.2.0
Published
Command-line tool for the Relio CRM platform
Maintainers
Readme
relio-cli
Command-line tool for the Relio platform.
Installation
npm install -g relio-cliCommands
relio login
relio whoami
relio auth test
relio logout
relio profiles list
relio profiles use <name>relio login
-s, --server <url>: Relio server URL (defaults toRELIO_SERVER_URLorhttp://localhost:3000)--profile <name>: Profile name to store credentials under (default:default)--client-name <name>: Name shown on the approval screen--token-name <name>: Name for the created workspace API key--expires-in <seconds>: Device code expiry (60to900)--no-open: Skip opening the browser automatically
relio whoami
Reads the current profile (or --profile) and prints identity/auth info from the API.
relio auth test
Validates that the current profile API key is accepted by the server.
relio logout
Removes credentials for the active profile (or --profile / --all).
relio profiles
relio profiles list: list all saved profilesrelio profiles use <name>: set active profile
Credentials are stored at:
~/.config/relio/config.json
SDK
For the TypeScript SDK (client, server, webhooks), see the @relio/sdk package:
import { createRelioClient } from "@relio/sdk/client";
import { createRelioServerClient, verifyRelioWebhookRequest } from "@relio/sdk/server";