mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-03 23:49:08 +08:00
fix
This commit is contained in:
16
types/shell-quote.d.ts
vendored
Normal file
16
types/shell-quote.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
declare module 'shell-quote' {
|
||||
/**
|
||||
* Quote an array of strings to be safe to use as shell arguments.
|
||||
* @param args - Array of strings to quote
|
||||
* @returns A properly escaped string for shell usage
|
||||
*/
|
||||
export function quote(args: string[]): string;
|
||||
|
||||
/**
|
||||
* Parse a shell command string into an array of arguments.
|
||||
* @param cmd - The command string to parse
|
||||
* @returns Array of parsed arguments
|
||||
*/
|
||||
export function parse(cmd: string): string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user