cmpstr-cli
Version:
Simple CLI wrapper for the CmpStr package to normalize and compare strings directly via terminal
22 lines (21 loc) • 636 B
TypeScript
/**
* @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.
* @returns {Promise<void>}
*/
export declare function list(key: 'metric' | 'phonetic', _: any, cmd: Command): Promise<void>;