nfcli

package
v0.0.0-...-1bf0fd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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 ChangeLivePrefix() (string, bool)

func Completer

func Completer(in prompt.Document) []prompt.Suggest

Completer is responsible for the autocompletion of the CLI

func Executor

func Executor(in string)

func Initialize

func Initialize()

func InitializePrompt

func InitializePrompt()

func Run

func Run()

Run launch a new prompt

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL