build_cli

Function build_cli 

Source
pub fn build_cli() -> Command
Expand description

Build the CLI command structure

This function creates the complete clap command structure for IPFRS CLI. It’s used by both the main binary and utilities like man page generation.

§Returns

Returns a fully configured clap::Command with all subcommands and options.

§Examples

use ipfrs_cli::build_cli;

let cli = build_cli();
assert_eq!(cli.get_name(), "ipfrs");