Skip to content

Repository files navigation

@recoupable/cli

Command-line interface for the Recoup platform.

Quick Start

Install

npm install -g @recoupable/cli

Authenticate

Get your API key from the Recoup Developer Dashboard, then set it as an environment variable:

export RECOUP_API_KEY=your-api-key

To persist it across sessions, add it to your shell profile:

echo'export RECOUP_API_KEY=your-api-key'>>~/.zshrc
source~/.zshrc

Use ~/.bashrc instead if you use bash.

Verify

recoup whoami

Commands

Account

recoup whoami # Show your account ID
recoup whoami --json # Output as JSON

Artists

recoup artists list # List your artists
recoup artists list --json

Chats

recoup chats list # List your chats
recoup chats create --name "Topic"# Create a new chat
recoup chats create --artist <id># Create a chat with an artist

Sandboxes

recoup sandboxes list # List your sandboxes
recoup sandboxes create # Create a new sandbox
recoup sandboxes create --command "ls -la"# Create and run a command

Organizations

recoup orgs list # List your organizations

Global Flags

All commands support --json for machine-readable JSON output.

Configuration

VariableRequiredDescription
RECOUP_API_KEYYesYour Recoup API key
RECOUP_API_URLNoAPI base URL (default: https://recoup-api.vercel.app)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages