UNPKG

gluegun

Version:

A delightful toolkit for building Node-powered CLIs.

18 lines (17 loc) 575 B
import { onAbort } from '../toolbox/meta-tools'; import { GluegunToolbox } from '../domain/toolbox'; import { PackageJSON } from '../toolbox/meta-types'; export interface GluegunMeta { src: string | void; version: () => string; packageJSON: () => PackageJSON; commandInfo: () => string[][]; checkForUpdate: () => Promise<boolean | string>; onAbort: typeof onAbort; } /** * Extension that lets you learn more about the currently running CLI. * * @param toolbox The running toolbox. */ export default function attach(toolbox: GluegunToolbox): void;