Package Exports
- @rool-dev/cli
- @rool-dev/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rool-dev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Rool CLI
Command-line interface for the Rool platform.
Installation
npm install -g @rool-dev/cliUsage
rool <command> [options]Commands
| Command | Description |
|---|---|
chat <prompt> |
Send a prompt to a space |
chat |
Interactive chat mode |
space list |
List all spaces |
space create <name> |
Create a new space |
space delete <name> |
Delete a space |
user |
Show current user info |
logout |
Log out |
Options
| Option | Description |
|---|---|
-s, --space <name> |
Space name (default: "Rool CLI") |
-c, --conversation <id> |
Conversation ID (default: "rool-dev") |
-u, --url <url> |
API URL (default: https://api.rool.dev) |
-y, --yes |
Skip confirmation prompts |
Examples
# Chat with the default space
rool chat "What is the capital of France?"
# Interactive chat mode
rool chat
# Use a specific space
rool chat -s "My Project" "Summarize the current state"
# List your spaces
rool space list
# Create a new space
rool space create "My New Project"
# Delete a space (with confirmation)
rool space delete "Old Project"
# Delete without confirmation
rool space delete "Old Project" -y
# Show user info
rool user
# Log out
rool logoutAuthentication
On first use, the CLI opens your browser to authenticate. Credentials are stored in ~/.config/rool/.
License
Proprietary - © Rool Limited. All rights reserved.