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<()> {
|
fn list_projects(projects: &Projects) -> Result<()> {
|
||||||
for project in &projects.list {
|
for (idx, project) in projects.list.iter().enumerate() {
|
||||||
println!("{project:?}")
|
println!("{}: {}", idx + 1, project.display())
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user