CLI
The CLI copies files verbatim. What ships is what the LLM saw — no post-processing, no dependency injection. You own the code after add.
Commands
| Command | Effect |
|---|---|
| axiom-ui list | Print every component with its short intent. |
| axiom-ui add <name> [--dir <path>] [--force] | Copy <name>.tsx into your repo (defaults to ./src/components/). Refuses to overwrite without --force. |
| axiom-ui mcp | Start the MCP server on stdio. |
Examples
# List everything
npx @joinclass/axiom-ui list
# Copy dialog.tsx into ./src/components/
npx @joinclass/axiom-ui add dialog
# Copy into a custom directory
npx @joinclass/axiom-ui add toast --dir ./app/ui
# Overwrite an existing file
npx @joinclass/axiom-ui add button --force