pub fn create_cli_command() -> CommandExpand description
Create a clap Command for shell completion generation.
This function provides a convenient way to get the complete command structure
for generating shell completions. It uses the shared CliCommand struct to
ensure consistency with the actual CLI.
§Returns
A clap Command instance configured with all subcommands and arguments.
§Examples
use hedl_cli::create_cli_command;
use clap_complete::{generate, shells::Bash};
use std::io;
let mut cmd = create_cli_command();
generate(Bash, &mut cmd, "hedl", &mut io::stdout());