Where to put cli version check in add-on


#1

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

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


#2

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


#3

Thanks! That was all I needed!