External Add To Global Queue

I would realy like to be able to add items to the global queue via a command line option, or script api.