[Home](./index.md) > [bitburner](./bitburner.md) > [AutocompleteData](./bitburner.autocompletedata.md)
## AutocompleteData interface
Used for autocompletion
**Signature:**
```typescript
interface AutocompleteData
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [command](./bitburner.autocompletedata.command.md) | | string |
The raw command string that you have typed until you press \[Tab\] to use the autocomplete feature.
For example, if you type [Space]run test.js[Space][Space][Space][Press tab to use autocomplete]
, "command" will contain all space characters (1 space character before "run" and 3 space characters after ".js").
|
| [enums](./bitburner.autocompletedata.enums.md) | | [NSEnums](./bitburner.nsenums.md) | Netscript Enums |
| [filename](./bitburner.autocompletedata.filename.md) | | string | The filename of the script about to be run |
| [hostname](./bitburner.autocompletedata.hostname.md) | | string | The hostname of the server the script would be running on |
| [processes](./bitburner.autocompletedata.processes.md) | | [ProcessInfo](./bitburner.processinfo.md)\[\] | The processes running on the host |
| [scripts](./bitburner.autocompletedata.scripts.md) | | string\[\] | All scripts on the current server |
| [servers](./bitburner.autocompletedata.servers.md) | | string\[\] | All server hostnames |
| [txts](./bitburner.autocompletedata.txts.md) | | string\[\] | All text files on the current server |
## Methods
| Method | Description |
| --- | --- |
| [flags(schema)](./bitburner.autocompletedata.flags.md) | Parses the flags schema on the already inputted flags |