Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/geode-sdk/cli into main
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Mar 26, 2023
2 parents cbd84ce + 7ccb3b6 commit 8446fe7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion src/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@ pub fn subcommand(config: &mut Config, cmd: Profile) {
let name = &profile.borrow().name;
let path = &profile.borrow().gd_path;

let indicator = if config.current_profile.as_ref() == Some(name) {
"* "
} else {
""
};

println!(
"{} [ path = {} ]",
"{}{} [ path = {} ]",
indicator.bright_cyan(),
name.bright_cyan(),
path.to_string_lossy().bright_green()
);
Expand Down

0 comments on commit 8446fe7

Please sign in to comment.