-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I'm looking into running Blin, and it relies on paring --help
to find Zef's JSON config.
It's understandable that parsing is required, since the automatic config paths seem volatile. Here's mine, for instance
CONFIGURATION /home/coleman/.raku/resources/2761BB503396E2B6CC3A6AC77C63CC0B8F2A7233.json
I propose a new subcommand namespace, config
(or maybe zef 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
zef config show --format=json | jq '.Repository[][].options.mirrors'
Prior art: kubectl config view
, lxc config show
, and more.
This is also an alternative to changing the bemavior of --help
per #477
Metadata
Metadata
Assignees
Labels
No labels