Skip to content

Latest commit

History

History
106 lines (86 loc) 路 1.57 KB

notes.md

File metadata and controls

106 lines (86 loc) 路 1.57 KB

Notes

CLI API

  project-spawner <name-of-project>

Commands

Command: project-spawner <name-of-project>

Output

============ Small Project Creator ============  
  Choose Setup:
    Simple Setup <
    Medium Setup 
    Customize Setup

Simple Setup

simply creates a project with a simple folder stuructre

Medium Setup

This will appear if Medium Setup is selected

  CSS:
    CSS <
    SCSS
    SASS

If SCSS or SASS is selected

  Would you like a folder structure for your SCSS/SASS (Y / n): 

Customize Setup

This will appear if Customize Setup is selected

  HTML:
    HTML <
    Pug
    Haml
    
  CSS:
    CSS <
    SCSS
    SASS
    LESS
    Stylus

  CSS Framework? (Y / n):

This will appear if 'Y' is selected

  CSS Framework:
    Bootstrap v4 <
    Bulma
    Foundation
    Semantic UI
    Spectre

Give user option to select eslint

  Would you like to use eslint in this project? (Y / n):

If 'Y' is selected

  Eslint Config:
    Custom <
    Standard
    Airbnb

Alternative

Command: ps create <name-of-project> --pug --scss --folder n --css-framework bulma

Features for the Future

Setup Backend

============ Small Project Creator ============ 
  Backend:
    No Backend <
    Express
    Koa
    Hapi
    ASP.NET
    Laravel (Laravel needs to be Installed)

Install Preset Setups

project-spawner preset <name-of-project>

Select a Preset Setup:
  > Preset Name
    Preset Name 2
    Preset Name 3