Add a publish command.