Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowFileInTerminal ¶
func ShowTable ¶
func ShowTable(options TableOptions) error
Types ¶
type Message ¶
type Message struct{}
func (*Message) ShowError ¶
func (t *Message) ShowError(opt MessageOptions)
func (*Message) ShowInfo ¶
func (t *Message) ShowInfo(opt MessageOptions)
func (*Message) ShowSuccess ¶
func (t *Message) ShowSuccess(opt MessageOptions)
func (*Message) ShowWarning ¶
func (t *Message) ShowWarning(opt MessageOptions)
type MessageOptions ¶
type MessageWriter ¶
type MessageWriter interface { ShowError(opt MessageOptions) ShowInfo(opt MessageOptions) ShowSuccess(opt MessageOptions) ShowWarning(opt MessageOptions) }
func NewMessageWriter ¶
func NewMessageWriter() MessageWriter
type TableOptions ¶
type Title ¶
type Title struct { }
func (*Title) ShowSubTitle ¶
func (*Title) ShowTitleAndDescription ¶
type TitleWriter ¶
type TitleWriter interface { ShowTitle(title string) ShowTitleAndDescription(title, description string) ShowSubTitle(mainTitle, subtitle string) }
func NewTitleWriter ¶
func NewTitleWriter() TitleWriter
Click to show internal directories.
Click to hide internal directories.