# CommandLineArgsCallbackContext

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

Represents a callback context for the list of command-line arguments associated with an executable resource.

## Definition

```typescript
interface CommandLineArgsCallbackContext {
  readonly args: CommandLineArgsEditor;
  readonly executionContext: DistributedApplicationExecutionContext;
  readonly log: LogFacade;
  readonly resource: IResource;
}
```

## Properties

- `args`: [CommandLineArgsEditor](/reference/api/typescript/aspire.hosting/commandlineargseditor.md) `get` -- Gets the editor used to manipulate command-line arguments in polyglot callbacks.
- `executionContext`: [DistributedApplicationExecutionContext](/reference/api/typescript/aspire.hosting/distributedapplicationexecutioncontext.md) `get` -- Gets the execution context associated with this callback.
- `log`: [LogFacade](/reference/api/typescript/aspire.hosting/logfacade.md) `get` -- Gets the logger facade used by polyglot callbacks.
- `resource`: [IResource](/reference/api/typescript/aspire.hosting/iresource.md) `get` -- The resource associated with this callback context.
