{"id":13636221,"url":"https://github.com/pwoolcoc/cargo-do","last_synced_at":"2025-04-19T04:32:21.318Z","repository":{"id":23564526,"uuid":"26932168","full_name":"pwoolcoc/cargo-do","owner":"pwoolcoc","description":"allows you to run multiple cargo commands in a row","archived":false,"fork":false,"pushed_at":"2017-07-14T13:13:35.000Z","size":18,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T02:17:16.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwoolcoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-20T21:13:10.000Z","updated_at":"2024-04-22T21:01:16.000Z","dependencies_parsed_at":"2022-08-22T01:50:34.735Z","dependency_job_id":null,"html_url":"https://github.com/pwoolcoc/cargo-do","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwoolcoc%2Fcargo-do","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwoolcoc%2Fcargo-do/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwoolcoc%2Fcargo-do/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwoolcoc%2Fcargo-do/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwoolcoc","download_url":"https://codeload.github.com/pwoolcoc/cargo-do/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249606495,"owners_count":21298851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T00:00:58.695Z","updated_at":"2025-04-19T04:32:21.067Z","avatar_url":"https://github.com/pwoolcoc.png","language":"Rust","readme":"# Cargo Do\n\n[![Build Status](https://travis-ci.org/pwoolcoc/cargo-do.svg?branch=master)](https://travis-ci.org/pwoolcoc/cargo-do)\n\nAllows you to put multiple cargo commands on one line, e.g.\n\n```\n$ cargo do clean, update, build\n```\n\n## Installation\n\n```\ncargo install cargo-do\n```\n\n### From Source\n\nBuild the `cargo-do` binary and put it in the same\ndirectory as `cargo`. So, if you are on a *nix system, you could do the following:\n\n```\n$ git clone https://github.com/pwoolcoc/cargo-do\n$ cd cargo-do\n$ cargo build\n$ cp target/cargo-do $(dirname $(which cargo))/\n```\n\nVerify that it is correctly installed by checking that `do` is in the command list:\n\n```\n$ cargo --list | egrep \"do$\"\n    do\n```\n\n## Using commas in your commands\n\nSince `cargo-do` uses commas to delimit commands, you have to be careful when\ntrying to run a command with a comma in it.\n\nFor example, this command will not run properly:\n\n```\n$ cargo do update, build, bench --bench \"why are there commas, here\"\n```\n\nIt will be treated as if you did this:\n\n```\n$ cargo update\n$ cargo build\n$ cargo bench --bench \"why are there commas\n$ cargo here\"\n```\n\nWhich is obviously not what you want.\n\nBecause of the magic of shell escaping, you have a couple choices on how to get around this:\n\n```\n$ cargo do bench --bench \"why are there commas\\, here\"\n```\n\nor\n\n```\n$ cargo do bench --bench why are there commas \\\\, here\n```\n\nHowever you want to do it, `cargo-do` will not delimit commands on an escaped comma.\n","funding_links":[],"categories":["Development tools"],"sub_categories":["Build system"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwoolcoc%2Fcargo-do","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwoolcoc%2Fcargo-do","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwoolcoc%2Fcargo-do/lists"}