{"id":15552280,"url":"https://github.com/bahmutov/cly","last_synced_at":"2025-09-28T23:31:35.365Z","repository":{"id":34735142,"uuid":"168627676","full_name":"bahmutov/cly","owner":"bahmutov","description":"A prototype of Cypress CLI for quicker project scaffolding","archived":false,"fork":false,"pushed_at":"2024-09-27T18:46:06.000Z","size":988,"stargazers_count":34,"open_issues_count":14,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T14:14:36.455Z","etag":null,"topics":["cli","cypress","cypress-io"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bahmutov.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-02-01T02:06:14.000Z","updated_at":"2023-04-04T23:06:34.000Z","dependencies_parsed_at":"2023-12-12T02:26:52.577Z","dependency_job_id":"c447d33f-5daa-4541-ab63-2645601e12a9","html_url":"https://github.com/bahmutov/cly","commit_stats":{"total_commits":178,"total_committers":5,"mean_commits":35.6,"dds":0.3426966292134831,"last_synced_commit":"08164e2ca4520bd423dfd574b11d8010da704f0f"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fcly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/cly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234570384,"owners_count":18854156,"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","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","cypress","cypress-io"],"created_at":"2024-10-02T14:14:36.128Z","updated_at":"2025-09-28T23:31:29.762Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @bahmutov/cly [![gh status][gh image]][gh url]\n\n\u003e A prototype of Cypress CLI for quicker project scaffolding\n\n[![NPM][npm-icon]][npm-url]\n\n[![Build status][ci-image]][ci-url]\n[![semantic-release][semantic-image]][semantic-url]\n[![standard][standard-image]][standard-url]\n[![renovate-app badge][renovate-badge]][renovate-app]\n\n## Use\n\nRequires [Node](https://nodejs.org/en/) version 8 or above with `npx` command, assumes you have installed Cypress already with `npm i -D cypress`\n\n```sh\nnpx @bahmutov/cly init\n```\n\nWill output something like the following text on success\n\n```sh\nnpx: installed 72 in 6.853s\nscaffolding new Cypress project\n✅ scaffolded \"cypress\" folder with a single example spec\nyou can configure additional options in cypress.json file\nsee https://on.cypress.io/configuration\n```\n\nNote: if there are Cypress files or folders already, the `cly` will stop.\n\nWatch this utility in action in [this video](https://youtu.be/g9ToLSD_lbQ)\n\n### TypeScript\n\nYou can scaffold Cypress specs written in TypeScript\n\n```sh\nnpx @bahmutov/cly init --typescript\n# or equivalent\nnpx @bahmutov/cly init -t\n```\n\n### Bare\n\nSometimes you just need a spec file, without any fixtures, support, or plugin files. Use `--bare` option to scaffold the minimal `cypress` test\n\n```sh\nnpx @bahmutov/cly init --bare\n# or equivalent\nnpx @bahmutov/cly init -b\n```\n\n### Version\n\nYou can specify version to scaffold using `--cv, --cypress-version \u003cversion\u003e` argument. For example to scaffold for Cypress v4 run\n\n```sh\nnpx @bahmutov/cly init --cv 4\n```\n\nOnly the major version will be considered\n\n```sh\nnpx @bahmutov/cly init --cypress-version 3.8.3\n✅ scaffolded \"cypress\" folder with a single example spec (v3)\n```\n\nNotice that example folders for TypeScript have format `\u003cmajor version\u003ets`.\n\n## Debugging\n\nRun this module with environment variable to see verbose logs\n\n```\nDEBUG=@bahmutov/cly\n```\n\n### Small print\n\nAuthor: Gleb Bahmutov \u0026lt;gleb.bahmutov@gmail.com\u0026gt; \u0026copy; 2019\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](https://glebbahmutov.com)\n* [blog](https://glebbahmutov.com/blog)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/cly/issues) on Github\n\n## MIT License\n\nCopyright (c) 2019 Gleb Bahmutov \u0026lt;gleb.bahmutov@gmail.com\u0026gt;\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[npm-icon]: https://nodei.co/npm/@bahmutov/cly.svg?downloads=true\n[npm-url]: https://npmjs.org/package/@bahmutov/cly\n[ci-image]: https://circleci.com/gh/bahmutov/cly/tree/master.svg?style=svg\n[ci-url]: https://circleci.com/gh/bahmutov/cly/tree/master\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: http://standardjs.com/\n[renovate-badge]: https://img.shields.io/badge/renovate-app-blue.svg\n[renovate-app]: https://renovateapp.com/\n\n[gh image]: https://github.com/bahmutov/cly/workflows/ci/badge.svg?branch=master\n[gh url]: https://github.com/bahmutov/cly/actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fcly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fcly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fcly/lists"}