legend-cli-0.0.5 is not a library.
legend-cli
CLI binary and MCP server for Legend. Earn yield, trade RWAs, and more — without worrying about blockchains, bridges, or protocols.
This is the main entry point for the legend-cli workspace. For installation and getting started, see the top-level README.
Usage
Pass --execute to create, sign, and submit a plan in one step.
Configuration
Profiles are stored in ~/.legend/<env>/profiles/<name>.json. The CLI supports multiple environments (--dev, --stage, --prod) and named profiles (--profile <name>).
Global flags
| Flag | Description |
|---|---|
--profile <name> |
Use a named profile (default: default) |
--key <key> |
Override the query key |
--dev / --stage / --prod |
Target environment |
--json |
Force JSON output |
--quiet |
Minimal output (IDs only) |
-v / --verbose |
Log HTTP requests to stderr |
License
MIT