👨💻 Developed by Matheus Ramalho de Oliveira
🏗️ Brazilian Software Engineer
✉️ kastorcode@gmail.com
🦫 LinkedIn • Instagram
This module provides a comprehensive guide and implementation for creating command-line interfaces (CLI's) using JavaScript. It covers various approaches, tools, and best practices for building effective and user-friendly CLI's.
01-repl: A REPL (Read-Eval-Print Loop) implementation, a simple HTTP server that calculates a salary.
02-bash-vs-js: This section compares Bash scripting with JavaScript for command-line tasks.
03-native-vs-yargs: This section explores the differences between native Node.js command-line options and the Yargs library.
04-codegen: This section covers code generation using JavaScript and the Yargs library.
- codegen/: JavaScript code generator with 3 layers (Factory, Repository and Service), unit and integration tests with 100% coverage.
- myapp/: A sample application demonstrating the use of codegen.
- ref.txt: Additional notes.
<kastor.code/>