17 lines
467 B
Plaintext
17 lines
467 B
Plaintext
import { CommandInfo } from '../command';
|
|
import { CommandParser } from './command-parser';
|
|
/**
|
|
* Strips quotes around commands so that they can run on the current shell.
|
|
*/
|
|
export declare class StripQuotes implements CommandParser {
|
|
parse(commandInfo: CommandInfo): {
|
|
command: string;
|
|
name: string;
|
|
env?: Record<string, unknown>;
|
|
cwd?: string;
|
|
prefixColor?: string;
|
|
ipc?: number;
|
|
raw?: boolean;
|
|
};
|
|
}
|