Skip to content
Docs Try Aspire
Docs Try

IResource.withRequiredCommand

Method
📦 Aspire.Hosting v13.4.0
interface IResource {
// ... omitted for brevity
withRequiredCommand(
command: string,
helpLink?: string): IResource;
}

Signature

method withRequiredCommand builder
Declares 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): IResource
command string
helpLink string optional
IResource

Defined on

This method is defined on the following type: