-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/envflag: support int and string flags
As requested by Marcel, it would be useful for CUE_DEBUG to support a logging level which would be useful for debugging the evaluator. Similarly, we have talked about transitioning away from a one-off evalv3 boolean experiment flag into an "eval" version string flag, meaning that we could set eval=v2, eval=v3, and also reuse it for future versions like eval=v4. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I1a4de176701f31c1b9b5586efbc6fd6b9483dac7 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1208350 Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information
Showing
2 changed files
with
91 additions
and
27 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