When I use --export-config in the form below, it fails silently. The error which I would expect in STDERR is redirected as STDOUT to the file.
meshtastic --export-config > config_backup.yaml
I think it would be an improvement to have warnings and errors printed to STDERR.