perl-carton / carton

Bundler or pip freeze for Perl
http://search.cpan.org/dist/carton
Other
494 stars 96 forks source link

`carton bundle` ignores --cpanfile option but respects `PERL_CARTON_CPANFILE` environment variable #286

Open AnotherOneAckap opened 1 year ago

AnotherOneAckap commented 1 year ago

Hello! Thank you for this great tool!

Reading source code, I found --cpanfile option which is very useful for me since I keep different cpanfiles for services in one directory. However this option works (only?) for install command. Though I found in Carton::Environment variable PERL_CARTON_CPANFILE and solve my problem.

But I think in term of consistency would be nice if cmd_bundle can accept --cpanfile option too.

AnotherOneAckap commented 1 year ago

And here is my 5 minute DIY patch for this https://github.com/perl-carton/carton/pull/287