c9s / GetOptionKit

An object-oriented option parser library for PHP, which supports type constraints, flag, multiple flag, multiple values, required value checking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optional value with type constraint

igorsantos07 opened this issue · comments

Would be cool to be able to do something like "opt?=integer", like using ? and + in place of : in all argument options.

commented

It's added as isa. please check the test code. ;-)