{"id":24367093,"url":"https://github.com/webermarci/cute","last_synced_at":"2026-04-19T20:32:30.957Z","repository":{"id":38205465,"uuid":"500742200","full_name":"webermarci/cute","owner":"webermarci","description":"It executes commands and prints the results in json","archived":false,"fork":false,"pushed_at":"2026-04-14T14:01:19.000Z","size":14,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-14T16:05:23.815Z","etag":null,"topics":["command-line-tool","json","terminal-commands","unix-command"],"latest_commit_sha":null,"homepage":"","language":"Go","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/webermarci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-06-07T07:52:00.000Z","updated_at":"2024-09-02T07:31:42.000Z","dependencies_parsed_at":"2026-04-14T16:02:35.707Z","dependency_job_id":null,"html_url":"https://github.com/webermarci/cute","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webermarci/cute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fcute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fcute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fcute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fcute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webermarci","download_url":"https://codeload.github.com/webermarci/cute/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fcute/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32022041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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"}},"keywords":["command-line-tool","json","terminal-commands","unix-command"],"created_at":"2025-01-19T01:13:32.107Z","updated_at":"2026-04-19T20:32:30.932Z","avatar_url":"https://github.com/webermarci.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (exe)Cute\nIt's a simple terminal command runner tool that prints the results in json format.\n\n## Usage\n\nThe commands file should contain lines of commands like so:\n```\necho 1\necho 2\necho 3\n```\n\n### Basic\n```bash\ncute -f commands.txt\n```\n\n```json\n{\"command\":\"echo 1\",\"output\":\"1\",\"duration\":2423291}\n{\"command\":\"echo 2\",\"output\":\"2\",\"duration\":2118583}\n{\"command\":\"echo 3\",\"output\":\"3\",\"duration\":2256458}\n```\n\n### Verbose\n\n```bash\ncute -v -f commands.txt\n```\n\n```\n2022/09/06 14:44:02 echo 3 returned 3 in 2.256458ms\n2022/09/06 14:44:02 echo 2 returned 2 in 2.118583ms\n2022/09/06 14:44:02 echo 1 returned 1 in 2.423291ms\n2022/09/06 14:44:02 All finished in 2.463834ms\n```\n```json\n{\"command\":\"echo 1\",\"output\":\"1\",\"duration\":2423291}\n{\"command\":\"echo 2\",\"output\":\"2\",\"duration\":2118583}\n{\"command\":\"echo 3\",\"output\":\"3\",\"duration\":2256458}\n```\n\n### Sync\nYou can limit the number of workers to 1, so it would run the commands one by one.\n\n```bash\ncute -v -n 1 -f commands.txt\n```\n\n```\n2022/09/06 14:44:54 echo 1 returned 1 in 1.858042ms\n2022/09/06 14:44:54 echo 2 returned 2 in 1.833958ms\n2022/09/06 14:44:54 echo 3 returned 3 in 1.95675ms\n2022/09/06 14:44:54 All finished in 5.78725ms\n```\n```json\n{\"command\":\"echo 1\",\"output\":\"1\",\"duration\":1858042}\n{\"command\":\"echo 2\",\"output\":\"2\",\"duration\":1833958}\n{\"command\":\"echo 3\",\"output\":\"3\",\"duration\":1956750}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebermarci%2Fcute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebermarci%2Fcute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebermarci%2Fcute/lists"}