Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 7ab0685

Browse files
committed
feat: improve apps command
1 parent b676c60 commit 7ab0685

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/commands/apps.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ pub fn apps(teams: bool) {
99
println!("{}Your apps:", if teams{"(Not) "} else {""});
1010
for app in apps {
1111
println!(
12-
"- {}: ({}) {}",
12+
"- {} (lang: {}, id: {}, Online: {})",
1313
app.name.green(),
1414
app.lang.yellow(),
15-
app.id.to_string().bright_black()
15+
app.id.to_string().bright_black(),
16+
17+
if app.online {"yes".green().bold()} else {"no".bright_black().bold()}
1618
);
1719
}
1820
}

0 commit comments

Comments
 (0)