{"id":70596,"library":"command-macros","title":"Command Macros","description":"Macros for creating std::process::Command with shell-like syntax.","status":"active","version":"0.2.9","language":"rust","source_language":null,"source_url":"https://github.com/krdln/command-macros","tags":["macros","command","shell","process"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncommand-macros = \"0.2.9\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add command-macros","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"cmd","correct":"use command_macros::cmd;"}],"quickstart":{"code":"use command_macros::cmd;\n\nfn main() {\n    let output = cmd!(\"echo hello\").output().unwrap();\n    println!(\"{}\", String::from_utf8_lossy(&output.stdout));\n}","lang":"rust","description":"Run a shell command using the cmd! macro"},"warnings":[],"env_vars":null,"search_vec":"'command':1,8,15 'creat':5 'like':12 'macro':2,3,14 'process':7,17 'shell':11,16 'shell-lik':10 'std':6 'syntax':13","created_at":"2026-06-17T18:16:43.679088+00:00","updated_at":"2026-06-17T18:16:43.679088+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/krdln/command-macros","github":"https://github.com/krdln/command-macros","docs":"https://docs.rs/command-macros/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"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}}