{"id":51143798,"url":"https://github.com/usebarekey/cli","last_synced_at":"2026-06-26T01:02:26.627Z","repository":{"id":342879666,"uuid":"1173533388","full_name":"usebarekey/cli","owner":"usebarekey","description":"Main CLI application for Barekey","archived":false,"fork":false,"pushed_at":"2026-03-14T15:56:33.000Z","size":59,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-15T02:34:11.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmx.dev/package/@barekey/cli","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usebarekey.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-05T13:25:27.000Z","updated_at":"2026-03-14T01:28:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/usebarekey/cli","commit_stats":null,"previous_names":["usebarekey/cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usebarekey/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usebarekey","download_url":"https://codeload.github.com/usebarekey/cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usebarekey%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34798183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":"2026-06-26T01:02:23.104Z","updated_at":"2026-06-26T01:02:26.569Z","avatar_url":"https://github.com/usebarekey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @barekey/cli\n\nCLI for Barekey login, variable management, pull workflows, and SDK type generation.\n\n## Install\n\n```bash\nnpm install -g @barekey/cli\n```\n\n## Quickstart\n\n```bash\nbarekey auth login\nbarekey auth whoami\n```\n\nCreate `barekey.json`:\n\n```json\n{\n  \"organization\": \"acme\",\n  \"project\": \"web\",\n  \"environment\": \"development\"\n}\n```\n\nCreate and read a variable:\n\n```bash\nbarekey env new DATABASE_URL \"postgres://localhost:5432/app\" --type string\nbarekey env get DATABASE_URL\n```\n\nUpdate it:\n\n```bash\nbarekey env set DATABASE_URL \"postgres://localhost:5432/app_v2\"\n```\n\nPull local files:\n\n```bash\nbarekey env pull --out .env.local\nbarekey env pull --format json --out barekey.local.json\n```\n\nGenerate SDK types:\n\n```bash\nbarekey typegen\nbarekey typegen --watch\n```\n\n## Common commands\n\n```bash\nbarekey env list\nbarekey env get-many --names DATABASE_URL,REDIS_URL\nbarekey env new FEATURE_ENABLED true --type boolean\nbarekey env set PUBLIC_TITLE \"Barekey Docs\" --visibility public\nbarekey env set CHECKOUT_FLOW control --ab treatment --chance 0.5\nbarekey env delete FEATURE_ENABLED --yes\n```\n\n## Notes\n\n- `env new` creates with an initial value.\n- `env set` is the upsert command.\n- `get-many` uses a comma-separated `--names` value.\n- Target resolution comes from flags, `barekey.json`, and the stored login org.\n\n## Development\n\n```bash\nbun install\nbun run build\nbun run typecheck\nbun test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusebarekey%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusebarekey%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusebarekey%2Fcli/lists"}