mirror of
https://github.com/charmbracelet/gum
synced 2024-06-10 17:52:20 +02:00
This commit uses the embedded style struct for styling in all components. The most notable example is `gum write` where there are many styles that are used and composed for each component of the command.
8 lines
209 B
Go
8 lines
209 B
Go
package style
|
|
|
|
// Options is the customization options for the style command.
|
|
type Options struct {
|
|
Text []string `arg:"" optional:"" help:"Text to style"`
|
|
Style Styles `help:"Style to apply" embed:""`
|
|
}
|