phanthom335/port-scanner-cli-12phhtc
GitHub: phanthom335/port-scanner-cli-12phhtc
基于 Python 的跨平台命令行工具,用于快速检测和清理项目中的重复文件。
Stars: 0 | Forks: 0
```
# Port Scanner Cli 12phhtc
> **Category:** CLI Utilities | **Generated:** 2026-03-14



`utilities` `python` `devtools` `cli`
---
## Description
Developer-friendly CLI that helps you deduplicate projects in seconds.
This project is part of an open-source Python automation collection.
It is designed to be lightweight, easy to integrate, and straightforward to extend.
---
## Features
- ✅ Fast execution with minimal memory footprint
```
- ✅ 支持递归目录遍历
- ✅ Dry-run 模式,便于执行前安全预览
- ✅ 彩色化输出,提高可读性
- ✅ 跨平台:Linux, macOS, Windows
---
## 前置条件
- **Python** 3.9 或更高版本
- **pip** (随 Python 附带)
- 终端 / 命令提示符
---
## 安装说明
```bash
git clone https://github.com//port-scanner-cli-12phhtc.git
cd port-scanner-cli-12phhtc
python -m venv .venv
source .venv/bin/activate # Linux / macOS
.venv\Scripts\activate.bat # Windows
pip install -r requirements.txt
```
---
## 使用方法
```bash
python main.py
python main.py --help
```
---
## 配置说明
将 `.env.example` 复制为 `.env` 并填写相应的值:
```bash
cp .env.example .env
```
| 变量 | 默认值 | 描述 |
|---------------|------------|--------------------------|
| `LOG_LEVEL` | `INFO` | 日志详细程度 |
| `OUTPUT_DIR` | `./output` | 结果保存位置 |
| `MAX_WORKERS` | `4` | 并行工作线程数 |
---
## 项目结构
```
port-scanner-cli-12phhtc/
├── main.py ← 入口文件
├── requirements.txt ← Python 依赖
├── .gitignore ← Git 忽略规则
├── .env.example ← 环境变量模板
├── LICENSE ← MIT 许可证
└── README.md ← 本文件
```
---
## 贡献指南
1. Fork 本仓库
2. 创建功能分支:`git checkout -b feature/my-feature`
3. 提交你的更改:`git commit -m 'Add my feature'`
4. 推送并开启 Pull Request
---
## 许可证
MIT 许可证 — 详情请参阅 [LICENSE](LICENSE)。
---
*由 GitHub Project Generator v3.0.0 自动生成*
标签:CLI, DNS解析, Python, Python 3.9, SOC Prime, WiFi技术, 工具库, 开发工具, 开源项目, 数字取证, 文件去重, 文件管理, 文档结构分析, 无后门, 生产率工具, 系统清理, 自动化脚本, 逆向工具