withAppArgs

Method
📦 Aspire.Hosting.Go v17.0.0
interface GoAppResource {
// ... omitted for brevity
withAppArgs(args: any[]): GoAppResource;
}

Signature

methodwithAppArgsbuilder
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
argsany[]The program arguments (e.g., `"serve"`, `"--config"`, `"prod.yaml"`).
GoAppResource

Applies to

This method applies to the following types: