A TypeScript CLI for deployment automation, configuration management, Docker scaffolding, GitHub Actions generation, deployment tracking, and developer workflow tooling.
LaunchStack CLI helps developers standardize deployment workflows across projects through a lightweight, local-first command-line experience. It provides project initialization, configuration validation, deployment history tracking, rollback visibility, secrets management, infrastructure scaffolding, and workflow generation.
- Project initialization with
launchstack.config.json - Configuration validation
- Environment management
- Deployment provider management
- Deployment workflow execution
- Deployment history tracking
- Rollback target lookup
- Local secrets management
- Git metadata tracking
- Docker scaffolding generation
- GitHub Actions workflow generation
- TypeScript-first architecture
- Lightweight and extensible CLI design
npm install -g launchstack-cliVerify installation:
launchstack --helpgit clone https://github.com/wbizmo/launchstack-cli.git
cd launchstack-cli
npm install
npm run buildRun locally:
node dist/cli.js --helpCreate a new project configuration:
launchstack init --name my-appCheck project status:
launchstack statusValidate configuration:
launchstack validateGenerate deployment assets:
launchstack docker init
launchstack github initRun a deployment workflow:
launchstack deployCreate a new configuration file.
launchstack init --name my-appOverwrite an existing configuration:
launchstack init --name my-app --forcelaunchstack statusDisplays:
- Application name
- Environment
- Provider
- Build command
- Output directory
- Deploy target
- Configuration status
launchstack validateValidates the current launchstack.config.json.
View current environment:
launchstack envUpdate environment:
launchstack env stagingSupported environments:
development
staging
production
View current provider:
launchstack providerUpdate provider:
launchstack provider dockerSupported providers:
vercel
netlify
render
railway
docker
custom
Run the configured deployment workflow:
launchstack deploySkip build execution:
launchstack deploy --skip-buildDeployment execution includes:
- Configuration loading
- Build execution
- Output validation
- Git metadata collection
- Deployment history recording
View deployment history:
launchstack historyLimit results:
launchstack history --limit 3History location:
.launchstack/history.json
Display the most recent successful deployment:
launchstack rollbackAdd a secret:
launchstack secrets add API_KEY abc123List secrets:
launchstack secrets listRemove a secret:
launchstack secrets remove API_KEYSecrets location:
.launchstack/secrets.json
This file should never be committed.
Generate Docker assets:
launchstack docker initOverwrite existing files:
launchstack docker init --forceGenerated files:
Dockerfile
.dockerignore
docker-compose.yml
Generate a deployment workflow:
launchstack github initOverwrite existing workflows:
launchstack github init --forceGenerated file:
.github/workflows/deploy.yml
LaunchStack uses a project-level configuration file:
launchstack.config.json
Example:
{
"appName": "my-app",
"environment": "production",
"provider": "custom",
"buildCommand": "npm run build",
"outputDirectory": "dist",
"deployTarget": "https://example.com"
}src/
├── commands/
│ ├── deploy.ts
│ ├── docker.ts
│ ├── env.ts
│ ├── github.ts
│ ├── history.ts
│ ├── init.ts
│ ├── provider.ts
│ ├── rollback.ts
│ ├── secrets.ts
│ ├── status.ts
│ └── validate.ts
├── cli.ts
├── config.ts
├── git.ts
├── history.ts
├── index.ts
├── types.ts
└── errors.ts
tests/
examples/
Install dependencies:
npm installStart development build watcher:
npm run devBuild:
npm run buildRun tests:
npm testFormat files:
npm run format- TypeScript
- Node.js
- Commander
- Zod
- tsup
- Vitest
- ESLint
- Prettier
LaunchStack CLI is designed for:
- Deployment workflow standardization
- Local DevOps automation
- Infrastructure scaffolding
- Team onboarding
- Environment management
- Developer tooling experimentation
- CI/CD workflow generation
Future improvements may include:
- Interactive project setup prompts
- Encrypted secrets storage
- Provider-specific deployment adapters
- Deployment preview URLs
- Rollback execution workflows
- JSON output support
- Plugin architecture
- Custom deployment providers
MIT
Williams Ashibuogwu (wbizmo)
GitHub: https://github.com/wbizmo