Add support for publisher on the commandline

Add support for publisher on the commandline