Description
Implement lifecycle management commands for the JitAI development environment. The start command should trigger the application build process before starting services.
Requirements
1. cli.sh start
Functionality:
- Check if workspace is properly initialized
- Call
builder to execute application build process:
- Build frontend assets
- Compile/package backend code
- Generate necessary configuration files
- Start jitnode runtime engine
- Display startup logs and status
- Verify services are running correctly
2. cli.sh stop
Functionality:
- Gracefully shutdown jitnode
- Stop all related services
- Clean up temporary files if needed
- Display shutdown status
3. cli.sh restart
Functionality:
- Execute stop command
- Wait for complete shutdown
- Execute start command with same parameters
Acceptance Criteria