# README
Autocomplete complete functions for murex
The code here is a bit of a mess but there are tests and this package isn't meant for consumption as a public API anyways.
# Functions
No description provided by the author
FormatSuggestions applies some loose formatting rules to auto-completion suggestions.
InitExeFlags initializes empty []Flags based on sane defaults and a quick scan of the man pages (OS dependant).
No description provided by the author
MatchFlags is the entry point for murex's complex system of flag matching.
MatchFunction returns autocomplete suggestions for functions / executables based on a partial string.
MatchVars returns autocomplete suggestions for variables based on a partial string.
No description provided by the author
No description provided by the author
RuntimeDump exports the autocomplete flags and FileRef metadata in a JSON compatible struct for `runtime` to consume.
UpdateGlobalExeList generates a list of executables in $PATH.
Read returns an interface{} of the user dictionary.
Write takes a JSON-encoded string and writes it to the dictionary slice.
# Variables
ExesFlags is map of executables and their supported auto-complete options.
ExesFlagsFileRef is a map of which module defined ExesFlags.
GlobalExes is a pre-populated list of all executables in $PATH.
# Structs
AutoCompleteT is a struct designed for ease to pass common values around the many functions for autocompletion.
Flags is a struct to store auto-complete options.