forked from jchomaz/Vulture
18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
import { CommandInfo } from '../command';
|
|
import { CommandParser } from './command-parser';
|
|
/**
|
|
* Replace placeholders with additional arguments.
|
|
*/
|
|
export declare class ExpandArguments implements CommandParser {
|
|
private readonly additionalArguments;
|
|
constructor(additionalArguments: string[]);
|
|
parse(commandInfo: CommandInfo): {
|
|
command: string;
|
|
name: string;
|
|
env?: Record<string, unknown> | undefined;
|
|
cwd?: string | undefined;
|
|
prefixColor?: string | undefined;
|
|
raw?: boolean | undefined;
|
|
};
|
|
}
|