@pitijs/cli
v0.0.1-beta.15
Published
Piti JS cli tool.
Downloads
20
Readme
PitiJS CLI
Install
NPM
$ npm i -g @pitijs/cliYarn
$ yarn global add @pitijs/cliCreate a project
$ piti new myCliAppCreate command via cli
$ cd myCliApp
$ piti create command add-userThe above command will create a command into src/commands directory named AddUserCommand
Add command to src/index.ts
Piti.run({
scriptName: 'myCliApp',
commands: [AddUserCommand],
});And test your commands:
MacOS / Linux
$ ./myCliApp add-userWindows
myCliApp>.\myCliApp.cmd helloGo to framework documentation: https://github.com/pitijs/piti
