From what I had read sometime back, it seems
iwconfig is deprecated and the current methods is -
$ sudo ifconfig wlan0 up
$ sudo ifconfig wlan0 down
But couldn't find anything which tells the status of the wifi and know which mode it is on, which AP it is attached to, how much data is being transferred and so on and so forth on the CLI.