Skip to main content

version_line

Function version_line 

Source
pub fn version_line() -> String
Expand description

What shellgame --version prints: shellgame 0.2.0 (build-123).

let line = shellgame::cli::version_line();
assert!(line.starts_with("shellgame "));
assert!(line.ends_with(')'));