Pass params to hook


#1

Is it possible to pass params from ionic comand line to cordova hooks? Something like this:

ionic build android --blabla

hooks/before_build/000_hook.js
console.log(process.env.CORDOVA_CMDLINE) // prints “–blabla” to console