{"id":18358910,"url":"https://github.com/uppercod/cli-bone","last_synced_at":"2025-08-31T13:34:15.721Z","repository":{"id":113250532,"uuid":"149687142","full_name":"UpperCod/cli-bone","owner":"UpperCod","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-29T17:10:35.000Z","size":13,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T03:58:40.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/UpperCod.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":"2018-09-21T00:30:38.000Z","updated_at":"2018-10-31T09:40:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e97f296-bcec-494d-ac4f-7d03e1ac3e19","html_url":"https://github.com/UpperCod/cli-bone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UpperCod/cli-bone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fcli-bone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fcli-bone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fcli-bone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fcli-bone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UpperCod","download_url":"https://codeload.github.com/UpperCod/cli-bone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fcli-bone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272988764,"owners_count":25026959,"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-31T02:00:09.071Z","response_time":79,"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-11-05T22:19:53.554Z","updated_at":"2025-08-31T13:34:15.695Z","avatar_url":"https://github.com/UpperCod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cli-bone\n\nThis **CLI**, allows you to copy the contents of repositories **GIT** on your local machine, to be used as a template so you can generate a dynamic cloning based on what **Bone** manages to collect tanks to [**prompts**](https://github.com/terkelg/prompts).\n\n## Installation\n\n```\nnpm install -g cli-bone\n```\n\n## bone\n\n```\nbone owner/name --dist my-folder\n```\n\n\u003e If dist is not defined, Bone will insert the content in the execution directory.\n\n## Opción `-u | --update`\n\nUpdate the local repository.\n\n```\nbone owner/name -u --dist my-folder\n```\n\n## Opción `-r | --remove`\n\nIt will delete the local repository.\n\n```\nbone owner/name -r\n```\n\n## Opción `-c | --clone`\n\nIt allows to use a local source for cloning, avoiding the download from the git repository, it is useful to test the result of the template before loading it for example to github\n\n```\nbone owner/name -c -d my-copy\n```\n\n## Template options\n\n### bone.config.js\n\nIf your template folder has a `bone.config.js` file, you can generate an instance of [**prompts**](https://github.com/terkelg/prompts), to capture parameters to be used in the copy to be generated by Bone.\n\n```js\nexport default {\n   description: \"my first directory template\",\n   questions: [\n       {\n           type: \"text\",\n           name: \"value\",\n           message: \"project's name?\"\n       }\n   ],\n   onSubmit(data) {\n       return data;\n   },\n   onCance() {\n       console.log(\"Noooo!\");\n   }\n};\n\n```\n\n## Example\n\n### [uppercod/atomico-starter-component](https://github.com/uppercod/atomico-starter-component)\n\nIt allows to create a component based on Atomico.\n\n```\nbone uppercod/atomico-starter-component\n```\n\n### [uppercod/new-component](https://github.com/UpperCod/new-component)\n\nIt allows to create a component based of Atomico, Preact or Preact with Cssthis.\n\n```\nbone uppercod/new-component\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Fcli-bone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuppercod%2Fcli-bone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Fcli-bone/lists"}