pub fn run_app(version: Version) -> Result<(), ExitCode>
Expand description

The executable main entry.

It returns Ok when the process exist normally, otherwise the ExitCode is converted to the process exit status code.

Parameters

  • version - The version is passed in so the bin crate can collect the version without trigger re-linking.