UNPKG

liveperson-functions-cli

Version:
21 lines (20 loc) 704 B
import { Hook } from '@oclif/core'; /** * Prints a warning to the user if the command is not found. * Copy of the plugin-not-found with little adjustments (Plugin doesn't work anymore) * {@link https://github.com/oclif/plugin-not-found} * @example output for lpf logi * Warning: logi is not a lpf command. * Suggestion: login * Run lpf help for a list of available commands. * @export * @param {*} opts - oclif config * @returns {Promise<void>} */ export declare function commandNotFound(opts: any): Promise<void>; /** * Runs the a hook every time the CLI cannot found a command * @param { opts } - oclif configuration */ declare const hook: Hook<'command_not_found'>; export default hook;