@feltdb/cli
v0.4.5
Published
FeltDB command-line interface for application management
Readme
feltdb CLI
Command-line interface for FeltDB project development and management.
Installation
npm install -g @feltdb/cliOr use with npx:
npx --package @feltdb/cli feltdb <command>Commands
feltdb dev
Start the development server.
feltdb devThis starts a development server with hot reload and opens the inspector for debugging.
feltdb build
Build your FeltDB application.
feltdb buildCompiles your application and WASM artifacts for production.
feltdb check
Validate your FeltDB configuration and project structure.
feltdb checkChecks for:
- Valid configuration file
- Registered capabilities
- Workflow definitions
- Collection schemas
feltdb inspect
Open the FeltDB inspector to debug your application.
feltdb inspectThe inspector shows:
- Runtime peers
- Active operations
- Collection state
- Capability status
- Workflow execution
- Conflict resolution status
- Data provenance
feltdb doctor
Check system health and diagnose issues.
feltdb doctorVerifies:
- WASM runtime availability
- Browser storage capabilities
- Reactive runtime status
- Capability registration
- Distributed fabric connectivity
Configuration
FeltDB looks for feltdb.config.json in the current directory:
{
"namespace": "my-app",
"runtime": "browser",
"storage": "opfs",
"distributed": true,
"capabilities": {
"search": true,
"vector": false
}
}License
MIT
