Documentation ¶
Index ¶
Constants ¶
View Source
const (
NF_MAIN = 0xff
)
View Source
const (
NF_MAIN_STR = "nf"
)
Variables ¶
View Source
var MainSuggestion = []prompt.Suggest{
{Text: "amf", Description: "Connect with AMF"},
{Text: "smf", Description: "Connect with SMF"},
{Text: "upf", Description: "Connect with UPF"},
{Text: "exit", Description: "Exit from NF CLI"},
}
View Source
var PromptConfig *lib.Prompt
Functions ¶
func ChangeLivePrefix ¶
func Completer ¶
func Completer(in prompt.Document) []prompt.Suggest
Completer is responsible for the autocompletion of the CLI
func Initialize ¶
func Initialize()
func InitializePrompt ¶
func InitializePrompt()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.