Generate LAR file from commandline?

Wanting to try out deploying with a LAR file, but want to do it via a command line, I’ve used commandbox for some things in the past, but wasn’t able to find a command to compile the code in an archive.

Checking through the lucee admin calls, I think I could hack something in, but wanted to check if someone else already had a process in place.

Isnt it just zip of the files and renamed from .zip to .lar?

Looks like it contains all files and the class files.