CLI: Support prefix input/shorten exit commands