# WithDenoRuntimeArgs

- Module: [Aspire.Hosting.JavaScript](/reference/api/go/aspire.hosting.javascript.md)
- Version: `17.0.0`
- Kind: `method`
- Defined on: [`DenoAppResource`](/reference/api/go/aspire.hosting.javascript/denoappresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Appends raw runtime arguments injected verbatim BEFORE the entrypoint. This is the escape hatch that gives full parity with `AddExecutable("name", "deno", workdir, args...)` for any flag not covered by a dedicated `WithDeno*` method.

## Definition

```go
func (DenoAppResource) WithDenoRuntimeArgs(args []string) DenoAppResource
```

## Parameters

- `args` (`[]string`) -- The runtime arguments to append before the entrypoint or task name.

## Returns

[`DenoAppResource`](/reference/api/go/aspire.hosting.javascript/denoappresource.md) -- The resource builder.

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

## Applies to

- [`DenoAppResource`](/reference/api/go/aspire.hosting.javascript/denoappresource.md)
