Refactor `CommandLine`.