Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddDenoApp

Method
📦 CommunityToolkit.Aspire.Hosting.Deno v13.6.1
func (DistributedApplicationBuilder) AddDenoApp(
name string,
scriptPath string,
options ...*AddDenoAppOptions,
) DenoAppResource

Signature

methodAddDenoAppbuilder
Adds a Deno application to the application model. Deno should available on the PATH.
AddDenoApp(
name string,
scriptPath string,
options ...*AddDenoAppOptions,
) DenoAppResource
namestringThe name of the resource.
scriptPathstringThe path to the script that Deno will execute.
options...*AddDenoAppOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddDenoAppOptions argument.

WorkingDirectory*stringThe working directory to use for the command. If null, the working directory of the current process is used.
PermissionFlags[]stringThe permissions to grant to the program run.
Args[]stringThe arguments to pass to the command.
DenoAppResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder