hfile 0.5.2

Hfile is a command-line interface (CLI) tool for generating hash values of files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::cli::{actions::Action, commands, dispatch};
use anyhow::Result;

/// Main entry point for the CLI.
///
/// # Errors
///
/// Returns an error if argument parsing or dispatch fails.
pub fn start() -> Result<Action> {
    let matches = commands::new().get_matches();
    dispatch::handler(&matches)
}