TomasVotruba / lines

CLI tool for quick size measure of PHP project, runs anywhere
https://tomasvotruba.com/blog/easy-and-quick-way-to-measure-lines-of-code-in-php
MIT License
161 stars 4 forks source link

Add "package" command, to measure dedicated package size #29

Closed TomasVotruba closed 11 months ago

TomasVotruba commented 1 year ago

To quickly check which package takes more space.

API:

bin/lines package nunomaduro/collision

In the background:

mkdir isolated
cd isolated
composer require nunomaduro/collision
bin/lines measure isolated
rm -rf isolated

Show results... enjoy :sunglasses:

MarcinGladkowski commented 11 months ago

Hi!

Are you open to make a PR to this project ? I will be happy to work on this feature.

Have a nice day

TomasVotruba commented 11 months ago

Hi, thanks for reaching out.

I actually forgot about this issue and found a simple solution to achieve this one. It was one time job and I don't think it's worth repetetive use case.

What is your use case for this one?

MarcinGladkowski commented 11 months ago

I haven't special case here. I resolving sometimes issues in open source. Thanks for fast response.

TomasVotruba commented 11 months ago

I see, thanks for help :+1: