diff --git a/Cargo.lock b/Cargo.lock index 1e01bd2..dd81186 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1182,7 +1182,7 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smartcat" -version = "1.7.1" +version = "1.7.2" dependencies = [ "clap", "device_query", diff --git a/Cargo.toml b/Cargo.toml index f6e5112..36ebd78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smartcat" -version = "1.7.1" +version = "1.7.2" authors = ["Emilien Fugier "] description = ''' Putting a brain behind `cat`. diff --git a/src/config/mod.rs b/src/config/mod.rs index e37178e..66d24a7 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -42,8 +42,8 @@ pub fn ensure_config_files() -> std::io::Result<()> { if !prompts_path().exists() { if interactive { println!( - "Prompt config file not found at {:?}, generating one.\n...", - prompts_path().into_os_string() + "Prompt config file not found at {}, generating one.\n...", + prompts_path().display() ); } generate_prompts_file()? @@ -51,16 +51,16 @@ pub fn ensure_config_files() -> std::io::Result<()> { if !voice_config_path().exists() { println!( - "Voice config file not found at {:?}, generating one.\n...", - voice_config_path().into_os_string() + "Voice config file not found at {}, generating one.\n...", + voice_config_path().display() ); generate_voice_file().expect("Unable to generate config files"); }; if !api_keys_path().exists() { println!( - "API config file not found at {:?}, generating one.\n...", - api_keys_path().into_os_string() + "API config file not found at {}, generating one.\n...", + api_keys_path().display() ); generate_api_keys_file().expect("Unable to generate config files"); if interactive { diff --git a/src/main.rs b/src/main.rs index 025331e..a2e5466 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,7 +24,7 @@ const DEFAULT_PROMPT_NAME: &str = "default"; #[command( name = "smartcat (sc)", author = "Emilien Fugier", - version = "1.7.1", + version = "1.7.2", about = "Putting a brain behind `cat`. CLI interface to bring language models in the Unix ecosystem 🐈‍⬛", long_about = None, after_help = "Examples: