How to pass param from ionic cli to local project

I have a command: ionic build android

In my opinion, when entered, it’ll run file build.js from ionic cli in my OS to my local project.
But I didn’t see any platform param in local project.

So my question here is, how to get param android from ionic cli to local project.