azure devops cli to query worktiems

I want to use azure devops cli to query workitems using WIQL or saved query. I tried looking in azure cli documents az boards but it has query by an workitem Id.
Can anyone please point me how to use az cli to query workitems.