# CommandLineArgsEditor

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

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

## Definition

```go
type CommandLineArgsEditor interface{}
```

## Methods

- [Add](/reference/api/go/aspire.hosting/commandlineargseditor/add.md) -- `method` -- Adds a command-line argument.
  ```go
  Add(value any) error
  ```
- [Clear](/reference/api/go/aspire.hosting/commandlineargseditor/clear.md) -- `method` -- Clears all command-line arguments.
  ```go
  Clear() error
  ```
