{"id":10733645,"name":"github.com/jaredallard/cmdexec","ecosystem":"go","description":"Package cmdexec provides a way to execute commands using the exec\npackage while supporting mocking for testing purposes. The default\nbehaviour of the package is to simply wrap exec.Command and it's\ncontext accepting counterpart, exec.CommandContext. However, when\nrunning in tests, the package can be configured to use a mock\nexecutor that allows for controlling the output and behaviour of the\ncommands executed for testing purposes.","homepage":"https://github.com/jaredallard/cmdexec","licenses":"LGPL-3.0","normalized_licenses":["LGPL-3.0"],"repository_url":"https://github.com/jaredallard/cmdexec","keywords_array":[],"namespace":"github.com/jaredallard","versions_count":9,"first_release_published_at":"2024-07-24T02:33:28.000Z","latest_release_published_at":"2026-03-06T01:00:06.000Z","latest_release_number":"v1.4.1","last_synced_at":"2026-06-09T18:31:17.953Z","created_at":"2024-07-21T08:51:25.438Z","updated_at":"2026-06-09T18:31:17.953Z","registry_url":"https://pkg.go.dev/github.com/jaredallard/cmdexec","install_command":"go get github.com/jaredallard/cmdexec","documentation_url":"https://pkg.go.dev/github.com/jaredallard/cmdexec#section-documentation","metadata":{},"repo_metadata":{"id":249459216,"uuid":"831575925","full_name":"jaredallard/cmdexec","owner":"jaredallard","description":"Go library for mocking exec.Command and exec.CommandContext calls.","archived":false,"fork":false,"pushed_at":"2025-09-26T17:43:18.000Z","size":105,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T19:26:20.968Z","etag":null,"topics":["exec","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaredallard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-21T01:19:54.000Z","updated_at":"2025-09-26T17:43:20.000Z","dependencies_parsed_at":"2025-01-01T23:18:30.882Z","dependency_job_id":"3f966180-b771-4e17-bc99-4f8aa36e18a4","html_url":"https://github.com/jaredallard/cmdexec","commit_stats":{"total_commits":32,"total_committers":2,"mean_commits":16.0,"dds":0.46875,"last_synced_commit":"bf515eed46d1787537220eaad96c5c7bc32fc751"},"previous_names":["jaredallard/cmdexec"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jaredallard/cmdexec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredallard","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277213139,"owners_count":25780315,"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","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"jaredallard","name":"Jared Allard","uuid":"2391349","kind":"user","description":"i use gentoo btw","email":"","website":"https://jaredallard.dev","location":"Seattle, WA","twitter":null,"company":"@gathertown","icon_url":"https://avatars.githubusercontent.com/u/2391349?u=9f5e07c07ffe4aeb52bce85182909b0a036046ac\u0026v=4","repositories_count":93,"last_synced_at":"2025-09-15T20:38:11.869Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/jaredallard","funding_links":["https://github.com/sponsors/jaredallard"],"total_stars":335,"followers":179,"following":45,"created_at":"2022-11-04T13:54:43.298Z","updated_at":"2025-09-15T20:38:11.869Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredallard","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredallard/repositories"},"tags":[{"name":"v1.3.0","sha":"803ee8e064b7951d5a241a68df9d2703c27cc33e","kind":"commit","published_at":"2025-05-16T05:35:43.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.3.0","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.3.0/manifests"},{"name":"v1.2.2","sha":"482b7ee7fc1ae4ebd2332a7657cddd71a60f8dcf","kind":"commit","published_at":"2025-03-05T04:02:51.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.2.2","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.2.2/manifests"},{"name":"v1.2.1","sha":"6bdf5e7dda3a36c4f23ad8e2b9a3d07921237d0f","kind":"commit","published_at":"2024-08-01T17:28:02.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.2.1","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"08c7aa8b09bf091ea06447232586949e8caf7b2f","kind":"commit","published_at":"2024-07-30T15:57:59.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.2.0","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.2.0/manifests"},{"name":"v1.1.1","sha":"17a7c2943d2e8ec665df970d80267f3257197a11","kind":"commit","published_at":"2024-07-30T15:45:07.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.1.1","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.1.1/manifests"},{"name":"v1.1.0","sha":"505f8d5b29ca2a08e76bc5ef83a32a170af5159c","kind":"tag","published_at":"2024-07-30T04:36:30.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.1.0","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"b1e84a94399633a7e3c051d63a847444029189da","kind":"commit","published_at":"2024-07-24T02:33:28.000Z","download_url":"https://codeload.github.com/jaredallard/cmdexec/tar.gz/v1.0.0","html_url":"https://github.com/jaredallard/cmdexec/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jaredallard/cmdexec@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-09-27T09:53:10.974Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":6.756485157166754,"dependent_packages_count":6.329301175941877,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":6.5428931665543155},"purl":"pkg:golang/github.com/jaredallard/cmdexec","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/jaredallard/cmdexec","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/jaredallard/cmdexec","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/jaredallard/cmdexec/dependencies","status":null,"funding_links":["https://github.com/sponsors/jaredallard"],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-27T08:26:08.330Z","issues_count":1,"pull_requests_count":60,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":548325.6326530612,"issues_closed_count":0,"pull_requests_closed_count":49,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.75,"merged_pull_requests_count":48,"bot_issues_count":1,"bot_pull_requests_count":60,"past_year_issues_count":1,"past_year_pull_requests_count":60,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":548325.6326530612,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":49,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.75,"past_year_bot_issues_count":1,"past_year_bot_pull_requests_count":60,"past_year_merged_pull_requests_count":48,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredallard%2Fcmdexec/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjaredallard%2Fcmdexec/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjaredallard%2Fcmdexec/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjaredallard%2Fcmdexec/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjaredallard%2Fcmdexec/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjaredallard%2Fcmdexec/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjaredallard%2Fcmdexec/codemeta","maintainers":[]}