nategood / commando

An Elegant CLI Library for PHP
MIT License
798 stars 80 forks source link

Use titles for anonymous arguments where provided, doc fix #98

Closed tolidano closed 5 years ago

tolidano commented 5 years ago

Instead of "Required argument 0" when leaving off required anonymous arguments, this will say "Required argument name" when ->title('name') is added to the option builder chain.

Test added.

README.md updated to remove duplicate file listing.

tolidano commented 5 years ago

Wish I had checked more carefully - a similar attempt at the same issue is done here: https://github.com/nategood/commando/pull/89 so either this one should be merged or the other.

tolidano commented 5 years ago

I forked this and rewrote it for 7.2: https://packagist.org/packages/tolidano/commandox

tolidano commented 5 years ago

I created a PHP 5.4-7.1 version of this and then a PHP 7.2 version: https://github.com/tolidano/commandox/releases

tolidano commented 5 years ago

Closing due to inactivity.