{"id":64081,"library":"clap-builder","title":"Clap Builder","description":"A simple to use, efficient, and full-featured Command Line Argument Parser","status":"active","version":"4.6.0","language":"rust","source_language":null,"source_url":"https://github.com/clap-rs/clap","tags":["cli","argument-parser","command-line"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nclap_builder = \"4.6.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add clap_builder","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Command","correct":"use clap_builder::Command;"}],"quickstart":{"code":"use clap_builder::Command;\n\nfn main() {\n    let cmd = Command::new(\"myapp\")\n        .arg(\"--name <NAME>\")\n        .get_matches();\n    println!(\"Name: {:?}\", cmd.get_one::<String>(\"name\"));\n}","lang":"rust","description":"Defines a CLI with a --name argument and parses matches."},"warnings":[{"fix":"Use clap = { version = \"4\", features = [\"derive\"] } for derive macros","message":"Breaking changes in v4: derive API moved to clap-derive","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'argument':14,18 'argument-pars':17 'builder':2 'clap':1 'cli':16 'command':12,21 'command-lin':20 'effici':7 'featur':11 'full':10 'full-featur':9 'line':13,22 'parser':15,19 'simpl':4 'use':6","created_at":"2026-06-17T16:51:46.446671+00:00","updated_at":"2026-06-17T16:51:46.446671+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/clap-rs/clap","github":"https://github.com/clap-rs/clap","docs":"https://docs.rs/clap_builder/","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-17","next_check":"2026-12-14","install_tag":null}}