RobinTheHood / ModifiedModuleLoaderClient

Der MMLC (Modified Module Loader Client) ist eine Software zur Verwaltung von Modulen in deinem modified eCommerce Shop.
https://module-loader.de
5 stars 5 forks source link

feat: add getOption() and improve hasOption() of Cli class #146

Closed grandeljay closed 1 year ago

grandeljay commented 1 year ago

When using the create command options such as --prefix=VENDOR_PREFIX cannot be checked. With this PR you can use:

$cli->hasOption('--prefix')

and

$cli->getOption('--prefix')

which would return VENDOR_PREFIX.