Where to put cli version check in add-on

My beginner question. I hope someone can advise me where to put this code in an add-on:

https://github.com/rwjblue/ember-cli-version-checker/issues/11

Is there an add-on using this I can look at?

Example of how I use it in ember-moment: https://github.com/stefanpenner/ember-moment/blob/master/index.js

Thanks! That was all I needed!