@glitchedranjan/nexus-cli
v1.0.1
Published
Custom Full-Stack Scaffolding CLI
Readme
Nexus Multi-Stack CLI Scaffolder (@glitchedranjan/nexus-cli)
A production-ready command-line interface tool designed to instantly scaffold secure Node.js/MERN or C-language project architectures in seconds. Built with automated DevSecOps workflows, dependency health checks, and dry-run testing modes.
🚀 Installation & Usage
You can run this CLI tool instantly without permanent installation using npx:
npx @glitchedranjan/nexus-cli
Or install it globally on your machine:
Bash
npm install -g @glitchedranjan/nexus-cli
nexus
✨ Features
Interactive Prompts: Dynamic terminal menus powered by Inquirer.js to configure your project name, architecture stack, database, and security features.
Multi-Stack Support:
Node.js / Express: Generates full MVC directory structures (controllers, models, routes, middlewares, public), a configured server.js, and .env setup. Optional integration for MongoDB (Mongoose) and Authentication packages (bcrypt, jsonwebtoken).
C Language: Sets up structured src/, include/, and build/ directories, a sample main.c file, and a custom Makefile.
DevSecOps Integration: Automatically initializes a Git repository, creates an initial commit, and injects a robust, secure .gitignore file.
Automated Dependency Health Checks: Runs an automated npm audit on installed packages to ensure zero high-severity vulnerabilities before project handoff.
Dry-Run Mode (--dry-run): Simulates the entire project creation process and displays a build manifest without modifying your file system or installing packages.
🛠️ CLI Flags
Pass stack configurations directly via terminal flags:
Bash
nexus my-project --stack node
Run a safety simulation without writing files:
Bash
nexus my-project --stack node --dry-run
📄 License
MIT License
---
### How to update your package on npm:
Once you save the `README.md` file inside your project directory, bump your version in `package.json` (e.g., from `1.0.0` to `1.0.1`) and update your live package with a single command:
```bash
npm publish --access public