{"id":60018,"library":"clap-complete-command","title":"Clap Complete Command","description":"Reduces boilerplate for adding a shell completion subcommand to Clap-based CLI applications.","status":"active","version":"0.6.1","language":"rust","source_language":null,"source_url":"https://github.com/nihaals/clap-complete-command","tags":["clap","completion","cli","shell"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nclap_complete_command = \"0.6.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add clap_complete_command","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"CompleteCommand","correct":"use clap_complete_command::CompleteCommand;"}],"quickstart":{"code":"use clap::Parser;\nuse clap_complete_command::CompleteCommand;\n\n#[derive(Parser)]\nstruct Cli {\n    #[command(subcommand)]\n    command: Option<CompleteCommand>,\n}\n\nfn main() {\n    let cli = Cli::parse();\n    if let Some(cmd) = cli.command {\n        cmd.handle::<Cli>();\n    }\n}","lang":"rust","description":"Add a completion subcommand to a Clap CLI using CompleteCommand."},"warnings":[],"env_vars":null,"search_vec":"'ad':7 'applic':17 'base':15 'boilerpl':5 'clap':1,14,18 'clap-bas':13 'cli':16,20 'command':3 'complet':2,10,19 'reduc':4 'shell':9,21 'subcommand':11","created_at":"2026-06-16T17:24:30.271924+00:00","updated_at":"2026-06-16T17:24:30.271924+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nihaals/clap-complete-command","github":"https://github.com/nihaals/clap-complete-command","docs":"https://docs.rs/clap_complete_command/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cli"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}