Skip to content

Commit 90064b8

Browse files
committed
config show: show the important fields only
1 parent 4d99093 commit 90064b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,11 @@ fn main() -> Result<()> {
224224
match load_global_config()? {
225225
Some(config) => {
226226
println!("Configuration file: {}\n", get_config_path()?.display());
227-
println!("{}", toml::to_string_pretty(&config)?);
227+
println!("Provider: {}", config.defaults.provider);
228+
match config.defaults.profile {
229+
Some(profile) => println!("Profile: {}", profile),
230+
None => println!("Profile: (none)"),
231+
}
228232
}
229233
None => {
230234
println!(

0 commit comments

Comments
 (0)