gum/format/options.go
2023-03-24 13:40:37 -04:00

11 lines
511 B
Go

package format
// Options is customization options for the format command.
type Options struct {
Template []string `arg:"" optional:"" help:"Template string to format (can also be provided via stdin)"`
Theme string `help:"Glamour theme to use for markdown formatting" default:"pink"`
Language string `help:"Programming language to parse code" short:"l" default:""`
Type string `help:"Format to use (markdown,template,code,emoji)" enum:"markdown,template,code,emoji" short:"t" default:"markdown"`
}