archits-cli
v1.10.0
Published
CLI tool for TypeScript/JavaScript project architecture management
Downloads
6
Maintainers
Readme
ArchiTS-CLI
A powerful CLI tool for TypeScript project architecture management 🌐 Visit www.archits.dev
🚀 Quick Start
Global Installation
### Global Installation (Recommended)
# Install globally
npm install -g archits-cli
# Check your Node.js version (must be >= 14)
node -v
# Create a symlink for easier access (if using nvm)
ln -sf /home/[your-username]/.nvm/versions/node/v[your-node-version]/lib/node_modules/archits-cli/bin/archits /home/[your-username]/.nvm/versions/node/v[your-node-version]/bin/archi
# Verify installation
archi version
📋 Features
- Automatic TypeScript project structure
- Entity generation (controller, service, repository, entity, route)
- Multiple architecture patterns
- Optional Express.js setup
- Pre-configured Jest testing
- Clean code templates with best practices
🛠️ Usage
Create New Project
archi createPrompts:
- Project name
- Architecture type
- Express.js integration
- And more...
Generate Entity Files
archi generate entity ProductGenerates:
Product.controller.tsProduct.service.tsProduct.repository.tsProduct.entity.tsProduct.route.ts- Unit tests for each layer
Other Commands
archi version
archi --help⚡ Quick Commands
| Command | Description |
| ------------------------------ | ------------------------------- |
| archi create | Create a new TypeScript project |
| archi generate entity <Name> | Generate entity files |
| archi version | Show version |
| archi --help | Show help |
🤔 Why ArchiTS?
- Save hours setting up TypeScript project architecture
- Keep code organized and scalable
- Integrated TypeScript best practices
- Perfect for Express.js + TypeScript
- Pre-configured Jest testing
🤝 Contributing
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📝 License
MIT License - see LICENSE
👨💻 Author
Thomas Bressel
- GitHub: @thomas-bressel
💖 Support
Made with ❤️ by Thomas Bressel 🌐 www.archits.dev
