You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -156,50 +162,10 @@ Since I won't write "never say never", if you have a smart idea or way to easy u
156
162
Optional arguments underlying the same problems as validation. It is not that easy to implement in an elegant way. It is very special/domain specific (e.g. an argument is optional if flag "--xyz" is used, otherwise mandatory).
157
163
Your code has to take care if an argument is passed or not anyways. Using the available "has..."-methods should be sufficient and generic enough.
158
164
159
-
160
165
# API
161
166
162
167
[API](http://www.bazzline.net/988fc4501e48d8aed30583f58a97f0d4c14ab2d3/index.html) is available at [bazzline.net](http://www.bazzline.net).
163
168
164
-
# History
165
-
166
-
* upcomming
167
-
*@todo
168
-
* add *hasFlags* to easy up validation if long or short flag is set (e.g. '-v|--verbose')
169
-
* cover Parser with unit tests
170
-
* synchronize styling of the release dates
171
-
*[1.4.0](https://github.com/bazzline/php_component_cli_argument/tree/1.4.0) - released at 2017-01-29
172
-
* updated minimum requirements to php 5.6
173
-
*[1.3.2](https://github.com/bazzline/php_component_cli_argument/tree/1.3.2) - released at 07.08.2016
174
-
* updated to phpunit 5.5
175
-
*[1.3.1](https://github.com/bazzline/php_component_cli_argument/tree/1.3.1) - released at 05.06.2015
176
-
* added php 7.0 to testing environment
177
-
* enhanced phpunit compatibility by using "~4.8||~5.4"
178
-
* moved to psr-4 autoloading
179
-
* removed php 5.3.3 testing environment
180
-
* updated to phpunit 5.4
181
-
*[1.3.0](https://github.com/bazzline/php_component_cli_argument/tree/1.3.0) - released at 01.12.2015
182
-
* added support for single argument like "a" or "-"
183
-
*[1.2.0](https://github.com/bazzline/php_component_cli_argument/tree/1.2.0) - released at 28.11.2015
0 commit comments