Plugin system
The plugin system is a very important part of boot. It’s what make boot able to generate project for any language and it’s also what makes boot able to be personallized with almost any language.
Even if the concept is simple, there still are a few things to explain or details.
The plugin are installed locally. The idea is that, if you don’t need to deal with dependencies or if your packagemanager provide cache functionnality (like pnpm for example), then
bootwill be able to run offline.All the installed plugin (even the pre-installed one) can be removed or have their path changed. We provide default module so that you can start with
bootas fast as possible, we do not force you to use them.Plugin comes in 4 differents types giving them different capabilities (actions) : VCS, Cmd, Filer and Template Engine.
| Plugin type | Actions |
|---|---|
| vcs | init, add, addOrigin, commit, push |
| cmd | init, installLocalDeps, installGlobalDeps, installDevDeps |
| filer | createFolderStruct |
| template_engine | applyTemplate |
- The vcs kind of plugin is for anything like git, svn, …
- The cmd kind of plugin is for tools like package manager like npm, cargo, yarn, composer, …
- The filer kind of plugin is for filesystem operation.
- The template_engine kind of plugin is for templating like jinja, ejs, pug, go template, …