This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Print availabel bazel rules by path | |
## Usage bazel_rules '//src' | |
function bazel_rules(){ | |
bazel query "attr(name, \".*\", $@:*)" 2> /dev/null | |
} | |
## Print availabel bazel rules by path | |
## Usage bazel_public_rules '//src' | |
function bazel_public_rules() { | |
bazel query "attr(visibility, \"//visibility:public\", $@:*)" 2> /dev/null |
NewerOlder