{"id":13437682,"url":"https://github.com/liuchong/cargo-x","last_synced_at":"2025-04-10T14:36:23.314Z","repository":{"id":57541034,"uuid":"162288446","full_name":"liuchong/cargo-x","owner":"liuchong","description":"A very simple third-party cargo subcommand to execute a custom command","archived":false,"fork":false,"pushed_at":"2024-07-08T10:06:46.000Z","size":31,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:11:08.735Z","etag":null,"topics":["cargo","party-cargo-subcommand","rust","rust-crate","rust-lang","rustlang"],"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/liuchong.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-18T12:56:50.000Z","updated_at":"2024-07-24T17:54:28.000Z","dependencies_parsed_at":"2025-02-17T12:42:04.801Z","dependency_job_id":null,"html_url":"https://github.com/liuchong/cargo-x","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fcargo-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fcargo-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fcargo-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fcargo-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuchong","download_url":"https://codeload.github.com/liuchong/cargo-x/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233954,"owners_count":21069493,"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":["cargo","party-cargo-subcommand","rust","rust-crate","rust-lang","rustlang"],"created_at":"2024-07-31T03:00:59.274Z","updated_at":"2025-04-10T14:36:23.296Z","avatar_url":"https://github.com/liuchong.png","language":"Rust","funding_links":[],"categories":["Development tools","开发工具","开发工具 Development tools"],"sub_categories":["Build system","构建系统","创建系统 Build system"],"readme":"cargo-x\n=======\n\n[![Build Status](https://github.com/liuchong/cargo-x/actions/workflows/rust.yml/badge.svg)](https://github.com/liuchong/cargo-x/actions/workflows/rust.yml)\n[![APACHE licensed](https://img.shields.io/badge/license-apache%202.0-blue.svg)](./LICENSE-APACHE)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT)\n[![crates.io](https://img.shields.io/crates/v/cargo-x.svg)](https://crates.io/crates/cargo-x)\n[![Released API docs](https://docs.rs/cargo-x/badge.svg)](https://docs.rs/cargo-x)\n\nA very simple third-party cargo subcommand to execute a custom command\n\n## Usage\n\n1. install cargo-x\n\n```\ncargo install cargo-x\n```\n\nor upgrade\n\n```\ncargo install -f cargo-x\n```\n\n2. write a config file `x.toml` in `\"name = detail\"` format like\n\n```\nls = \"ls -ltr\"\n```\n\nor same lines in file `~/.x.toml`,\n\nor in `[package.metadata.x]` section in `Cargo.toml` file.\n\n***note*** that `DO NOT` use key x like `x = \"any command\"`, `cargo-x x` will run into problem,\nbecause it does not know if it is using `cargo-x x` or `cargo x`.\n\n3. use cargo-x\n\n```\ncargo x ls\n# or\ncargo-x ls\n# or\nx ls\n```\n\n## License\n\nLicensed under either of these:\n\n * Apache License Version 2.0 [LICENSE-APACHE](LICENSE-APACHE)\n * MIT License [LICENSE-MIT](LICENSE-MIT)\n\n### Contributing\n\nPlease sign a cla, thanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuchong%2Fcargo-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuchong%2Fcargo-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuchong%2Fcargo-x/lists"}