1.0.4 • Published 2 years ago
petor v1.0.4
petor
petor is a project generator that generates a custom project built beforehand.
Installation
- npm:
npm install -g petor yarn:
yarn global add petor
Note: You may need to add npm or yarn global bin path in your PATH environment variable.
Usage
petor generates a project from the templates directory.
petor --generate backendBy default, project is generated with the name same as the template name. You can generate the project with custom name as,
petor --generate backend restapiYou can check the existing templates as,
petor --listYou can add your own templates to the path indicated by the,
petor --get-template-dirBuild
git clone https://github.com/bigyanse/petor.gitcd petoryarn installornpm installyarn buildornpm run build- Then you can run the program with
node .ornode ./dist/src/cli.js