@jaycruz/create-vanilla v1.0.1
create-vanilla
create-vanilla is a Node CLI for quickly creating a basic af project.
How to Install
npm i @jaycruz/create-vanilla -g
To install the CLI just run npm install create-vanilla. This package was published npm so it should work fine and dandy.
How to Use
Once you install it on your machine, you should be able to run it on your terminal by typing: create-vanilla folder-name, with folder-name being any name you want. It will create a folder with three basic af files. Inside you will find an HTML file, a CSS file, and a JavaScript file.
Basic AF Project Structure
+-- folder-name
| +-- index.html
| +-- main.css
| +-- app.js
Customizing
My plan is to keep adding basic af features to it. For example, I want to let it have additional arguments so like --typescript so it can start a basic af TS project, but if you want to customize what gets written to the files, feel free to clone or fork the project. The utils folders have the functions that write the files.