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
Command line flags override configuration, so there isn't a merged configuration so to speak yet. We use the pattern of setting command line flag defaults from configuration. For instance:
I'm looking into running Blin, and it relies on paring
--help
to find Zef's JSON config.https://github.com/Raku/Blin/blob/253df4c042a1fb8cd0fd92ccedf9ce3fb9bcca70/lib/Blin/Tester/Zef.rakumod#L26-L27
It's understandable that parsing is required, since the automatic config paths seem volatile. Here's mine, for instance
I propose a new subcommand namespace,
config
(or maybezef debug
could work), that simply evaluates/merges config sources, and prints them to stdout.Blin's use case could then be accomplished with something like
Prior art:
kubectl config view
,lxc config show
, and more.This is also an alternative to changing the bemavior of
--help
per #477The text was updated successfully, but these errors were encountered: