Currently, Configuration is validated during startup, but errors can be cryptic. Enhance internal/config/validate.go and add a pgxcli config check command.
This help users debug their config files without trying to connect to a database. Add line-number reporting for TOML errors.
Optional: specific suggestions (e.g., "Style 'monokai' is valid, but 'monokai-dark' is not").
Currently, Configuration is validated during startup, but errors can be cryptic. Enhance internal/config/validate.go and add a
pgxcli config checkcommand.This help users debug their config files without trying to connect to a database. Add line-number reporting for TOML errors.
Optional: specific suggestions (e.g., "Style 'monokai' is valid, but 'monokai-dark' is not").