451dd63611
-a works with only string values. When we need to add numbers, booleans, or even structs, -add-literal can be used now. bpmodify -m foo -property list-of-ints -add-literal 123 bpmodify -m foo -property list-of-structs \ -add-literal "{key: \"value\"}" Bug: 146436251 Test: go test ./bpmodify Change-Id: I91d23d7bf89491643aa595f5ebccd9410a9cbb09 |
||
---|---|---|
.. | ||
ast.go | ||
modify.go | ||
modify_test.go | ||
parser.go | ||
parser_test.go | ||
printer.go | ||
printer_test.go | ||
sort.go | ||
sort_test.go |