Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withExecutableCommand

Method
📦 Aspire.Hosting v13.5.3
interface ExecutableResource {
// ... omitted for brevity
withExecutableCommand(command: string): ExecutableResource;
}

Signature

methodwithExecutableCommandbuilder
Sets the command for the executable resource.
withExecutableCommand(command: string): ExecutableResource
commandstring
ExecutableResource

Applies to

This method applies to the following types: