selah-cli
Version:
Zero-setup AWS deployment for Bolt.new apps. Build in Bolt, deploy to production in 3 minutes with AI guidance.
36 lines (35 loc) • 1.69 kB
JavaScript
import { Command } from 'commander';
import { installCommand } from './cli/commands/install.js';
import { initCommand } from './cli/commands/init.js';
import { buildCommand } from './cli/commands/build.js';
import { analyzeCommand } from './cli/commands/analyze.js';
import { deployCommand } from './cli/commands/deploy.js';
import { verifySetupCommand } from './cli/commands/verify-setup.js';
import { authCommand } from './cli/commands/auth.js';
import { awsSetupCommand } from './cli/commands/aws-setup.js';
import { awsEnvCommand } from './cli/commands/aws-env.js';
const program = new Command();
program
.name('selah')
.description('Selah - Zero-setup deployment with AI-powered optimization')
.version('1.0.0');
// Authentication
program.addCommand(authCommand); // selah auth login/logout/status
// Zero-setup installation command
program.addCommand(installCommand); // npx selah install - scaffold with credentials guide
// Core commands
program.addCommand(initCommand); // Initialize Selah in existing project
program.addCommand(analyzeCommand); // Deep analysis with video consultation
program.addCommand(buildCommand); // Full build, optimize, and deploy with AI
program.addCommand(deployCommand); // Deploy approved blueprint to AWS
// Setup verification
program.addCommand(verifySetupCommand); // Verify API integrations
// AWS setup
program.addCommand(awsSetupCommand); // Interactive AWS setup wizard
program.addCommand(awsEnvCommand); // Simple env setup for Bolt.new
// Global options
program.option('--verbose', 'Enable verbose logging');
program.option('--no-color', 'Disable colored output');
// Parse command line arguments
program.parse();