Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainAction ¶
type MainAction int
MainAction is the user's choice from the hub; the CLI dispatches to engines.
const ( // MainNone means no selection (should not be returned from RunMainMenu on success). MainNone MainAction = iota // MainQuit means the user exited without running a workflow. MainQuit // MainCollect runs interactive benchmark collection. MainCollect // MainCompare runs interactive compare between two tags. MainCompare // MainTools opens the tools submenu (benchstat, qcachegrind). MainTools // MainSetup runs the configuration template step. MainSetup // MainDocs prints the documentation URL only. MainDocs )
func RunMainMenu ¶
func RunMainMenu() (MainAction, error)
RunMainMenu runs the full-screen hub until the user selects an action or quits.
Click to show internal directories.
Click to hide internal directories.