Compositing from the command line

I’ve been running from the command line to render images using luxrender with commands like:

blender -b file.blend --addons luxblend -E luxrender -noaudio -nojoystick -o //file -F PNG -x 1 -f 1 &

But I would also like to use the compositor in Blender to process some images from the command line. I only have 3 nodes:

an image input node linked to a colour correction node that is linked to a file output node.

If I run this with the Blender GUI it works fine. I have a .blend file with nothing in the scene, and just 3 nodes in the compositor. I select the image I want to process in the image input node, change my colour correction settings, choose my output file destination in the file output node, and when I render it produces a nicely composited image.

How would I do this from the command line? Is it possible?

Many thanks