{"id":19360611,"url":"https://github.com/darukjs/daruk-cli","last_synced_at":"2025-02-24T12:21:22.281Z","repository":{"id":34293812,"uuid":"175132464","full_name":"darukjs/daruk-cli","owner":"darukjs","description":"daruk cli","archived":false,"fork":false,"pushed_at":"2022-04-28T19:21:00.000Z","size":52,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-14T00:22:09.050Z","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/darukjs.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}},"created_at":"2019-03-12T04:00:29.000Z","updated_at":"2022-04-15T17:00:51.000Z","dependencies_parsed_at":"2022-08-08T00:15:34.783Z","dependency_job_id":null,"html_url":"https://github.com/darukjs/daruk-cli","commit_stats":null,"previous_names":["daruk-framework/daruk-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darukjs%2Fdaruk-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darukjs%2Fdaruk-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darukjs%2Fdaruk-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darukjs%2Fdaruk-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darukjs","download_url":"https://codeload.github.com/darukjs/daruk-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240318163,"owners_count":19782528,"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":[],"created_at":"2024-11-10T07:18:43.767Z","updated_at":"2025-02-24T12:21:22.260Z","avatar_url":"https://github.com/darukjs.png","language":"JavaScript","readme":"# daruk-cli\n\n初始化 daruk 项目的脚手架，默认基于模板 https://github.com/daruk-framework/daruk-template\n\n## 使用\n\n```bash\n# 安装\nnpm i -g daruk-cli\n\n# 初始化项目\ndaruk init \u003crepository name\u003e\n\n# 比如\ndaruk init my-first-daruk-app\n\n# daruk-cli 默认会在本地缓存模板\n# 添加 --ignore 参数，忽略本地模板缓存，建议每次都添加 --ignore 参数以获取最新的模板\ndaruk init --ignore my-first-daruk-app\n\n# 使用自定义的模板\n# 模板 url 地址需要满足规则: https://www.npmjs.com/package/download-git-repo\n# 比如这里我们使用模板工程中的 nodejs-ts-scaffold 分支作为模板初始化项目\ndaruk init custom-daruk-app 'daruk-framework/daruk-template.git#nodejs-ts-scaffold'\n\n# 针对公司私有域名下的 git/gitlab 中的模板\n# 可以直接使用 clone + direct:url 的方式\ndaruk init --ignore --clone my-first-daruk-app direct:http://xxx.xxx.com/project.git\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarukjs%2Fdaruk-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarukjs%2Fdaruk-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarukjs%2Fdaruk-cli/lists"}