Small refactor of commit:list [skip changelog]
Small refactor of commit:list [skip changelog]

platformsh/platformsh-cli,platformsh/platformsh-cli,platformsh/platformsh-cli,pjcdawkins/platformsh-cli,pjcdawkins/platformsh-cli,pjcdawkins/platformsh-cli