← 返回
内容创作 中文

Folder Tree Generator

Generates an ASCII tree or JSON representation of a directory structure. Use when you need to visualize file hierarchies, document folder contents, or debug...
生成目录结构的 ASCII 树形图或 JSON 表示。用于可视化文件层级、记录文件夹内容或调试。
wanng-ide
内容创作 clawhub v1.0.0 1 版本 99700.6 Key: 无需
★ 0
Stars
📥 1,332
下载
💾 33
安装
1
版本
#latest

概述

Folder Tree Generator

A utility skill to visualize directory structures in ASCII tree format or JSON.

Usage

# Generate ASCII tree for current directory
node skills/folder-tree-generator/index.js

# Generate ASCII tree for specific directory
node skills/folder-tree-generator/index.js /path/to/dir

# Generate JSON output
node skills/folder-tree-generator/index.js --json

# Limit depth
node skills/folder-tree-generator/index.js --depth 2

Options

  • --json: Output as JSON.
  • --depth : Limit recursion depth.
  • [dir]: Directory to scan (default: .).

Examples

ASCII Output:

.
├── file1.txt
└── dir1
    ├── file2.txt
    └── file3.txt

JSON Output:

{
  "name": ".",
  "type": "directory",
  "children": [
    { "name": "file1.txt", "type": "file" },
    { "name": "dir1", "type": "directory", "children": [...] }
  ]
}

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 03:41 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,140
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,426
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,385