Automating Bake process through CLI

Is there a way to open the shapespark through cli command import a file and bake it and upload it automatically ? More like just automating the import → bake → upload flow either through api or cli interface ?

can someone also tell how to use this GitHub - shapespark/api

In the desktop app, if you want to bake lightmaps for multiple scenes, then you can queue it. Simply open each scene, set the desired baking parameters and press ‘Bake’. You don’t have to wait until baking finishes, you can just close the editor for a given scene and go to the next one.
Once all the scenes are baked, you can upload them in a similar way (queueing also works for uploading).
Queueing won’t work in the cloud editor though.

lets say i just have a glb file, can i queue it for bake with command line ?

Please drop me an email at team@shapespark.com about your use-case