Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMenu ¶
func GetMenu(headline string, items []menuItem) *menu
GetMenu creates an object of type menu
descr and cmd must have same length will create the menuItems based on these
func GetMenuItems ¶
func GetMenuItems(description []string, command []func()) []menuItem
GetMenuItems creates the items for the cli-menu
description and command must have same length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.