Add publish command.
Config and templates