platform_build_blueprint/parser
Jooyung Han 451dd63611 bpmodify: -add-literal to add a value to the list
-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
2022-02-09 11:16:02 +09:00
..
ast.go Add support for maps in blueprint files. 2022-01-26 12:18:31 -05:00
modify.go Add Patch and PatchList for making textual changes 2018-04-10 16:50:39 -07:00
modify_test.go Add Patch and PatchList for making textual changes 2018-04-10 16:50:39 -07:00
parser.go bpmodify: -add-literal to add a value to the list 2022-02-09 11:16:02 +09:00
parser_test.go Merge "Add support for maps in blueprint files." 2022-01-27 21:36:45 +00:00
printer.go Add newlines around list of structs 2022-02-09 11:10:12 +09:00
printer_test.go Add newlines around list of structs 2022-02-09 11:10:12 +09:00
sort.go Fix numericStringLess and add tests 2021-03-08 17:59:55 -08:00
sort_test.go Fix numericStringLess and add tests 2021-03-08 17:59:55 -08:00