In Debian 9, there's a FUSE-based filesystem jmtpfs, packaged with the same name. It seems to work quite well with Android 8 at least. Perhaps it is available as a package for Mint too?
As it's a real FUSE filesystem, it is actually mountable, and so usable from the command line.
The source code and the developer's introduction to jmtpfs is here: https://github.com/JasonFerrara/jmtpfshere.