{"id":71955,"library":"clap2","title":"Clap2","description":"A simple to use, efficient, and full-featured Command Line Argument Parser.","status":"active","version":null,"language":"rust","source_language":null,"source_url":"https://github.com/clap-rs/clap","tags":["cli","arguments","parser","command-line"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nclap2 = \"latest\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add clap2","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"App","correct":"use clap2::App;"}],"quickstart":{"code":"use clap2::App;\n\nfn main() {\n    let matches = App::new(\"myapp\")\n        .version(\"1.0\")\n        .get_matches();\n    println!(\"App configured\");\n}","lang":"rust","description":"Creates a basic command-line argument parser."},"warnings":[{"fix":"Use clap crate (version 3 or later) for new projects","message":"Deprecated in favor of clap v3+","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'argument':13,16 'clap2':1 'cli':15 'command':11,19 'command-lin':18 'effici':6 'featur':10 'full':9 'full-featur':8 'line':12,20 'parser':14,17 'simpl':3 'use':5","created_at":"2026-06-17T18:33:20.190522+00:00","updated_at":"2026-06-17T18:33:20.190522+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/clap2/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cli","utility"],"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}}