{"id":26547087,"url":"https://github.com/anyone-developer/gc","last_synced_at":"2026-05-18T01:05:52.253Z","repository":{"id":195984811,"uuid":"694068826","full_name":"anyone-developer/gc","owner":"anyone-developer","description":"Orchestrate good commands with your desired way. It's a CLI for aggregate and execute commands with command line way. \"gc\" means \"Good Command\".","archived":false,"fork":false,"pushed_at":"2023-10-25T01:44:17.000Z","size":492,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T05:29:06.697Z","etag":null,"topics":["gc","rust","tool"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anyone-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-20T09:12:29.000Z","updated_at":"2023-09-20T10:41:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1a5ae28-09b7-4623-a124-d467aaeba7d9","html_url":"https://github.com/anyone-developer/gc","commit_stats":null,"previous_names":["anyone-developer/gc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anyone-developer/gc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyone-developer%2Fgc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyone-developer%2Fgc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyone-developer%2Fgc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyone-developer%2Fgc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyone-developer","download_url":"https://codeload.github.com/anyone-developer/gc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyone-developer%2Fgc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33161411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gc","rust","tool"],"created_at":"2025-03-22T05:29:11.323Z","updated_at":"2026-05-18T01:05:52.237Z","avatar_url":"https://github.com/anyone-developer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gc (Good Commands)\n\nOrchestrate good commands with your desired way. It's a CLI for aggregate and execute commands with command line way. \"gc\" means \"Good Command\". **(Maybe Garbage Command. LOL)**\n\n## Usage scenario\n\n### 1. Get changed files from git repo.\n\nIn some companies, when you create a PR for code review. Sometimes you need generate the changed files from your branch. And you need paste those stuff in the PR description. you can borrow \"gc\" to simplify these work.\n\n### 2. Shorten long commands into concise commands\n\nYou can customize and aggregate long commands into small commands. all of stuff can be configurable.\n\n## Configuration\n\nWhen gc initialized, it will automatically create .gc_config file under the home path. for MacOS user, you can find from ~/.gc_config. Configuration stores with json format. can be changed manually.\n\n```json\n{\n  \"app\": \"App\",\n  \"version\": \"Version\",\n  \"source\": \"https://github.com/Anyone-Developers/gc\",\n  \"commands\": {\n    \"git-cached-changes\": {\n      \"type\": \"String\",\n      \"name\": \"git-cached-changes\",\n      \"detail\": \"git diff --name-only --cached #0\",\n      \"prefix\": \" [x] \",\n      \"suffix\": null\n    },\n    \"git-changes-branches\": {\n      \"type\": \"String\",\n      \"name\": \"git-changes-branches\",\n      \"detail\": \"git diff --name-only #0 #1\",\n      \"prefix\": \" [x] \",\n      \"suffix\": \"🚀\"\n    },\n    \"git-test\": {\n      \"type\": \"String\",\n      \"name\": \"git-test\",\n      \"detail\": \"git diff agsfd\",\n      \"prefix\": null,\n      \"suffix\": null\n    },\n    \"git-changes\": {\n      \"type\": \"String\",\n      \"name\": \"git-changes\",\n      \"detail\": \"git diff --name-only\",\n      \"prefix\": \" [x] \",\n      \"suffix\": \"🚀\"\n    }\n  }\n}\n```\n\n## Inline commands\n\n### add\n\nfor adding aggregated command for gc. command detail support # sign variables. It's start with 0.\n\nfor example:\n\n```shell\ngc add git-changes-branches \"git diff --name-only #0 #1\" --prefix=\" [x] \" --suffix=\"🚀\"\n```\n\n### delete\n\nfor deleting aggregated command for gc.\n\nfor example:\n\n```shell\ngc delete git-changes-branches\n```\n\n### run\n\nfor executing aggregated command from gc.\n\nfor example\n\n```shell\ngc run git-changes-branches \"develop,main\"\n```\n\n\u003cimg src=\"./misc/run.png\" /\u003e\n\n### list\n\nfor listing all of commands from gc. and display them with a table.\n\nfor example:\n\n\u003cimg src=\"./misc/list.png\" /\u003e\n\n### help\n\ndisplay help information.\n\n\u003cimg src=\"./misc/help.png\" /\u003e\n\n## Planning Feature\n\n- [ ] Support System Variables. eg. It can be setup with ${JAVA_HOME}\n- [ ] Support more command types. like setup shell script. Currently, only support \"String\".\n- [ ] Auto update CLI with inline command.\n- [ ] Auto install and uninstall shell script. like nvm.\n- [ ] And many unlisted features. Mail me your idea: zhang_nan_163@163.com.\n\n## Donation\n\nCurrently, I am laid off. I need suitable job to raise my life. If you have interests to my skill, Please contact me. [zhang_nan_163@163.com](mailto:zhang_nan_163@163.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyone-developer%2Fgc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyone-developer%2Fgc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyone-developer%2Fgc/lists"}