Custom argument in ionic server

Is it possible to send a custom argument in “ionic serve” command (something like “ionic serve -myparam myvalue”) and retrieve it inside the application?

I wish to set different backend enviroments depending on the parameter received by command line.

you could for example use an “environment” variable