Flags icon indicating copy to clipboard operation
Flags copied to clipboard

A GNU-style PHP command line argument parser inspired by Go's Flag package.

Results 5 Flags issues
Sort by recently updated
recently updated
newest added

Allow a callback that is called on all passed values, ignoring default $this->displayHelp = & $this->flags->bool('help', false, 'Display this help message.', function(){ return false; }); would cause `--help` being called...

Add aliases such that in the following example user **or** username could be used but not both. `$user =& $flags->string(["user", "username"], null, "Github Username");`

enhancement

Do in a more GNU-friendly style than Go-lang, eg: not on a `-command`

enhancement