Skip to content
DocsTry Aspire
DocsTry

IResource.withProcessCommand

Method
📦 Aspire.Hosting v13.4.0
interface IResource {
// ... omitted for brevity
withProcessCommand(
commandName: string,
displayName: string,
options: ProcessCommandExportOptions): IResource;
}

Signature

methodwithProcessCommandbuilder
Adds a command to the resource that starts a local process when invoked.
withProcessCommand(
commandName: string,
displayName: string,
options: ProcessCommandExportOptions): IResource
commandNamestring
displayNamestring
optionsProcessCommandExportOptions
IResource

Defined on

This method is defined on the following type: