I made a command line tool for my convenience. I hope this is also helpful for you.for example, you can submit like this.
here is the download site.github.com/kongbomb/judgesubmit