Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.55.0
type Option struct {
persesCMD.Option
opt.FileOption
opt.DirectoryOption
opt.OutputOption
Mode string
// contains filtered or unexported fields
}
func (*Option) BuildOutputFilePath ¶ added in v0.55.0
BuildOutputFilePath generates the output file path based on the input file path Example when the dac output folder is "built", and the output format is "yaml":
- inputFilePath: "dashboards/my_dashboard.cue"
- outputFilePath: "built/dashboards/my_dashboard_output.yaml"
/!\ Be sure to be in a DaC context so config.Global.Dac.OutputFolder is correctly set when calling this function.
func (*Option) SetErrWriter ¶ added in v0.55.0
Click to show internal directories.
Click to hide internal directories.