Skip to content
Docs Try Aspire
Docs Try

addPerlScript

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addPerlScript(
resourceName: string,
appDirectory: string,
scriptName: string): PerlAppResource;
}

Signature

method addPerlScript builder
Adds a Perl script resource (worker, CLI tool, background service) to the application model.
addPerlScript(
resourceName: string,
appDirectory: string,
scriptName: string): PerlAppResource
resourceName string
appDirectory string
scriptName string
PerlAppResource

Applies to

This method applies to the following types: