{"id":16479205,"url":"https://github.com/zoeminghong/project-path-print","last_synced_at":"2025-07-25T03:08:31.046Z","repository":{"id":100495705,"uuid":"247314836","full_name":"zoeminghong/project-path-print","owner":"zoeminghong","description":"打印项目结构路径脚本","archived":false,"fork":false,"pushed_at":"2020-03-14T17:07:17.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T07:36:49.078Z","etag":null,"topics":["architecture","architecture-components","pathfinder","printable","project-management"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoeminghong.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-03-14T16:43:16.000Z","updated_at":"2020-03-14T17:09:11.000Z","dependencies_parsed_at":"2023-05-15T10:00:18.805Z","dependency_job_id":null,"html_url":"https://github.com/zoeminghong/project-path-print","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoeminghong%2Fproject-path-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoeminghong%2Fproject-path-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoeminghong%2Fproject-path-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoeminghong%2Fproject-path-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoeminghong","download_url":"https://codeload.github.com/zoeminghong/project-path-print/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241164373,"owners_count":19920567,"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":["architecture","architecture-components","pathfinder","printable","project-management"],"created_at":"2024-10-11T12:51:21.622Z","updated_at":"2025-02-28T14:18:43.359Z","avatar_url":"https://github.com/zoeminghong.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# project-path-print\n\n该项目源于朋友问我是否有打印项目结构的脚本或者工具，我想这个问题好像很多程序员在写技术文档的时候经常要遇到，我就打算写一个脚本来解决这个痛点问题。\n\n## 执行\n\n```shell\nsh ./mkdir.sh /your/project/path\ne.g.\nsh ./mkdir.sh /project/demo\n```\n\n## 结果示例\n\n```shell\n|--- apps\n|---|--- ext\n|---|---|--- profile-diff-batch\n|---|--- plugins\n|---|---|--- hbase-observers\n|---|--- toolkit\n|---|---|--- export\n|---|---|--- phoenix-to-es\n|---|---|--- prepare-example\n|--- docs\n|--- examples\n|---|--- connection-es-example\n|---|--- streaming-performance-example\n|--- sources\n|---|--- basics\n|---|---|--- basic-hbase-es-observer\n|---|---|--- common\n|---|---|--- common-component\n|---|---|--- common-ignite\n|---|---|--- common-spark\n|---|---|--- common-test\n|---|---|--- common-vertx\n|---|---|--- parent\n|---|---|--- parent-spark\n|---|--- components\n|---|---|--- gateway\n|---|---|--- storage\n|---|---|---|--- storage-ods\n|---|---|--- timer\n|---|--- terminals\n|---|---|--- collect-sdk\n```\n\n## 支持列表\n\n支持的语言项目\n\n- [x] Maven (Java/Scala)\n- [x] `package.json` (前端)\n- [x] `.gitignore`\n- [x] `.gitkeep`\n- [ ] Gradle\n\n## 实现原理\n\n通过寻找目录标记文件类型或者文件进行定位，目前支持 `pom.xml/package.json/.gitignore/.gitkeep`。\n\n### 开发\n\n自行定制或者支持新的文件类型，只需要修改示例位置的判断条件即可：\n\n```shell\nif [ $filename == 'pom.xml' -o $filename == 'package.json' -o $filename == '.gitkeep' -o $filename == '.gitignore' ]\n```\n\n## License\n\nApache Licensed. 具体查看 `License`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoeminghong%2Fproject-path-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoeminghong%2Fproject-path-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoeminghong%2Fproject-path-print/lists"}