UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

11 lines 486 B
/** * Check if a string contains shell metacharacters that require quoting. * These characters have special meaning in shell and would be interpreted * incorrectly if not quoted (e.g., | for pipe, & for background, etc.) */ export declare function needsShellQuoting(str: string): boolean; /** * Check if a string is already wrapped in matching quotes (single or double). */ export declare function isAlreadyQuoted(str: string): boolean; //# sourceMappingURL=shell-quoting.d.ts.map