foxmayn-cli
v1.0.1
Published
Scaffold project templates
Readme
foxmayn-cli
Scaffold project templates with a single command.
Usage
npx foxmayn-cli <template> [dir] [--force]| Argument | Description | Default |
| ---------- | ------------------------------------- | ------------- |
| template | Template to scaffold (see list below) | required |
| dir | Directory to clone into | . (current) |
| Option | Description |
| --------- | ----------------------------------------------------------- |
| --force | Scaffold even if dir already contains files (overwrites). |
By default, scaffolding into a non-empty directory is refused to avoid
overwriting existing files. Pass --force to override. The target must be a
path inside the current directory.
Templates
| Name | Description |
| --------- | ---------------- |
| website | Website template |
| app | App template |
Examples
# Scaffold a website into a new folder
npx foxmayn-cli website my-site
# Scaffold an app into the current directory
npx foxmayn-cli appAfter scaffolding, install dependencies and start the dev server using your preferred package manager (see the scaffolded template's own README for the exact commands).
Requirements
- Node.js ≥ 18
License
ISC — see LICENSE.
