refactor(cli): Use display instead of debug output for list
This commit is contained in:
parent
456111acae
commit
53b1a5edda
@ -124,8 +124,8 @@ where
|
||||
|
||||
|
||||
fn list_projects(projects: &Projects) -> Result<()> {
|
||||
for project in &projects.list {
|
||||
println!("{project:?}")
|
||||
for (idx, project) in projects.list.iter().enumerate() {
|
||||
println!("{}: {}", idx + 1, project.display())
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user