0.2.1 ⢠Published 7 months ago
scss-scaffolder-cli v0.2.1
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.