UNPKG

cmpstr-cli

Version:

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

35 lines (34 loc) 704 B
/** * @fileoverview * Type definitions for CmpStr CLI configuration. * Defines the Config interface for all supported options. * * @author Paul Köhler (komed3) * @license MIT */ /** * Configuration object for CmpStr CLI. */ export interface Config { output?: string; async?: boolean; verbose?: boolean; list?: boolean; delimiter?: string; metric?: string; flags?: string; threshold?: number; sort?: 'asc' | 'desc'; n?: number; phonetic?: { algo?: string; map?: string; }; diff?: { mode?: 'line' | 'word'; insensitive?: boolean; lines?: number; single?: boolean; all?: boolean; }; }