From 634598af7f4e60419616ea68a4e5cc357c6c3cda Mon Sep 17 00:00:00 2001 From: Nicolas Beaussart Date: Wed, 20 Nov 2019 15:57:53 +0100 Subject: [PATCH] :fire: removed cli extentions --- src/extensions/cli-extension.ts | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/extensions/cli-extension.ts diff --git a/src/extensions/cli-extension.ts b/src/extensions/cli-extension.ts deleted file mode 100644 index f62cb96..0000000 --- a/src/extensions/cli-extension.ts +++ /dev/null @@ -1,26 +0,0 @@ -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') - } - - toolbox.utils = { - verboseDebug: (value: any, title?: string) => { - const o = toolbox.parameters.options; - if (Boolean(o.v || o.verbose)) { - toolbox.print.debug(value, title); - } - } - } - - // enable this if you want to read configuration in from - // the current folder's package.json (in a "nbx" property), - // nbx.config.json, etc. - // toolbox.config = { - // ...toolbox.config, - // ...toolbox.config.loadConfig(process.cwd(), "nbx") - // } -}