Skip to content
Docs Try Aspire
Docs Try

GoAppResource.withAppArgs

Method
📦 Aspire.Hosting.Go v13.4.0-preview.1.26281.18
interface GoAppResource {
// ... omitted for brevity
withAppArgs(args: any[]): GoAppResource;
}

Signature

method withAppArgs builder
Passes extra arguments to the Go program at runtime. In normal run mode they appear after `go run .`; in Delve mode after the `--` separator.
withAppArgs(args: any[]): GoAppResource
args any[]
GoAppResource

Defined on

This method is defined on the following type: