run_cli

Function run_cli 

Source
pub fn run_cli() -> Result<()>
Expand description

Main entry point for CLI usage.

This function initializes the CLI application and processes command-line arguments using the standard argument parsing. It’s the primary entry point when using this library as a CLI tool.

§Returns

Returns Ok(()) on successful execution, or an anyhow::Error if any step in the process fails.

§Example

use python_proto_importer::run_cli;

fn main() -> anyhow::Result<()> {
    run_cli()
}