Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

View the folder directory tree structure, similar to the output of the tree command

License

NotificationsYou must be signed in to change notification settings

jaywcjlove/github-action-folder-tree

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Buy me a coffeetest

View the folder directory tree structure, similar to the output of thetree command

Example Usage

-name:Print Folder Treeuses:jaywcjlove/github-action-folder-tree@mainwith:exclude:"node_modules|dist|.git|.husky"path:./srcdepth:2

Output Project Structure

├── .lintstagedrc├── LICENSE├── README.md├── action.yml├─> build├── package-lock.json├── package.json├── renovate.json├─> src│   └── index.ts└── tsconfig.json
-name:Print Folder Treeuses:jaywcjlove/github-action-folder-tree@mainid:treewith:exclude:"node_modules|dist|.git|.husky"path:./srcdepth:2-name:Modify README.mduses:jaywcjlove/github-action-modify-file-content@mainwith:path:README.mdbody:${{ steps.tree.outputs.content }}

Configure dree using JSON

-name:Print Folder Treeuses:jaywcjlove/github-action-folder-tree@mainwith:config:'./docs/dree-config.json'

Inputs

  • path Folder path. (default./)
  • depth Scan the maximum depth reachable for the given path (default5)
  • exclude Pass a regex string to exclude directories from printing
  • config The path to the dree configuration file

Outputs

  • content Directory tree structure text

See Also

License

Licensed under the MIT License.

About

View the folder directory tree structure, similar to the output of the tree command

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp