nasirhjafri / libyear

A simple measure of software dependency freshness.
https://libyear.com/
131 stars 16 forks source link

Adding a no. of releases function #15

Closed Tarun-Acharya closed 4 years ago

Tarun-Acharya commented 4 years ago

For every release, we can find the no. of releases between the current and latest version. This can be summed under a loop and printed at the end.

nasirhjafri commented 4 years ago

@Tarun-Acharya Thanks for the feature. Would you like to add a new command line argument and hook this function with under main function here?

Tarun-Acharya commented 4 years ago

I am not sure how to add and parse an argument, but I can write the looping code under the main function to print the total releases along with the lib years, you can later edit that part under new argument.

Tarun-Acharya commented 4 years ago

I have just made a new commit adding hooking the function onto the main.

Tarun-Acharya commented 4 years ago

Can u merge my request?

nasirhjafri commented 4 years ago

Can u merge my request?

Would you mind removing the code from the main function? I'll add it later with command line arguments.

nasirhjafri commented 4 years ago

Thanks @Tarun-Acharya :)