msvc-dev-cmd v1.2.0

This commit is contained in:
ilammy
2020-04-30 21:28:00 +03:00
11 changed files with 300 additions and 141 deletions
+7 -2
View File
@@ -1,5 +1,5 @@
interface CommandProperties {
[key: string]: string;
[key: string]: any;
}
/**
* Commands
@@ -11,6 +11,11 @@ interface CommandProperties {
* ::warning::This is the message
* ::set-env name=MY_VAR::some value
*/
export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
export declare function issueCommand(command: string, properties: CommandProperties, message: any): void;
export declare function issue(name: string, message?: string): void;
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
export declare function toCommandValue(input: any): string;
export {};