withRequiredCommand
Method
interface ContainerResource { // ... omitted for brevity withRequiredCommand( command: string, helpLink?: string): IResource;}Signature
method
withRequiredCommand builderDeclares that a resource requires a specific command/executable to be available on the local machine PATH before it can start.
withRequiredCommand( command: string, helpLink?: string): IResourceParameters
commandstringThe command string (file name or path) that should be validated.helpLink stringoptionalAn optional help link URL to guide users when the command is missing.Returns
IResource Applies to
This method applies to the following types: