# DenoAppResource.WithDenoRuntimeArgs

- Module: [Aspire.Hosting.JavaScript](/reference/api/go/aspire.hosting.javascript.md)
- Defined on: [DenoAppResource](/reference/api/go/aspire.hosting.javascript/denoappresource.md)
- Version: `17.0.0`
- Kind: `method`

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
type DenoAppResource interface {
    // ... omitted for brevity
    WithDenoRuntimeArgs(args []string) DenoAppResource
}
```

## Signature

```go
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()`.

## Defined on

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