how to get current edit level?

i write end: exec “echo” “cli-shell-api getEditLevelStr in my node.def ,but it just don’t work. i couldn’t get the node’s path.