@pitijs/cli

0.0.1-beta.15 • Public • Published

PitiJS CLI

Install

NPM

$ npm i -g @pitijs/cli

Yarn

$ yarn global add @pitijs/cli

Create a project

$ piti new myCliApp

Create command via cli

$ cd myCliApp
$ piti create command add-user

The 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-user

Windows

myCliApp>.\myCliApp.cmd hello

Go to framework documentation: https://github.com/pitijs/piti

Readme

Keywords

none

Package Sidebar

Install

npm i @pitijs/cli

Weekly Downloads

0

Version

0.0.1-beta.15

License

ISC

Unpacked Size

21.9 kB

Total Files

17

Last publish

Collaborators

  • atayahmet