# CommandLineArgsCallbackContext

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

## Definition

```typescript
interface CommandLineArgsCallbackContext {
  readonly args: List<any>;
  readonly cancellationToken: cancellationToken;
  executionContext: DistributedApplicationExecutionContext;
  logger: ILogger;
  readonly resource: IResource;
}
```

## Properties

- `args`: `List<any>` `get` -- Gets the Args property
- `cancellationToken`: `cancellationToken` `get` -- Gets the CancellationToken property
- `executionContext`: [DistributedApplicationExecutionContext](/reference/api/typescript/aspire.hosting/distributedapplicationexecutioncontext.md) `get - set` -- Gets the ExecutionContext property
- `logger`: [ILogger](/reference/api/typescript/aspire.hosting/ilogger.md) `get - set` -- Gets the Logger property
- `resource`: [IResource](/reference/api/typescript/aspire.hosting/iresource.md) `get` -- Gets the Resource property
