[core] refactor the CLI print list