UNPKG

@maddimathon/build-utilities

Version:

Opinionated utilities for easy build systems in npm projects.

27 lines (26 loc) 721 B
#!/usr/bin/env node /** * @since 0.1.0-alpha * * @packageDocumentation */ /*! * @maddimathon/build-utilities@0.2.0-alpha.4 * @license MIT */ import { parseParamsCLI, Project } from '../lib/index.js'; import { Stage_Console } from '../lib/@internal.js'; export default async function (_params, level = 0, console) { const params = parseParamsCLI(_params ?? {}); if (!console) { console = await Project.getConsole({ params }); } // UPGRADE finish me console.log( 'Hello! I am the help function. I am not yet useful, sorry.', level, { linesOut: 2 }, ); console.vi.debug({ params }, level, { bold: false, linesOut: 2 }); } //# sourceMappingURL=help.js.map