Documentation ¶
Overview ¶
Package yq provides an updater that uses the yq lib to manipulate YAML (or JSON) files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YQUpdater ¶
type YQUpdater struct { FilePath string Expression string Output string OutputFormat yqlib.PrinterOutputFormat Indent int Trim bool UnwrapScalar bool }
YQUpdater is an updater that uses the yq lib to manipulate YAML (or JSON) files.
func NewUpdater ¶
NewUpdater builds a new YQ updater from the given parameters
func (*YQUpdater) Message ¶
Message returns the default title and body that should be used in the commits / pull requests
Click to show internal directories.
Click to hide internal directories.