Documentation
¶
Overview ¶
Copyright (c) 2025 Nexlayer. All rights reserved.n// Use of this source code is governed by an MIT-stylen// license that can be found in the LICENSE file.nn
Index ¶
- func PrintError(format string, args ...interface{})
- func PrintHeading(format string, args ...interface{})
- func PrintInfo(format string, args ...interface{})
- func PrintSuccess(format string, args ...interface{})
- func RenderBox(text string)
- func RenderError(text string)
- func RenderHighlight(text string)
- func RenderSuccess(text string)
- func RenderTitleWithBorder(title string)
- func RenderWarning(text string)
- func RenderWelcome(text string)
- type ProgressTracker
- type Spinner
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintError ¶
func PrintError(format string, args ...interface{})
PrintError prints an error message
func PrintHeading ¶
func PrintHeading(format string, args ...interface{})
PrintHeading prints a section heading
func PrintInfo ¶
func PrintInfo(format string, args ...interface{})
PrintInfo prints an informational message
func PrintSuccess ¶
func PrintSuccess(format string, args ...interface{})
PrintSuccess prints a success message
func RenderTitleWithBorder ¶
func RenderTitleWithBorder(title string)
RenderTitleWithBorder renders a title with a border
Types ¶
type ProgressTracker ¶
ProgressTracker defines the interface for tracking progress
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner represents a CLI progress spinner
func (*Spinner) UpdateMessage ¶
UpdateMessage updates the spinner's message
Directories
¶
| Path | Synopsis |
|---|---|
|
Package components provides reusable UI components for the CLI
|
Package components provides reusable UI components for the CLI |
|
Package styles provides consistent styling for the CLI UI
|
Package styles provides consistent styling for the CLI UI |
Click to show internal directories.
Click to hide internal directories.