UNPKG

@donmccurdy/caporal

Version:

A full-featured framework for building command line applications (cli) with node.js

15 lines (14 loc) 426 B
/** * Get autocomplete suggestions * * @param {String} input - User input * @param {String[]} possibilities - Possibilities to retrieve suggestions from */ export declare function getSuggestions(input: string, possibilities: string[]): string[]; /** * Make diff bolder in a string * * @param from original string * @param to target string */ export declare function boldDiffString(from: string, to: string): string;