buildozer

Rewrite and refactor Bazel BUILD files using standard commands

brewmacoslinux
Try with needOr install directly
Source

About

Rewrite bazel BUILD files using standard commands

Commands

buildozer

Examples

Add a dependency to a target$ buildozer 'add deps //other:lib' //mypackage:mytarget
Remove a source file from a target$ buildozer 'remove srcs file.cc' //mypackage:mytarget
Change an attribute value in a target$ buildozer 'set visibility ["//visibility:public"]' //mypackage:mytarget