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