An experiment to run the right sencha cmd version based on the current
This is just a wrapper for
sencha so you can use it transparently, just change
cmd-plus and boom!
Just install cmd-plus as a global module:
$ sudo npm install -g cmd-plus
You need to have the same cmd version installed (in this version in the default installation folder).
You can check your installed versions with:
$ cmd-plus list22.214.171.124126.96.36.199188.8.131.52184.108.40.206220.127.116.1118.104.22.16822.214.171.124126.96.36.1994
This will generate a new app using cmd version 188.8.131.52
$ cmd-plus use 184.108.40.206 -sdk ../touch-2.4.0 generate app MyApp MyApp
Returns the current cmd-plus version
$ cmd-plus versioncmd-plus v1.0.0
Running any other sencha cmd command is transparent:
$ cmd-plus which
This will execute the current installed
sencha which command. But, if you are under a sencha touch / extjs root app folder it will read the ./.sencha/app/sencha.cfg file and use the cmd version from it. If it is not installed it will default to the latest version.