add getCapability Command

Signed-off-by: Quan Xu <quan.xu@intel.com>