()
| 21 | ); |
| 22 | |
| 23 | pub fn version() -> String { |
| 24 | let author = clap::crate_authors!(); |
| 25 | |
| 26 | // let current_exe_path = PathBuf::from(clap::crate_name!()).display().to_string(); |
| 27 | let data_dir_path = get_data_dir().display().to_string(); |
| 28 | |
| 29 | format!( |
| 30 | "\ |
| 31 | {VERSION_MESSAGE} |
| 32 | |
| 33 | Authors: {author} |
| 34 | |
| 35 | Data directory: {data_dir_path}" |
| 36 | ) |
| 37 | } |
nothing calls this directly
no test coverage detected