pub fn run<I, T>(args: I) -> Result<()>Expand description
Main entry point of the application
This function is the main entry point of the application. It parses the command line arguments, reads the configuration file, and then executes the appropriate subcommand.
§Arguments
args- The command line arguments to parse.
§Returns
Returns a Result with the result of the subcommand.
§Errors
CliError- If the command line arguments are invalid.IoError- If the configuration file is not found or cannot be read.SubcommandError- If the subcommand fails to execute.