gum/join/options.go

11 lines
401 B
Go
Raw Normal View History

2022-07-08 01:28:44 +02:00
package join
// Options is the set of options that can configure a join.
2022-07-08 01:28:44 +02:00
type Options struct {
Text []string `arg:"" help:"Text to join."`
Align string `help:"Text alignment" enum:"left,center,right,bottom,middle,top" default:"left"`
Horizontal bool `help:"Join (potentially multi-line) strings horizontally"`
Vertical bool `help:"Join (potentially multi-line) strings vertically"`
}