Mavproxy command

Hello guys, I need a help.

When the mavproxy.py is running. I want the program automatically typing command “wp” to do something.
How to do it?

Make a new mavproxy.py or using mavproxy script?

Are aliases what you’re looking for? http://ardupilot.github.io/MAVProxy/html/getting_started/mavinit.html

Or are you wanting MAVProxy to run some specific command whenever the user types in “wp”?