Does anyone have an example on how to use snappy to run glcm?

i need to run glcm on several sentinel1 images so I was wondering if someone could help me with a sample script . I am new with snappy. I have started with subsetting, callibrating, and then gml should be done.

By the way is there a way to give a pixel size an set the projection or do I have to do it on a different step. In both cases which should be the procedure? (using the snap tool and using snappy)

Thank you very much for the cooperation,