CLIFoundation Documentation Beta

Structure Console​Menu​Command

public struct ConsoleMenuCommand 

Initializers

init(title:​selection​Handler:​)

public init(title: String, selectionHandler: @escaping () throws -> Void) 

Properties

title

public let title: String

selection​Handler

public let selectionHandler: () throws -> Void