"github.com/pterm/pterm/putils"
// Create a new header as a fork from pterm.DefaultHeader.
// β new header variable
// β β Fork it from the default header
// β β β Set options
header := pterm.DefaultHeader.WithBackgroundStyle(pterm.NewStyle(pterm.BgRed))
// Print the header centered in your terminal.
// β Use the default CenterPrinter
// β β Print a string ending with a new line
// β β β Use our new header to format the input string
pterm.DefaultCenter.Println(header.Sprint("Hello, World"))
// Print a big text to the terminal.
// β Use the default BigTextPrinter
// β β Set the Letters option
// | | β Use the PTerm Utils (putils) package to create objects faster
// β β | β Generate Letters from string
// β β | | β Render output to the console
_ = pterm.DefaultBigText.WithLetters(putils.LettersFromString("Hello")).Render()
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βThere are many more features, which are waiting for you :)β
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// TODO: If you want, you can try to make the big text centered.