Getting started
Install scriptails using yarn
or npm
:
Or
#
Let's start creating our index.js and our first command.index.js
Note: In the 3rd line we import our command file, the scriptails the commands must be imported before the start function, if you import/require them later it is very likely that you will have problems running it.
Now we will declare our first command within the my-frist.command.js
file
my-frist.command.js
Finally run your new CLI using: