{"id":16800203,"url":"https://github.com/abiosoft/runcmd","last_synced_at":"2025-07-29T12:38:29.877Z","repository":{"id":57604613,"uuid":"51230817","full_name":"abiosoft/runcmd","owner":"abiosoft","description":"Wrapper for cli apps. Write less commands.","archived":false,"fork":false,"pushed_at":"2016-02-08T08:08:59.000Z","size":7,"stargazers_count":43,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T06:51:35.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/abiosoft.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}},"created_at":"2016-02-07T01:34:10.000Z","updated_at":"2018-09-24T23:48:31.000Z","dependencies_parsed_at":"2022-09-04T14:01:11.647Z","dependency_job_id":null,"html_url":"https://github.com/abiosoft/runcmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fruncmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fruncmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fruncmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fruncmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abiosoft","download_url":"https://codeload.github.com/abiosoft/runcmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244897827,"owners_count":20528296,"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-10-13T09:31:30.364Z","updated_at":"2025-03-22T02:31:00.506Z","avatar_url":"https://github.com/abiosoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# runcmd\nWrapper for cli apps.\n\nWrite less commands for your frequent apps. Simple but useful.\n\n### Install\n```shell\n$ go get github.com/abiosoft/runcmd\n```\n\n### Usage\nThis wraps `docker`, no need to type `docker`, just the commands.\n```shell\n$ runcmd docker\ndocker\u003e -v\nDocker version 1.10.0, build 590d5108\ndocker\u003e run -it alpine sh\n#/ |\n```\n\nThis wraps `go`.\n```shell\n$ runcmd go\ngo\u003e build -o outfile\ngo\u003e test\n...\n```\nYou can include args or subcommands.\n```shell\n$ runcmd docker -H 127.0.0.1:8333 run\ndocker -H 127.0.0.1:8333 run\u003e -it alpine sh\n#/ |\n```\n\nMultiline\n```shell\n$ runcmd echo\necho\u003e Hi \\\n... there\nHi\nthere\necho\u003e \u003c\u003c EOF\n... Hi\n... there\n... EOF\nHi\nthere\n```\n\nCustom Environment Variables\n```shell\nruncmd go\ngo\u003e .env GOOS linux\ngo\u003e build\n```\n\nInbuilt commands starts with `.` to avoid collision with the wrapped cli app.\n```\n.env    list/add environment variable\n.switch switch to another command\n.clear  clear screen\n.help   show this help\n```\n### Demo\n\u003ca href=\"https://asciinema.org/a/35746\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/35746.png\" width=\"600\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiosoft%2Fruncmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabiosoft%2Fruncmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiosoft%2Fruncmd/lists"}