Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Print folder tree

Actions
View the folder directory tree structure, similar to the output of the tree command
v1.0.1
Star (4)

Print Folder Tree

Buy me a coffee test

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

Example Usage

- name: Print Folder Tree
  uses: jaywcjlove/github-action-folder-tree@main
  with:
    exclude: "node_modules|dist|.git|.husky"
    path: ./src
    depth: 2

Inputs

  • path Folder path. (default ./)
  • depth Scan the maximum depth reachable for the given path (default 5)
  • exclude Pass a regex string to exclude directories from printing

Outputs

  • content Directory tree structure text

See Also

License

Licensed under the MIT License.

Print folder tree is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

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

Print folder tree is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.