0.2.1 • Published 7 months ago

scss-scaffolder-cli v0.2.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
7 months ago

SCSS Scaffolder CLI ✨

A CLI tool for scaffolding SCSS folder and files based on the 7/1 architecture pattern.

Installation šŸ“¦

To install the CLI tool globally, run:

npm install -g scss-scaffolder-cli

Usage šŸš€

To run the CLI tool, use the following command:

scss-cli

You will be prompted to enter the destination folder and select the folders you want to include in your SCSS structure.

Alternatively, you can use npx to run the CLI tool without installing it globally:

npx scss-cli

Options āš™ļø

  • destination: The root folder for the SCSS structure (default: ./scss).
  • folders: The folders to include in your SCSS structure. You can select from the following options:
    • abstracts
    • base
    • components
    • layout
    • pages
    • themes
    • vendors

Example šŸ’”

scss-cli

Follow the prompts to configure your SCSS structure. The tool will create the selected folders and files in the specified destination.

Example Directory Structure

scss/
ā”œā”€ā”€ scaffold-main.scss
ā”œā”€ā”€ abstracts/
│   ā”œā”€ā”€ _variables.scss
│   ā”œā”€ā”€ _mixins.scss
│   └── _functions.scss
ā”œā”€ā”€ base/
│   ā”œā”€ā”€ _reset.scss
│   └── _typography.scss
ā”œā”€ā”€ components/
│   ā”œā”€ā”€ _buttons.scss
│   └── _cards.scss
ā”œā”€ā”€ layout/
│   ā”œā”€ā”€ _header.scss
│   ā”œā”€ā”€ _footer.scss
│   └── _grid.scss
ā”œā”€ā”€ pages/
ā”œā”€ā”€ themes/
└── vendors/

License šŸ“œ

This project is licensed under the GPL-3.0-or-later License.

0.2.1

7 months ago

0.2.0

7 months ago