Data Browser (browse)
Launch the interactive data browser for inspecting a Radish-generated application's data layer.
Note: This command was formerly called
console. Useradish-cli browsein all new scripts and documentation.
Usage
radish-cli browse [app-path] [options]
Arguments:
[app-path]- Path to the Radish app directory (default:.)
Options
| Option | Description | Default |
|---|---|---|
-p, --port <port> | Port to run browser on | 5173 |
--build | Build browser for production instead of dev mode | false |
Examples
# Launch data browser for current directory
radish-cli browse
# Launch for a specific app on a custom port
radish-cli browse ./my-app --port 3000
# Build for production
radish-cli browse --build
What It Does
The data browser provides a web-based UI for exploring your generated data layer. It reads the MANIFEST.json and entity metadata from the generated code to display:
- Entity list with field definitions
- Contract (Zod schema) details
- Model and repository structure
- Service layer overview
- API route documentation
Environment Variables
| Variable | Description | Default |
|---|---|---|
RADISH_APP_PATH | Path to app (alternative to positional argument) | . |
PORT | Browser port (alternative to --port) | 5173 |