IResource.withRequiredCommandValidation
Method
interface IResource { // ... omitted for brevity withRequiredCommandValidation(command: string, validationCallback: (arg: RequiredCommandValidationContext) => Promise<RequiredCommandValidationResult>, helpLink?: string): IResource;}Signature
method
withRequiredCommandValidationbuilderDeclares that a resource requires a specific command/executable to be available on the local machine PATH before it can start, with custom validation logic.
withRequiredCommandValidation(command: string, validationCallback: (arg: RequiredCommandValidationContext) => Promise<RequiredCommandValidationResult>, helpLink?: string): IResourceParameters
commandstringvalidationCallback(arg: RequiredCommandValidationContext) => Promise<RequiredCommandValidationResult>helpLinkstringoptionalReturns
IResourceDefined on
This method is defined on the following type: