Implementation for pmg query CLI.
Perform query to the Materials Project
args (dict) – Args from argparse.