Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.75 KB

bitburner.autocompletedata.md

File metadata and controls

33 lines (23 loc) · 1.75 KB

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 [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 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