Skip to content
DocsTry Aspire
DocsTry

withExecutableCommand

Method
📦 Aspire.Hosting v13.4.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

Applies to

This method applies to the following types: