github-pages-deploy-action/node_modules/@actions/core/lib/command.d.ts
James Ives 5af4d9fc85 3.5.0 🎉
2020-05-14 17:33:08 -04:00

22 lines
613 B
TypeScript

interface CommandProperties {
[key: string]: any;
}
/**
* Commands
*
* Command Format:
* ::name key=value,key=value::message
*
* Examples:
* ::warning::This is the message
* ::set-env name=MY_VAR::some value
*/
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 {};