Default to publish if no command specified.