This web app allows you to generate a command for the 7-Zip CLI using the familiar 7-Zip archive creation interface
Tested using 7-Zip 17.00 beta (x64)
Browse to https://axelstudios.github.io/7z/ and configure your desired settings to build the command.