{"id":22351862,"url":"https://github.com/screwdriver-cd/store-cli","last_synced_at":"2025-07-24T15:35:52.891Z","repository":{"id":36384531,"uuid":"149173235","full_name":"screwdriver-cd/store-cli","owner":"screwdriver-cd","description":"CLI for communicating with store","archived":false,"fork":false,"pushed_at":"2024-12-03T08:00:07.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":8,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-07-06T13:50:25.140Z","etag":null,"topics":["cli","golang"],"latest_commit_sha":null,"homepage":"https://cd.screwdriver.cd/pipelines/1654/events","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/screwdriver-cd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-17T18:55:49.000Z","updated_at":"2024-12-03T07:55:34.000Z","dependencies_parsed_at":"2024-06-20T17:29:15.801Z","dependency_job_id":"52cdf6af-9833-483f-b936-167909c9e619","html_url":"https://github.com/screwdriver-cd/store-cli","commit_stats":null,"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/screwdriver-cd/store-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/screwdriver-cd","download_url":"https://codeload.github.com/screwdriver-cd/store-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fstore-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266862632,"owners_count":23996867,"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-24T02:00:09.469Z","response_time":99,"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":["cli","golang"],"created_at":"2024-12-04T12:16:06.753Z","updated_at":"2025-07-24T15:35:52.862Z","avatar_url":"https://github.com/screwdriver-cd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# store-cli\n\nCLI for communicating with the Screwdriver store.\n\n```\n$ go run store-cli.go \nNAME:\n   store - get, set or remove items in the Screwdriver store\n\nUSAGE:\n   [options]\n\nVERSION:\n   0.0.0\n\nCOMMANDS:\n     get      Get a new item from the store\n     set      Put a new item to the store\n     remove   Remove an existing item from the store\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --scope value  Scope of command. For example: event, build, pipeline\n   --type value   Type of the command. For example: cache, artifacts, steps (default: \"stable\")\n   --timeout value   Specifies the timeout in seconds for commands. (default: 60(get) or 300(set,remove))\n   --help, -h     show help\n   --version, -v  print the version\n\nCOPYRIGHT:\n   (c) 2018 Yahoo Inc.\n```\n\n## Build cache\n\nTo use the `store-cli` tool for caching files and folders in your Screwdriver builds, you can specify `--type=cache` and the `scope` of your cache.\n\n| Scope  | Access |\n|---|---|\n| pipeline  | Cache accessible to all builds in the same pipeline  |\n| event  | Cache accessible to all builds in the same event  |\n| job  | Cache accessible to all builds for the same job  |\n\nFor example, if you want to cache the `node_modules` folder within the `event` scope, simply run `store-cli set node_modules/ --scope=event --type=cache` and `store-cli get node_modules/ --scope=event --type=cache` (to restore the cache).\n\n## Dependency\n\nstore-cli has dependency on ZStandard v1.4.8 (https://github.com/facebook/zstd)\n\nTo test locally in download binaries from screwdrivercd bintray and set path\n    \u003cli\u003e mac   =\u003e download zstd-cli-macosx binary from https://github.com/screwdriver-cd/sd-packages/releases/download/v0.0.30/zstd-cli-macosx.tar.gz\n    \u003cli\u003e linux =\u003e download zstd-cli-linux binary from https://github.com/screwdriver-cd/sd-packages/releases/download/v0.0.30/zstd-cli-linux.tar.gz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fstore-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrewdriver-cd%2Fstore-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fstore-cli/lists"}