CLI Reference
All clawr commands and their options.
Installation
npx clawr
Or install globally: npm install -g clawr
deploy
Deploy a data file or skill as a paid API
Usage
clawr deploy <file> [options]
Options
| --price <amount> | Price per request in USDC (default: 0.001) |
| --name <name> | Custom endpoint name |
| --tenant <id> | Tenant namespace |
| --network <n> | Blockchain network (default: base) |
| --wallet <addr> | Payout wallet address |
Examples
clawr deploy data.csv --price 0.01clawr deploy products.json --name my-productsclawr deploy ./seo-audit --price 0.05
list
List all your deployed APIs
Usage
clawr list [options]
Options
| --tenant <id> | Filter by tenant |
Examples
clawr listclawr list --tenant demo
stats
View usage statistics for your APIs
Usage
clawr stats [name] [options]
Options
| --period <p> | Time period: day, week, month (default: week) |
Examples
clawr statsclawr stats my-api --period month
withdraw
Withdraw earnings to your wallet
Usage
clawr withdraw [options]
Options
| --wallet <addr> | Destination wallet (default: deployment wallet) |
| --amount <n> | Amount to withdraw (default: all) |
Examples
clawr withdrawclawr withdraw --amount 100
delete
Remove a deployed API
Usage
clawr delete <name>
Examples
clawr delete my-old-api