道 - a simple way to initialize your project.
Tao is a lightweight JavaScript project scaffolder, that asks minimum questions and remembers your preferences after the first run.
Repeat less. Do more.
Attribution:
Originally, tao
was a rework of the zen generator. Check it out. It is also great.
npm install --global yo generator-tao
yo tao
tao
will remember you preferences after the first run, so you will need to answer only the questions about the module itself.
You can tell tao
to ask --all/-a
questions or --skip/-s
as much as possible.
To speed up the install use --yarn/-y
. Make sure yarn
is installed on your system.
λ yo tao --help
Usage:
yo tao:app [options] [<name>]
Options:
-h, --help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
-d, --debug # Debug mode Default: false
-a, --all # Ask all questions Default: false
-s, --skip # Ask required questions only Default: false
-y, --yarn # yarn install, ensure you have yarn installed Default: false
Arguments:
name # Project’s name
change the current working directory to newly created
and initialize project in that directory
Type: String Required: false