ANFY-CLI a cli for the AMFY Framework
This CLI provide a lot of command for the Framework AMFY that allow you to init the project
Getting Started
npm install --global amfy
Prerequisites
You need Nodejs installed in your computer
Start a project 🚀
To init a blanck project follow these steps
You need to launch the following command
amfy init my-app
The command will generate the following architecture
my-app
├── README.md
├── node_modules
├── package.json
├── index.ts
├── tsconfig.ts
├── .gitignore
├── config
│ ├── default.js
│ ├── development.js
│ └── production.js
└── src
├── controllers
│ └── defaultControllers.ts
├── core
│ ├── App.ts
│ └── Routes.ts
└── routes.json
AMFY Commands 📋
Command | Description |
---|---|
amfy init appName |
Create a blanck nodejs project in TypeScript |
amfy export -n <value> |
Export file |
amfy add -n <templateName> |
Add controller |
amfy orm add entityName |
Generate an entity |
Authors 👾
- The Homies - AMFY-Team
License
This project is licensed under the MIT License - see the LICENSE.md file for details