diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-24 17:40:45 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-24 17:40:45 -0600 |
| commit | d48fe690c3c071cb5c8e3aa4d4672a32230a5e2d (patch) | |
| tree | 414f9e91877e901cb3de12be6f466cb4929f55ab /vendor/github.com/google/yamlfmt/command/command.go | |
| parent | 7257c213887c6a80f727642b016606ec10340ed9 (diff) | |
refactor: extract job to process relationship updates in background
Diffstat (limited to 'vendor/github.com/google/yamlfmt/command/command.go')
| -rw-r--r-- | vendor/github.com/google/yamlfmt/command/command.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/github.com/google/yamlfmt/command/command.go b/vendor/github.com/google/yamlfmt/command/command.go index 3224f46..1204b94 100644 --- a/vendor/github.com/google/yamlfmt/command/command.go +++ b/vendor/github.com/google/yamlfmt/command/command.go @@ -23,9 +23,8 @@ import ( "github.com/google/yamlfmt" "github.com/google/yamlfmt/engine" + "github.com/google/yamlfmt/pkg/yaml" "github.com/mitchellh/mapstructure" - - "github.com/braydonk/yaml" ) type FormatterConfig struct { @@ -58,6 +57,7 @@ type Command struct { Registry *yamlfmt.Registry Config *Config Quiet bool + Verbose bool } func (c *Command) Run() error { @@ -75,6 +75,7 @@ func (c *Command) Run() error { LineSepCharacter: lineSepChar, Formatter: formatter, Quiet: c.Quiet, + Verbose: c.Verbose, ContinueOnError: c.Config.ContinueOnError, OutputFormat: c.Config.OutputFormat, } |
