UNPKG

gluegun

Version:

A delightful toolkit for building Node-powered CLIs.

15 lines (14 loc) 478 B
import { EmptyToolbox } from './toolbox'; /** * An extension will add functionality to the toolbox that each command will receive. */ export declare class Extension { /** The name of the extension. */ name?: string; /** The description. */ description?: string; /** The file this extension comes from. */ file?: string; /** The function used to attach functionality to the toolbox. */ setup?: (toolbox: EmptyToolbox) => void | Promise<void>; }