UNPKG

cmpstr-cli

Version:

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

21 lines (20 loc) 686 B
/** * @fileoverview * Normalize command for CmpStr CLI. * * Normalizes the input string using the specified normalization flags. * Supports both synchronous and asynchronous processing. * * @author Paul Köhler (komed3) * @license MIT */ import { type Command } from 'commander'; /** * Normalizes the input string according to the specified flags. * * @async * @param {string} input - The input string or file path to normalize. * @param {Record< string, any >} [opt] - Normalization options. * @param {Command} cmd - The Commander command instance. */ export declare function normalize(input: string, opt: Record<string, any> | undefined, cmd: Command): Promise<void>;