Description
This issues raises a UX question around how to improve the visibility of the config file fields supported by each command.
As mentioned in this comment:
3. Unclear which fields are supported in
--config-file
Another important issue since we are dropping flag support and supporting new features through the use of the config file.
You can find out the supported flags by using
--help
.How can a user find out which config file fields can be used with a specific command in a familiar, seamless CLI experience?
Currently, the list of supported config file fields has to be added manually to the docs. However, we don't have a schema or a consistent, automated way of doing and maintaining this. We also have the examples. I wonder if there's a better way of doing this, preferably through the CLI for better UX (like with
--help
). :)
In the CLI, we could improve the validation of unsupported fields by logging any fields that are unsupported and remain unchanged.
In the docs, it would be nice to auto-generate the config file schema that is supported per command.