possible to specify field enclosure in psql command line?
In v12, psql introduced the --csv option.  However, it still seems like the wrong tool for the job.  You should use COPY or \copy instead (probably still invoked through psql)