superdonut
Version:
17 lines (14 loc) • 488 B
JavaScript
// add your CLI-specific functionality here, which will then be accessible
// to your commands
module.exports = toolbox => {
toolbox.foo = () => {
toolbox.print.info('called foo extension')
}
// enable this if you want to read configuration in from
// the current folder's package.json (in a "superdonut" property),
// superdonut.config.json, etc.
// toolbox.config = {
// ...toolbox.config,
// ...toolbox.config.loadConfig(process.cwd(), "superdonut")
// }
}