Skip to content

一个用于清理Rust项目target目录的命令行工具

Notifications You must be signed in to change notification settings

0ldm0s/target_cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Target Cleaner

一个用于清理Rust项目target目录的命令行工具,采用GPL-3.0许可证。

功能特性

  • 递归查找指定目录下的所有Rust项目target目录
  • 智能跳过已处理的同级目录
  • 交互式确认删除操作
  • 安全删除验证

安装

cargo install --path .

使用方法

target_cleaner <目录路径>

示例:

target_cleaner .

许可证

Copyright (C) 2025 Your Name

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

贡献

欢迎提交Issue和Pull Request。

About

一个用于清理Rust项目target目录的命令行工具

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages