-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend
BazelFlagInfo
with additional metadata
This commit adds additional metadata to the protobuf dump produced by `bazel help flag-as-proto`. The old name and the deprecation message are useful to provide diagnostics within bazelrc files using a language server. The `type_converter` and `enum_values` are usful to validate argument values and to provide auto-completion. The optona expansions can be used, e.g., to warn on contradictions between explicitly specificed flags and expansion flags.
- Loading branch information
1 parent
50e228b
commit cb43e7f
Showing
3 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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