{"id":13702439,"url":"https://github.com/mislav/gh-cp","last_synced_at":"2025-07-26T04:06:13.671Z","repository":{"id":66006327,"uuid":"425940116","full_name":"mislav/gh-cp","owner":"mislav","description":"GitHub CLI extension to copy a file from a GitHub repository locally without cloning the repository.","archived":false,"fork":false,"pushed_at":"2021-11-08T18:00:37.000Z","size":2,"stargazers_count":99,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-22T02:07:10.105Z","etag":null,"topics":["gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mislav.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}},"created_at":"2021-11-08T17:54:55.000Z","updated_at":"2025-06-07T13:36:03.000Z","dependencies_parsed_at":"2024-01-14T19:27:28.661Z","dependency_job_id":null,"html_url":"https://github.com/mislav/gh-cp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mislav/gh-cp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-cp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-cp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-cp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-cp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mislav","download_url":"https://codeload.github.com/mislav/gh-cp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mislav%2Fgh-cp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267116301,"owners_count":24038623,"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-07-26T02:00:08.937Z","response_time":62,"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":["gh-extension"],"created_at":"2024-08-02T21:00:35.840Z","updated_at":"2025-07-26T04:06:13.604Z","avatar_url":"https://github.com/mislav.png","language":"Shell","readme":"# gh cp\n\nA GitHub CLI extension to copy a file from a GitHub repository locally without cloning the repository.\n\n```sh\n$ gh extension install mislav/gh-cp\n\n$ gh cp\nUsage: gh cp \u003crepo\u003e \u003cpath\u003e \u003cdest\u003e\n\n$ gh cp cli/cli pkg/findsh/find_windows.go .\n\n$ head find_windows.go\npackage findsh\n\nimport (\n        \"os\"\n        \"path/filepath\"\n\n        \"github.com/cli/safeexec\"\n)\n\nfunc Find() (string, error) {\n```\n","funding_links":[],"categories":["🆕 Recently Updated","gh-extension","Github","Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislav%2Fgh-cp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmislav%2Fgh-cp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmislav%2Fgh-cp/lists"}