Skip to content
Myr

options.go

This file

Path

format/options.go

13 lines · 718 bytes · Go

Last changed by

ci: fix lintAndrey Neringbefore adoptionb0471e8

History of this file

Take it

The walk stopped after 200 commits: lines older than 6837ed2 point at it.

ci: fix lintAndrey Neringbefore adoptionb0471e8

line 1why, one step back
1//nolint

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 2–9why, one step back
2package format
34// 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"`9

feat: --no-strip-ansi (#784)Carlos Alexandro Beckerbefore adoption4cedf9f

lines 10–11why, one step back
10 StripANSI bool `help:"Strip ANSI sequences when reading from STDIN" default:"true" negatable:"" env:"GUM_FORMAT_STRIP_ANSI"`
11

feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#661)dependabot[bot]before adoption6837ed2

lines 12–13why, one step back
12 Type string `help:"Format to use (markdown,template,code,emoji)" enum:"markdown,template,code,emoji" short:"t" default:"markdown" env:"GUM_FORMAT_TYPE"`
13}