{"id":15345444,"url":"https://github.com/jthomas/copyenv","last_synced_at":"2025-08-18T17:13:27.254Z","repository":{"id":30451053,"uuid":"34004669","full_name":"jthomas/copyenv","owner":"jthomas","description":"CF CLI Plugin for copying application variables into local environment","archived":false,"fork":false,"pushed_at":"2018-06-06T21:52:57.000Z","size":40912,"stargazers_count":15,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T23:38:23.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jthomas.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":"2015-04-15T16:10:04.000Z","updated_at":"2021-09-03T09:55:19.000Z","dependencies_parsed_at":"2022-09-08T08:50:50.762Z","dependency_job_id":null,"html_url":"https://github.com/jthomas/copyenv","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jthomas/copyenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcopyenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcopyenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcopyenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcopyenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthomas","download_url":"https://codeload.github.com/jthomas/copyenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fcopyenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271027687,"owners_count":24687082,"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-08-18T02:00:08.743Z","response_time":89,"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":[],"created_at":"2024-10-01T11:13:25.049Z","updated_at":"2025-08-18T17:13:27.225Z","avatar_url":"https://github.com/jthomas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Foundry CLI Copy Env Plugin\n\n[![Build Status](https://travis-ci.org/vaughnh/copyenv.svg?branch=master)](https://travis-ci.org/vaughnh/copyenv)\n\nCloud Foundry CLI plugin to export application VCAP_SERVICES and VCAP_APPLICATION onto the local machine.\n\nApplications running on Cloud Foundry rely on the VCAP_SERVICES environment variable to provide service credentials. Application specific configuration environment is provided in VCAP_APPLICATION.\n\nWhen running applications locally for development and testing, it's useful to have the same VCAP_SERVICES values available in the local environment to simulate running on the host platform.\n\nThis plugin will export the remote application environment variables, available using cf env, into a format that makes it simple to expose those same values locally. This plugin will only export VCAP_SERVICES by default. To include VCAP_APPLICATION as well use the --all option.\n\n## Install\n\n```\n$ go get github.com/jthomas/copyenv\n$ cf install-plugin $GOPATH/bin/copyenv\n```\nor\n```\n$ make install-plugin\n```\n\n## Usage\n\n```\n$ cf copyenv APP_NAME\n\nexport VCAP_SERVICES='...'\n```\n\nThe plugin output needs to be evaluated in your shell to set up the\nlocal environment variables.\n\nUsing eval: \n```\n$ eval `cf copyenv APP_NAME` \n```\n\nUsing a temporary file:\n```\n$ cf copyenv APP_NAME \u003e temp.json\n$ source temp.json\n```\n\nYou can obtain additional information with flags.\n```\n$ cf copyenv APP_NAME -all\n\nexport VCAP_SERVICES='...'\nexport VCAP_APPLICATION='...'\n```\n\n\n## Uninstall\n\n```\n$ cf uninstall-plugin copyenv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fcopyenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthomas%2Fcopyenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fcopyenv/lists"}