定制 hylkereinders/killposer 二次开发

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

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

hylkereinders/killposer

最新稳定版本:V1.0.1

Composer 安装命令:

composer require hylkereinders/killposer

包简介

Find and delete composer-created /vendor/ directories that you do not need any more.

README 文档

README

Easy way to find and delete composer-created /vendor/ directories that you do not need any more.

This is a cli-tool to find Composer-created vendor directories on your system, list their path and size, and it allows you delete ones that you don't need to free up storage space.

The project is inspired by npkill.

Installation

Install Killposer globally with Composer:

$ composer global require tuqqu/killposer

You have to make sure that global Composer binary directory is in your PATH. See Composer docs. On a Unix system run the following command:

$ export PATH="$PATH:$HOME/.composer/vendor/bin"

Usage

Having installed it globally you may now use killposer binary:

$ killposer 

Use W and S keys to move up/down, K to delete the selected vendor and Q to quit.

Command options

  • --path, -p to specify the directory to search, default value is current directory, ./
  • --byte-format, -f available formats are: kib, mib (the default one), gib
  • --byte-threshold, -t if for some reason you have no interest in the exact size of your vendors, you may set a threshold after which file size won't be calculated

Example

Search vendors in PhpProjects

$ killposer -p '~/PhpProjects/'

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-31