Watch Aspire live streamsDocsTry Aspire

ExecutableResource.withExecutableCommand

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

Signature

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

Defined on

This method is defined on the following type: