1.0.0 • Published 6 years ago

amfy-cli v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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

Nodejs

Start a project :rocket:

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 :clipboard:

CommandDescription
amfy init appNameCreate a blanck nodejs project in TypeScript
amfy export -n <value>Export file
amfy add -n <templateName>Add controller
amfy orm add entityNameGenerate an entity

Authors :space_invader:

License

This project is licensed under the MIT License - see the LICENSE.md file for details