@c4c/cli
Command-line interface for c4c development and operations.
Installation
bash
pnpm add -D @c4c/cliOr globally:
bash
pnpm add -g @c4c/cliOverview
@c4c/cli provides:
- Development server with hot reload
- Production server
- Procedure execution
- Code generation (OpenAPI, TypeScript clients)
- Integration tools
Commands
Development
bash
c4c dev # Start dev server with hot reloadProduction
bash
c4c serve # Start production serverExecution
bash
c4c exec <name> # Execute procedure or workflowGeneration
bash
c4c generate openapi # Generate OpenAPI spec
c4c generate client # Generate TypeScript clientIntegration
bash
c4c integrate <url> # Integrate external APIUtilities
bash
c4c list # List procedures and workflows