{"id":19251900,"url":"https://github.com/thrawn01/rewrite-args","last_synced_at":"2025-10-11T09:38:29.997Z","repository":{"id":64303950,"uuid":"135457484","full_name":"thrawn01/rewrite-args","owner":"thrawn01","description":"Small tool to rewrite arguments before calling an executable ","archived":false,"fork":false,"pushed_at":"2018-09-13T15:16:47.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T11:25:58.625Z","etag":null,"topics":["args","cli","hostname","regexp","ssh"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/thrawn01.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}},"created_at":"2018-05-30T14:49:04.000Z","updated_at":"2019-06-06T14:01:41.000Z","dependencies_parsed_at":"2023-01-15T10:00:53.923Z","dependency_job_id":null,"html_url":"https://github.com/thrawn01/rewrite-args","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thrawn01/rewrite-args","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Frewrite-args","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Frewrite-args/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Frewrite-args/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Frewrite-args/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thrawn01","download_url":"https://codeload.github.com/thrawn01/rewrite-args/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thrawn01%2Frewrite-args/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006748,"owners_count":26084181,"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-10-11T02:00:06.511Z","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":["args","cli","hostname","regexp","ssh"],"created_at":"2024-11-09T18:24:29.970Z","updated_at":"2025-10-11T09:38:29.959Z","avatar_url":"https://github.com/thrawn01.png","language":"Go","readme":"## Synopsis\n\n#### If the following is true\n```\nalias ssh='rewrite-args ssh -X'\n```\n\n#### and ~/.rewrite-args.conf contains\n```json\n{\n  \"debug\": false,\n  \"rewrites\": [\n    {\n      \"match\": \".use1\",\n      \"replace\": \".prod.us-east-1.postgun.com\"\n    }\n  ]\n}\n```\n\n#### Given the following command\n```\nssh worker-n01.use1\n```\n\n#### Will expand too\n```\n/usr/bin/ssh -X worker-n01.prod.us-east-1.postgun.com\n```\n\n## Installation\n\nDownload the latest binary [release](https://github.com/thrawn01/rewrite-args/releases)\n\n**OR**\n\n`go install github.com/thrawn01/rewrite-args`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthrawn01%2Frewrite-args","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthrawn01%2Frewrite-args","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthrawn01%2Frewrite-args/lists"}