mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 10:04:43 +08:00
Can now update tag/style of nodes without affecting the value
This commit is contained in:
+5
-4
@@ -13,10 +13,11 @@ import (
|
||||
var log = logging.MustGetLogger("yq")
|
||||
|
||||
type UpdateCommand struct {
|
||||
Command string
|
||||
Path string
|
||||
Value *yaml.Node
|
||||
Overwrite bool
|
||||
Command string
|
||||
Path string
|
||||
Value *yaml.Node
|
||||
Overwrite bool
|
||||
DontUpdateNodeValue bool
|
||||
}
|
||||
|
||||
func KindString(kind yaml.Kind) string {
|
||||
|
||||
Reference in New Issue
Block a user