Scaffold generator for SUGOS
$ npm install sugo-scaffold --save
#!/usr/bin/env node
'use strict'
const sugoScaffold = require('sugo-scaffold')
// Generate module project
sugoScaffold(
'module', // Type
'my-projects/my-custom-module', // Destination directory
{
force: false
}
)
.then(() => console.log('done!'))
.catch((err) => console.error(err))
Install as a global module
$ npm install sugo-scaffold -g
Then,
# Generate module project
sugo-scaffold module "my-projects/my-custom-module"
Available template types
This software is released under the Apache-2.0 License.