playwith-cli
v1.0.3
Published
Commandline tool for running playground scripts
Downloads
3,604
Readme
Playwith CLI
This command-line tool allows you to create scripts within a project that can having all the contexts and packages of the nodejs app or module
Installation
> npm i -g playwith-cli
Usage
init
In order to use playwith in your project you first have to initialize it in the root directory of your project.
You can do that my running the command below
> playwith init
This creates a .playground
folder in your repository and this is where you will create your scripts
Run file
After creating your script inside .playground
, you can now run it by calling playwith like so:
> playwith test1.js
Note that test-file.js
is found in the .playground
directory
Todo
- [ ] Add .playground folder to .gitignore during initialization