Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Releases: troublete/php-argv

Release 2.0.0

15 Oct 17:06
Compare
Choose a tag to compare

Added

  • getCommand as short handle for retrieving a command, if set, off clean arguments.

  • Argument call tests

Changed

  • getFlags to retrieve values following up on a flag as flag values

  • getFlags returned anonymous class method add to consider a second argument which is treated as flag value,
    defaults to true

  • API docs

Release 1.1.0

02 Oct 08:36
Compare
Choose a tag to compare

Added

  • __get function to getFlags callback to eliminate required isset for flag check

  • added missing PHP 7 typehinting

  • fixed testing

Release 1.0.0

28 Sep 12:53
Compare
Choose a tag to compare

Added

  • cleanArguments, reduceFlagName, isCommandCall, isFlag, isFlagAlias, getFlags, getValues functions for basic handling of input arguments

  • added testing for functions