Refactor CommandLine
command registration
#1611
Open
CommandLine
command registration
#1611