snyk-php-plugin
Version:
Snyk CLI PHP plugin
22 lines (21 loc) • 656 B
TypeScript
type Command = {
command: string;
args: string[];
};
declare function versionCmd(this: Command): Command;
declare function listPlatformDepsCmd(this: Command): Command;
export declare const globalComposer: {
command: string;
args: never[];
version: typeof versionCmd;
listPlatformDeps: typeof listPlatformDepsCmd;
};
export declare const localComposer: {
command: string;
args: string[];
version: typeof versionCmd;
listPlatformDeps: typeof listPlatformDepsCmd;
};
export declare function cmdReturnsOk(cmd: Command): boolean;
export declare function execWithResult(cmd: Command, basePath: string): string;
export {};