UNPKG

cmpstr-cli

Version:

Simple CLI wrapper for the CmpStr package to normalize and compare strings directly via terminal

21 lines (20 loc) 610 B
/** * @fileoverview * List command for CmpStr CLI. * * Lists available similarity metrics or phonetic algorithms * supported by the library. * * @author Paul Köhler (komed3) * @license MIT */ import { type Command } from 'commander'; /** * Lists available metrics or phonetic algorithms. * * @async * @param {'metric' | 'phonetic'} key - The type of list to display. * @param {any} _ - Unused options parameter (Commander compatibility). * @param {Command} cmd - The Commander command instance. */ export declare function list(key: 'metric' | 'phonetic', _: any, cmd: Command): Promise<void>;