What do you think about renaming command to commandOrSubmenu?