addDenoTask

Method
📦 CommunityToolkit.Aspire.Hosting.Deno v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDenoTask(
name: string,
workingDirectory?: string,
taskName?: string,
args?: string[]): DenoAppResource;
}

Signature

methodaddDenoTaskbuilder
Adds a Deno task to the distributed application builder
addDenoTask(
name: string,
workingDirectory?: string,
taskName?: string,
args?: string[]): DenoAppResource
namestringThe name of the resource.
workingDirectorystringoptionalThe working directory to use for the command. If null, the working directory of the current process is used.
taskNamestringoptional= startThe deno task to execute. Defaults to "start".
argsstring[]optionalThe arguments to pass to the command.
DenoAppResource

Applies to

This method applies to the following types: