spm-init

spm init plugin

Spm init

spm-init is a scaffolding tool used to automate project creation.


$ npm install spm-init -g
$ spm-init

If you have installed spm2:

$ spm init

The default template path is ~/.spm/init, you can config ~/.spm/spmrc

[init]
template = ~/.spm-init

Install a template:

$ git clone https://github.com/spmjs/template-cmd ~/.spm/init/cmd