refactoring Mycmd::CLI