Command line to just clean Chrome and Firefox

I know you can run a command line with the auto switch to have it clean everything you have checked in the program. But is there a way to run it from the command line but just clean a particular program say Firefox or Chrome, rather than everything?

No command line exists to do that. However as a workaround you could have a separate version of CCleaner in particular CCleaner Portable version and configure it to only clean Chrome and Firefox.