addDenoApp

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

Signature

methodaddDenoAppbuilder
Adds a Deno application to the application model. Deno should available on the PATH.
addDenoApp(
name: string,
scriptPath: string,
workingDirectory?: string,
permissionFlags?: string[],
args?: string[]): DenoAppResource
namestringThe name of the resource.
scriptPathstringThe path to the script that Deno will execute.
workingDirectorystringoptionalThe working directory to use for the command. If null, the working directory of the current process is used.
permissionFlagsstring[]optionalThe permissions to grant to the program run.
argsstring[]optionalThe arguments to pass to the command.
DenoAppResource

Applies to

This method applies to the following types: