The cli config commands is a nightmare for maintenance and testing. Instead follow the pattern of prettier and eslint and similar tools and have a config file that has to be created by something else and just read it.
Will simplify and allow focus on real feature again.