@filipeas/artisan
v0.3.7
Published
CLI for project structuring using ExpressJs
Downloads
6
Maintainers
Readme
Dependencies
- fs-extra
- yargs
Contributors
Instalation Guide
Below you can see the instalation methods.
Install with npm (package in production)
For install in your project, use this command: npm i @filipeas/artisan
.
To remove it, just delete the import line in package.json and run the command npm install
in your project.
PS: You need package.json file in your project.
Install with npm link
Use the command: sudo npm link
inside this repository for create a link of the package in your machine.
If you want remove this link, execute: sudo npm rm --global artisan
for remove the link of the package in your machine. Check if the package is still installed with command: npm ls --global artisan
. If it is not removed, go to the package folder where the link is and manually delete the linked folder.
Commands
Use this commands:
Comand for start initial structure of pattern of artisan package:
- (yarn or npx) artisan --init
Commands for create some entity:
- (yarn or npx) artisan --create [directory or entity] usecases [entity]
- (yarn or npx) artisan --create entity providers
- (yarn or npx) artisan --create entity repositories
- (yarn or npx) artisan --create entity domain
- (yarn or npx) artisan --create entity errors
- (yarn or npx) artisan --create entity controllers
- (yarn or npx) artisan --create entity routes