@eljs/scaffold
v0.7.0
Published
lightweight scaffolding tool
Downloads
19
Readme
scaffold
lightweight scaffolding tool
Install
$ npm i @eljs/scaffold -g
$ yarn global @eljs/scaffold
Usage
Usage: scaffold <command> [options]
Options:
-v, --version output the current version
-h, --help display help for command
Commands:
create [options] <package-name> create a new project
Commands
scaffold create
Usage: scaffold create [options] <package-name>
create a project based on the configuration
Options:
--config-path <config-path> The config file path (default: "../dist/default-config.js")
--group <group> Specify the template group
--dest <destination> The location where the project is generated
-f, --force Overwrite target directory if it exists
-i, --install Automatically install dependencies after downloading
-h, --help display help for command
Presets
locals.author
:git config user email prefixlocals.email
:git config user emaillocals.gitUrl
:git ssh urllocals.gitHref
:git website urllocals.registry
:npm registrylocals.year
:year corresponding to the current timelocals.date
:current time, YYYY-MM-DDlocals.datetime
:current time with time, YYYY-MM-DD hh:mm:sslocals.dirname
:directory namelocals.shortName
: package name without prefix,@eljs/scaffold
=>scaffold