- fs-extra
- yargs
Below you can see the instalation methods.
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.
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.
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