first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
|
||||
import { GluegunToolbox } from 'gluegun'
|
||||
|
||||
|
||||
// add your CLI-specific functionality here, which will then be accessible
|
||||
// to your commands
|
||||
module.exports = (toolbox: GluegunToolbox) => {
|
||||
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 "pwcli" property),
|
||||
// pwcli.config.json, etc.
|
||||
// toolbox.config = {
|
||||
// ...toolbox.config,
|
||||
// ...toolbox.config.loadConfig("pwcli", process.cwd())
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user