{"id":21058251,"url":"https://github.com/95jonpet/cmdrec","last_synced_at":"2026-05-20T14:33:11.275Z","repository":{"id":104313767,"uuid":"532242377","full_name":"95jonpet/cmdrec","owner":"95jonpet","description":"Record and retrieve command results.","archived":false,"fork":false,"pushed_at":"2022-09-03T21:53:46.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T00:31:44.207Z","etag":null,"topics":["cli","command-line-tool","rust-lang","shell"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/95jonpet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-09-03T11:39:10.000Z","updated_at":"2023-02-16T03:48:21.000Z","dependencies_parsed_at":"2023-05-31T04:11:24.488Z","dependency_job_id":null,"html_url":"https://github.com/95jonpet/cmdrec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/95jonpet/cmdrec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/95jonpet%2Fcmdrec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/95jonpet%2Fcmdrec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/95jonpet%2Fcmdrec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/95jonpet%2Fcmdrec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/95jonpet","download_url":"https://codeload.github.com/95jonpet/cmdrec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/95jonpet%2Fcmdrec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260326544,"owners_count":22992371,"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":["cli","command-line-tool","rust-lang","shell"],"created_at":"2024-11-19T17:07:15.266Z","updated_at":"2026-05-20T14:33:11.233Z","avatar_url":"https://github.com/95jonpet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/95jonpet/cmdrec\"\u003e\n    \u003cimg src=\"doc/logo.svg\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n\u003ch3 align=\"center\"\u003ecmdrec\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Record and retrieve command results.\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/95jonpet/cmdrec\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/95jonpet/cmdrec\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/95jonpet/cmdrec/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/95jonpet/cmdrec/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n## About The Project\n\n`cmdrec` is a command line tool for recording, and later reusing, command results.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Built With\n\n- [![Rust][rust-shield]][rust-url]\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Getting Started\n\n`cmdrec` can be installed locally using [cargo](https://doc.rust-lang.org/stable/cargo).\n\n1. Clone the repo.\n\n    ```bash\n    git clone https://github.com/95jonpet/cmdrec.git\n    ```\n\n2. Compile and run the code.\n\n    ```bash\n    cargo install --path .\n    ```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Usage\n\nThe following example illustrates typical usage of `cmdrec`:\n\n```bash\n# Record test results.\nrecord=\"$(cmdrec record -- cargo test)\"\n\n# Print errors if the `cargo test` command fails.\nif [[ \"$(cmdrec status \"${record}\")\" -ne 0 ]]; then\n  echo \"ERROR: Tests failed!\" \u003e\u00262\n  cmdrec stderr \"${record}\"\n  exit 1\nfi\n\n# Append the test output to a file.\ncmdrec stdout \"${record}\" \u003e\u003e full-output.log\n```\n\nFor a complete list of options, refer to the built-in help:\n\n```bash\ncmdrec --help\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project.\n2. Create your Feature Branch (`git checkout -b feature/amazing-feature`).\n3. Commit your Changes (`git commit -m 'Add amazing feature'`).\n4. Push to the Branch (`git push origin feature/amazing-feature`).\n5. Open a Pull Request.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n[contributors-shield]: https://img.shields.io/github/contributors/95jonpet/cmdrec.svg?style=for-the-badge\n[contributors-url]: https://github.com/95jonpet/cmdrec/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/95jonpet/cmdrec.svg?style=for-the-badge\n[forks-url]: https://github.com/95jonpet/cmdrec/network/members\n[stars-shield]: https://img.shields.io/github/stars/95jonpet/cmdrec.svg?style=for-the-badge\n[stars-url]: https://github.com/95jonpet/cmdrec/stargazers\n[issues-shield]: https://img.shields.io/github/issues/95jonpet/cmdrec.svg?style=for-the-badge\n[issues-url]: https://github.com/95jonpet/cmdrec/issues\n[license-shield]: https://img.shields.io/github/license/95jonpet/cmdrec.svg?style=for-the-badge\n[license-url]: https://github.com/95jonpet/cmdrec/blob/main/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://linkedin.com/in/95jonpet\n[rust-shield]: https://img.shields.io/badge/Rust-000000?style=for-the-badge\u0026logo=Rust\u0026logoColor=white\n[rust-url]: https://www.rust-lang.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F95jonpet%2Fcmdrec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F95jonpet%2Fcmdrec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F95jonpet%2Fcmdrec/lists"}