How to generate key.pem file && how to check point when using aios-cli?

How to generate key.pem file when running with aios-cli? How to check the score with aios-cli?