How enclica/dywo-cli works
Dywo is a web-project management CLI: users generate projects, compile client or server assets, and run a development server; it also offers code-quality and obfuscation commands. The map highlights the compiler and server framework as internal layers, plus documented server, database, and deployment capabilities. README feature descriptions support command-level links, but several command implementations and CLI dispatch details were not sampled, so their internal wiring is not expanded.
Main entry points: dywo.js Dywo CLI · index.js HTTP server framework · server.js Server commands · build.js Client/server builds
Components 22
CLI workflows
- Dywo CLI
bin/dywo.js - Project generation
lib/commands/create.js - Project templates
lib/templates - Development serving
lib/commands/serve.js - Server commands
lib/commands/server.js
Project compilation
- Project configuration
lib/config/config-loader.js - Client/server builds
lib/commands/build.js - Asset compiler
lib/compiler/index.js - Asset processing
lib/compiler - Client runtime
lib/runtime/dywo-runtime.js
Server runtime
- Server packaging
lib/server/compile/index.js - Deployment targets
lib/server/compile/targets - HTTP server framework
lib/server/index.js - Request routing
lib/server/router.js - Middleware stack
lib/server/middleware/index.js - WebSocket support
lib/server/websocket.js - Database access
lib/server/db/index.js
Code maintenance
- Lint and format
lib/commands/lint.js - Formatting
lib/commands/format.js - Test integration
lib/commands/createTest.js - Code obfuscation
lib/commands/obfuscate.js
Other components
- Developer
Connections 21
- Developer → Dywo CLI: runs commands
- Dywo CLI → Project generation: dispatches
- Project generation → Project templates: generates from
- Dywo CLI → Client/server builds: dispatches
- Client/server builds → Project configuration: loads settings
- Client/server builds → Asset compiler: compiles assets
- Asset compiler → Asset processing: processes assets
- Asset compiler → Client runtime: includes runtime
- Dywo CLI → Development serving: dispatches
- Dywo CLI → Server commands: dispatches
- Server commands → Server packaging: builds server
- Server packaging → Deployment targets: emits targets
- Server commands → HTTP server framework: starts server
- HTTP server framework → Request routing: matches requests
- HTTP server framework → Middleware stack: runs middleware
- HTTP server framework → WebSocket support: supports sockets
- HTTP server framework → Database access: uses database
- Dywo CLI → Lint and format: dispatches
- Dywo CLI → Formatting: dispatches
- Dywo CLI → Test integration: runs tests
- Dywo CLI → Code obfuscation: dispatches