Most MAME frontends work for multiple emulators. Game Launcher, Mamewah, etc...
Oh wait... the command line requires a number rather than a ROM name, right? I'd have to look into that. You'd have to find a totally text-based FE that allows seperate game names and rom names.
Maybe Mamewah can do it... Come to think of it, I think Game Launcher can too. You've just have to do it manually, but there aren't that many supported games, anyways.