mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
deprecate some cfg commands
This commit is contained in:
@@ -25,6 +25,8 @@ func GetFmtRunner(name string) *FmtRunner {
|
||||
Example: commands.FmtExamples,
|
||||
RunE: r.runE,
|
||||
PreRunE: r.preRunE,
|
||||
Deprecated: "imperative formatting will no longer be available in kustomize v5.\n" +
|
||||
"Declare a formatting transformer in your kustomization instead.",
|
||||
}
|
||||
runner.FixDocs(name, c)
|
||||
c.Flags().StringVar(&r.FilenamePattern, "pattern", filters.DefaultFilenamePattern,
|
||||
|
||||
Reference in New Issue
Block a user