Add publish command.