UNPKG

cmpstr-cli

Version:

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

23 lines (22 loc) 759 B
/** * @fileoverview * Analyze command for CmpStr CLI. * * Provides a comprehensive text analysis including statistics, histograms, * word and sentence metrics, character frequencies, and readability scores. * Results are formatted and colorized for terminal output. * * @author Paul Köhler (komed3) * @license MIT */ import { type Command } from 'commander'; /** * Runs a detailed text analysis and outputs the results. * * @async * @param {string} input - The input text or file path to analyze. * @param {any} _ - Unused options parameter (Commander compatibility). * @param {Command} cmd - The Commander command instance. * @returns {Promise<void>} */ export declare function analyze(input: string, _: any, cmd: Command): Promise<void>;