You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
W.r.t. env and cli support it is sometimes annoying not to be able to know where the value was actually specified; and this would only worsen with #35.
Still most of the time you may not care so the current interface seems right, most of the time. For these other cases, we could expose a lower-level converter whose parser type is:
[`Env|`Conf|`Cli ] -> string -> ('a, [`Msg of string]) result
It would then be trivial to expose higher-order combinators that make use of the current converters that allow to tuple the value with the source e.g.:
W.r.t. env and cli support it is sometimes annoying not to be able to know where the value was actually specified; and this would only worsen with #35.
Still most of the time you may not care so the current interface seems right, most of the time. For these other cases, we could expose a lower-level converter whose parser type is:
It would then be trivial to expose higher-order combinators that make use of the current converters that allow to tuple the value with the source e.g.:
But for this cmdliner needs a full internal rewrite.
The text was updated successfully, but these errors were encountered: