options.go
This file
Path
format/options.go
13 lines · 718 bytes · Go
Last changed by
ci: fix lintAndrey Neringbefore adoptionb0471e8
History of this fileTake it
The walk stopped after 200 commits: lines older than 6837ed2 point at it.
ci: fix lintAndrey Neringbefore adoptionb0471e8
line 1why, one step back1//nolintfeat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2
lines 2–9why, one step back2package format34// Options is customization options for the format command.5type Options struct {6 Template []string `arg:"" optional:"" help:"Template string to format (can also be provided via stdin)"`7 Theme string `help:"Glamour theme to use for markdown formatting" default:"pink" env:"GUM_FORMAT_THEME"`8 Language string `help:"Programming language to parse code" short:"l" default:"" env:"GUM_FORMAT_LANGUAGE"`9feat: --no-strip-ansi (#784)Carlos Alexandro Beckerbefore adoption4cedf9f
lines 10–11why, one step back10 StripANSI bool `help:"Strip ANSI sequences when reading from STDIN" default:"true" negatable:"" env:"GUM_FORMAT_STRIP_ANSI"`11feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2
lines 12–13why, one step back12 Type string `help:"Format to use (markdown,template,code,emoji)" enum:"markdown,template,code,emoji" short:"t" default:"markdown" env:"GUM_FORMAT_TYPE"`13}