{"id":15993023,"url":"https://github.com/zicklag/drone-script-dumper","last_synced_at":"2025-08-20T06:42:09.823Z","repository":{"id":92791897,"uuid":"194710329","full_name":"zicklag/drone-script-dumper","owner":"zicklag","description":"Tiny utility to dump out the scripts from a .drone.yml so that you can paste them into a terminal.","archived":false,"fork":false,"pushed_at":"2019-07-01T16:54:12.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-23T21:39:21.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zicklag.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-01T16:46:28.000Z","updated_at":"2021-08-28T09:08:38.000Z","dependencies_parsed_at":"2023-03-20T02:03:57.196Z","dependency_job_id":null,"html_url":"https://github.com/zicklag/drone-script-dumper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zicklag/drone-script-dumper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Fdrone-script-dumper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Fdrone-script-dumper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Fdrone-script-dumper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Fdrone-script-dumper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zicklag","download_url":"https://codeload.github.com/zicklag/drone-script-dumper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zicklag%2Fdrone-script-dumper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271279512,"owners_count":24731901,"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-20T02:00:09.606Z","response_time":69,"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-08T06:42:30.581Z","updated_at":"2025-08-20T06:42:09.766Z","avatar_url":"https://github.com/zicklag.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drone Script Dumper\n\nThis is just a super tiny script that will dump all of the data from the `commands` portions of a `.drone.yml` file so that you can paste them into a terminal without having to remove all of the YAML formatting manually. The script has no configuration and will just read the .drone.yml file in the current directory.\n\n## Usage\n\nIn a directory with a `.drone.yml` file ( in this case the [Drone](https://github.com/drone/drone) repo ):\n\n```\n$ drone-script-dumper\nPipeline: linux-amd64\n============\nStep: test\n--------\ngo test -v ./...\n\nStep: build\n--------\ngo build -ldflags \"-extldflags \\\\\"-static\\\\\"\" -o release/linux/amd64/drone-server github.com/drone/drone/cmd/drone-server\nCGO_ENABLED=0 go build -o release/linux/amd64/drone-agent github.com/drone/drone/cmd/drone-agent\nCGO_ENABLED=0 go build -o release/linux/amd64/drone-controller github.com/drone/drone/cmd/drone-controller\n\nStep: publish_agent\n--------\n\nStep: publish_controller\n--------\n\nStep: publish_server\n--------\n\nPipeline: linux-arm\n============\nStep: test\n--------\ngo test -v ./...\n\nStep: build\n--------\ngo build -ldflags \"-extldflags \\\\\"-static\\\\\"\" -o release/linux/arm/drone-server github.com/drone/drone/cmd/drone-server\nCGO_ENABLED=0 go build -o release/linux/arm/drone-agent github.com/drone/drone/cmd/drone-agent\nCGO_ENABLED=0 go build -o release/linux/arm/drone-controller github.com/drone/drone/cmd/drone-controller\n\nStep: publish_agent\n--------\n\nStep: publish_controller\n--------\n\nStep: publish_server\n--------\n\nPipeline: linux-arm64\n============\nStep: test\n--------\ngo test -v ./...\n\nStep: build\n--------\ngo build -ldflags \"-extldflags \\\\\"-static\\\\\"\" -o release/linux/arm64/drone-server github.com/drone/drone/cmd/drone-server\nCGO_ENABLED=0 go build -o release/linux/arm64/drone-agent github.com/drone/drone/cmd/drone-agent\nCGO_ENABLED=0 go build -o release/linux/arm64/drone-controller github.com/drone/drone/cmd/drone-controller\n\nStep: publish_agent\n--------\n\nStep: publish_controller\n--------\n\nStep: publish_server\n--------\n\nPipeline: manifest\n============\nStep: server\n--------\n\nStep: controller\n--------\n\nStep: agent\n--------\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzicklag%2Fdrone-script-dumper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzicklag%2Fdrone-script-dumper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzicklag%2Fdrone-script-dumper/lists"}