Documentation
¶
Index ¶
- func Error(cmd *cobra.Command, err error, verbose bool)
- func GreenPrint(message string)
- func Info(message string)
- func OrganizationInfo(orgID string, verbose bool)
- func Print(message string)
- func PrintDetail(label, value string)
- func PrintHeader(message string)
- func PrintNorm(message string)
- func Prompt(message string, verbose bool)
- func Success(message string)
- func Warning(message string)
- func YellowPrint(message string)
- type CPrinter
- func (p *CPrinter) Error(cmd *cobra.Command, err error)
- func (p *CPrinter) GreenPrint(message string)
- func (p *CPrinter) Info(message string)
- func (p *CPrinter) OrganizationInfo(orgID string)
- func (p *CPrinter) Print(message string)
- func (p *CPrinter) PrintDetail(label, value string)
- func (p *CPrinter) PrintHeader(message string)
- func (p *CPrinter) PrintNorm(message string)
- func (p *CPrinter) PrintVerbose(message string)
- func (p *CPrinter) Prompt(message string)
- func (p *CPrinter) Success(message string)
- func (p *CPrinter) Warning(message string)
- func (p *CPrinter) YellowPrint(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GreenPrint ¶
func GreenPrint(message string)
func OrganizationInfo ¶
func PrintDetail ¶
func PrintDetail(label, value string)
func PrintHeader ¶
func PrintHeader(message string)
func YellowPrint ¶
func YellowPrint(message string)
Types ¶
type CPrinter ¶ added in v0.12.6
type CPrinter struct {
// contains filtered or unexported fields
}
CPrinter holds the configuration for printing
func NewCPrinter ¶ added in v0.12.6
NewCPrinter creates a new CPrinter instance
func (*CPrinter) GreenPrint ¶ added in v0.12.6
func (*CPrinter) OrganizationInfo ¶ added in v0.12.6
func (*CPrinter) PrintDetail ¶ added in v0.12.6
func (*CPrinter) PrintHeader ¶ added in v0.12.6
func (*CPrinter) PrintVerbose ¶ added in v0.16.0
func (*CPrinter) YellowPrint ¶ added in v0.12.6
Click to show internal directories.
Click to hide internal directories.