{"id":21731328,"url":"https://github.com/ymm-tech/thresh-cli","last_synced_at":"2025-04-13T00:26:36.383Z","repository":{"id":100182876,"uuid":"325474955","full_name":"ymm-tech/thresh-cli","owner":"ymm-tech","description":"Thresh command line tools.","archived":false,"fork":false,"pushed_at":"2020-12-30T07:35:45.000Z","size":8,"stargazers_count":7,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-25T00:02:54.942Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ymm-tech.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}},"created_at":"2020-12-30T06:36:37.000Z","updated_at":"2021-07-21T06:50:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0db38c8-7982-4c3d-a73e-2637ef6baed6","html_url":"https://github.com/ymm-tech/thresh-cli","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"d13ab9b1776c3b93a34964881a4de489c4e4cbd1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fthresh-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fthresh-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fthresh-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fthresh-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymm-tech","download_url":"https://codeload.github.com/ymm-tech/thresh-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650556,"owners_count":21139665,"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-26T04:24:10.290Z","updated_at":"2025-04-13T00:26:36.376Z","avatar_url":"https://github.com/ymm-tech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 使用 thresh-cli 命令快速创建项目\n\n\n\n在目标目录中执行 thresh-cli create yourAppName 命令即可创建一个新的，如：`thresh-cli create TreshTest1`，项目创建的同时会自动安装相关依赖。\n\n\n\n\u003e **TIP**\n\n\u003e 自动安装依赖通过 `yarn` 执行，请先全局安装 `yarn`\n\n\u003e `thresh-cli create` 命令创建的项目，其项目名会同时作为 package.json 中的 name 字段，并且该字段会作为项目在宿主工程中的模块名被使用。因此如项目名不是模块名，需要自行修改 package.json 中的 name 字段。\n\n\n\n\n\n```\n\nManbangMacBook-Pro:thresh_test_demo Manbang$ thresh-cli create ThreshTest1\n\n使用ThreshTest1作为项目/模块名称? (y/N) y\n\n创建项目成功\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymm-tech%2Fthresh-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymm-tech%2Fthresh-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymm-tech%2Fthresh-cli/lists"}