pub fn resolve_charon_path(
cli_charon_path: &Option<PathBuf>,
) -> Result<PathBuf, Box<dyn Error>>Expand description
Resolves the path to the Charon Binary.
- If the user has provided a path via the CLI, use that.
- Otherwise, use the path speficied in the environment variable
CHARON_PATH. - If neither of the above are provided, use the path specified in the
config.tomlfile. - If none of the above are provided, use the default path,
./charon