# CommandLineArgsEditor

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

Provides an ATS-first editor for command-line arguments within polyglot callbacks.

## Definition

```typescript
interface CommandLineArgsEditor {
  add(value: string | ReferenceExpression | EndpointReference | ParameterResource | IResourceWithConnectionString | IExpressionValue): void;
}
```

## Methods

- [add](/reference/api/typescript/aspire.hosting/commandlineargseditor/add.md) -- `method` -- Adds a command-line argument.
    ```typescript
  add(value: string | ReferenceExpression | EndpointReference | ParameterResource | IResourceWithConnectionString | IExpressionValue): void
  ```
