Skip to content

Commit 8446fe7

Browse files
committed
Merge branch 'main' of https://github.com/geode-sdk/cli into main
2 parents cbd84ce + 7ccb3b6 commit 8446fe7

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/profile.rs

+8-1
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,15 @@ pub fn subcommand(config: &mut Config, cmd: Profile) {
6262
let name = &profile.borrow().name;
6363
let path = &profile.borrow().gd_path;
6464

65+
let indicator = if config.current_profile.as_ref() == Some(name) {
66+
"* "
67+
} else {
68+
""
69+
};
70+
6571
println!(
66-
"{} [ path = {} ]",
72+
"{}{} [ path = {} ]",
73+
indicator.bright_cyan(),
6774
name.bright_cyan(),
6875
path.to_string_lossy().bright_green()
6976
);

0 commit comments

Comments
 (0)