Home > bitburner > AutocompleteData
Used for autocompletion
Signature:
interface AutocompleteData
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 |
Method | Description |
---|---|
flags(schema) | Parses the flags schema on the already inputted flags |