定制 ernilambar/foldyy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ernilambar/foldyy

最新稳定版本:1.0.0

Composer 安装命令:

composer require ernilambar/foldyy

包简介

Folder tree viewer with size information - CLI tool to display folder structure with file and folder sizes.

README 文档

README

Folder tree viewer with size information - CLI tool to display folder structure with file and folder sizes.

Description

Foldyy is a command-line tool that displays a tree view of a folder structure with size information for each file and folder. It's useful for quickly understanding the size distribution of files and directories in a given path.

Installation

composer install

Usage

# Basic usage (saves HTML to temp directory)
./bin/foldyy /path/to/folder

# Specify output directory (defaults to temp directory)
./bin/foldyy /path/to/folder --output-dir /tmp

# Specify exact output file path
./bin/foldyy /path/to/folder --output tree.html

# Output only the file path (porcelain mode, useful for scripting)
./bin/foldyy /path/to/folder --output-dir /tmp --porcelain

Features

  • HTML Tree View: Generate interactive HTML with collapsible folders
  • Size Information: Show file and folder sizes in human-readable format
  • Depth Control: Limit the maximum depth of folder scanning
  • Collapsible Folders: Click folders to expand/collapse
  • Flexible Output: Save to temp directory, custom directory, or specific file
  • Porcelain Mode: Output only file path for easy parsing in scripts

License

MIT

Author

Nilambar Sharma - nilambar@outlook.com

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-20