How to read gpio pins from adb shell

Hi, I am using banana pi M2 Zero… I need to read the data from gpio pins… If i short Vcc 3.3v to gpio pin then i need to read value as HIGH… please send me logic to read gpio pin

Pls, try this with adb Shell: cat /sys/kernel/debug/gpio