add command to get endpoints

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>