Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTutorial ¶
func RunTutorial(options *TutorialOptions) error
RunTutorial runs the tutorial with the given options
Types ¶
type Tutorial ¶
type Tutorial struct {
// contains filtered or unexported fields
}
Tutorial represents the tutorial
func NewTutorial ¶
func NewTutorial(options *TutorialOptions) *Tutorial
NewTutorial creates a new tutorial
type TutorialOptions ¶
type TutorialOptions struct {
// Interactive enables interactive mode
Interactive bool
// SkipAuth skips the authentication section
SkipAuth bool
// SkipBasics skips the basics section
SkipBasics bool
// SkipAdvanced skips the advanced section
SkipAdvanced bool
// Theme sets the color theme
Theme string
// NoColor disables color output
NoColor bool
// Width sets the width of the tutorial
Width int
// Height sets the height of the tutorial
Height int
}
TutorialOptions contains options for the tutorial
func DefaultTutorialOptions ¶
func DefaultTutorialOptions() *TutorialOptions
DefaultTutorialOptions returns the default tutorial options
Click to show internal directories.
Click to hide internal directories.