mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
1.8 KiB
1.8 KiB
Home > bitburner > AutocompleteData
AutocompleteData interface
Used for autocompletion
Signature:
interface AutocompleteData
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| command | string | The raw command string that you have typed until you press [Tab] to use the autocomplete feature. For example, if you type |
|
| enums | NSEnums | Netscript Enums | |
| filename | string | The filename of the script about to be run | |
| hostname | string | The hostname of the server the script would be running on | |
| processes | ProcessInfo[] | The processes running on the host | |
| scripts | string[] | All scripts on the current server | |
| servers | string[] | All server hostnames | |
| txts | string[] | All text files on the current server |
Methods
| Method | Description |
|---|---|
| flags(schema) | Parses the flags schema on the already inputted flags |