@kuckit/cli
v7.0.0
Published
CLI tools for Kuckit SDK module development
Maintainers
Readme
@kuckit/cli
CLI tools for Kuckit SDK module development and infrastructure deployment.
Installation
npm install -g @kuckit/cliOr use directly with npx/bunx:
npx @kuckit/cli <command>
bunx kuckit <command>Prerequisites
- Node.js 18+ or Bun
- A Kuckit account at kuckit.dev
Authentication
Before using the CLI, authenticate:
kuckit auth loginThis opens your browser to complete authentication. Credentials are stored in ~/.kuckit/config.json.
Commands
Development
kuckit dev # Start development server with hot reload
kuckit build # Build for production
kuckit start # Start production serverGenerate a new module
kuckit generate module <name>Options:
-o, --org <org>- Organization scope for package name-d, --dir <directory>- Target directory (default:packages)
Add a module to your project
kuckit add <package>Installs and wires a Kuckit module into your project.
Discover installed modules
kuckit discoverScans node_modules for installed Kuckit modules and offers to enable them.
Check your setup
kuckit doctorValidates your Kuckit configuration and module setup.
Search for modules
kuckit search <keyword>Search the npm registry for Kuckit modules.
Database commands
kuckit db push # Push module schemas to database
kuckit db generate # Generate migration files
kuckit db studio # Open Drizzle StudioInfrastructure commands
Deploy to GCP with one command:
kuckit infra up # Initialize and deploy (one command)
kuckit infra init # Initialize base infrastructure only
kuckit infra deploy # Build and deploy application
kuckit infra deploy --env prod # Deploy to production
kuckit infra status # Show deployment status
kuckit infra logs --follow # Stream Cloud Run logs
kuckit infra destroy # Tear down infrastructureDatabase operations:
kuckit infra db:push --env dev # Push schema (dev only)
kuckit infra db:migrate --env prod # Run migrations (prod)Configuration:
kuckit infra config set appUrl https://app.example.com --env prod
kuckit infra config list --env prodSee the Deployment Guide for details.
Authentication
kuckit auth login # Authenticate with Kuckit
kuckit auth logout # Clear stored credentials
kuckit auth whoami # Show current auth statusDocumentation
- kuckit.dev - Full documentation
- Deployment Guide
- Module Development
License
MIT
