__ __ _ _ _ _
___ ___ __ _ / _| / _| ___ | | __| | ___ | | (_)
/ __| / __| / _` | | |_ | |_ / _ \ | | / _` | _____ / __| | | | |
\__ \ | (__ | (_| | | _| | _| | (_) | | | | (_| | |_____| | (__ | | | |
|___/ \___| \__,_| |_| |_| \___/ |_| \__,_| \___| |_| |_|
A CLI that scaffolds common tools and configs
Installation
Use your favorite package manager. Mine is yarn.
yarn global add @ollebergkvist/scaffolder
Usage
scaffold-cli <option>
Options
-V, --version output the version number
-a, --astro installs common tools, typescript and eslint astro specific configs
-n, --next installs common tools, typescript and eslint next specific configs
-bb, --barrelsby installs barrelsby
-cl, --commitlint installs commitlint, adds husky commit-msg hook
-cy, --cypress installs cypress, adds .cypress.cjs
-es, --eslint installs eslint, adds .eslintrc.cjs
-hu, --husky initializes husky
-je, --jest installs jest
-ls, --lint-staged installs lint-staged
-pr, --prettier installs prettier, adds .prettierrc.cjs
-rr, --rimraf installs rimraf
-tw, --tailwindcss install tailwindcss, adds default config
-ts, --typescript installs typescript, adds tsconfig.json
-h, --help display help for command
TODO
- Feature: Make CLI interactive
- Refactor: lib functions (DRY solution)