No known key found for this signature in database
GPG Key ID: 51D5A407BFCE64A9
1 changed files with
12 additions and
0 deletions
-
src/extensions/utils.ts
|
|
@ -0,0 +1,12 @@ |
|
|
|
|
|
import { GluegunToolbox } from 'gluegun' |
|
|
|
|
|
|
|
|
|
|
|
module.exports = (toolbox: GluegunToolbox) => { |
|
|
|
|
|
toolbox.utils = { |
|
|
|
|
|
verboseDebug: (value: any, title?: string) => { |
|
|
|
|
|
const o = toolbox.parameters.options; |
|
|
|
|
|
if (Boolean(o.v || o.verbose)) { |
|
|
|
|
|
toolbox.print.debug(value, title); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |