11
0
Fork 0
mirror of https://github.com/n3w/helpers-cli-input.git synced 2025-12-19 12:43:23 +00:00
Commit graph

23 commits

Author SHA1 Message Date
Alannah Kearney
900f9f2885 Fixed misnamed variable in InputCollection::merge() 2019-05-27 00:57:09 +10:00
Alannah Kearney
ad21e667c3 Updated README, CHANGELOG, and composer.json for 1.1.3 release 1.1.3 2019-05-27 00:24:35 +10:00
Alannah Kearney
419a4a9f79 Code tidy 2019-05-27 00:22:25 +10:00
Alannah Kearney
866a2e1c9e Fixed logic bug that prevented $index and $type from getting set when InputCollection::append() is called. 2019-05-27 00:22:01 +10:00
Alannah Kearney
32ed646220 Updated README, CHANGELOG, and compose.json for 1.1.2 release 1.1.2 2019-05-25 12:02:35 +10:00
Alannah Kearney
695b4ac75a Updated validation logic for inputs that have a validator, no default, and are not set. Using InputValidationFailedException exception when validation fails 2019-05-25 11:59:29 +10:00
Alannah Kearney
c5aa26b19d Updated RequiredInputMissingException and RequiredInputMissingValueException exceptions to use getDisplayName() when producing their message 2019-05-25 11:58:33 +10:00
Alannah Kearney
50e56a8649 Added InputValidationFailedException exception 2019-05-25 11:57:32 +10:00
Alannah Kearney
e71ea40616 Removed unused RequiredArgumentMissingException exception 2019-05-25 11:57:16 +10:00
Alannah Kearney
4117ed266c Added getDisplayName() method to standardise how the name of an InputTypeInterface class wants to display it's name 2019-05-25 11:56:47 +10:00
Alannah Kearney
b89f2a6008 Updated README, CHANGELOG, example/example.php, and composer.json for 1.1.1 release 1.1.1 2019-05-24 18:06:57 +10:00
Alannah Kearney
96bf279a70 AbstractInputHandler::find() returns NULL if it cannot find any input with the supplied name. It is easier to test for NULL than it is to catch an exception. 2019-05-24 18:04:00 +10:00
Alannah Kearney
a4a8d5e351 Updated README, CHANGELOG, example code, and composer.json for 1.1.0 1.1.0 2019-05-24 17:20:50 +10:00
Alannah Kearney
9e27b52991 Updated to work with more than just Argument and Option input types. Makes use of InputTypeFactory to allow addition of new types as needed. Added InputTypeFactory to help with loading input type classes 2019-05-24 17:17:24 +10:00
Alannah Kearney
b49ee5559d Expanded input types to include Flag, IncrementingFlag, and LongOption. Refactored Option and Argument types. 2019-05-24 17:13:24 +10:00
Alannah Kearney
b36bfeac3d Updated README and CHANGELOG for 1.0.3 release 1.0.3 2019-05-24 13:29:08 +10:00
Alannah Kearney
9ac0e21d04 Updated example to reflect changes to manpage() function in pointybeard/helpers-functions-cli package 2019-05-24 13:28:34 +10:00
Alannah Kearney
95e93ec1bc Refactoring and improvemnts to Argument::__toString() and Option::__toString() 2019-05-24 13:27:38 +10:00
Alannah Kearney
6e987bb4eb Updated README, composer.json, and CHANGELOG for 1.0.2 release 1.0.2 2019-05-23 23:44:52 +10:00
Alannah Kearney
25f3fb8014 Fixed InputCollection::getArgumentsByIndex() so it returns NULL if the index does not exist instead of throwing an E_NOTICE message 2019-05-23 23:44:24 +10:00
Alannah Kearney
8d3141c79f Updated README and CHANGELOG for 1.0.1 1.0.1 2019-05-20 22:39:48 +10:00
Alannah Kearney
7c06febefe Updated example to use manpage() provided by the pointybeard/helpers-functions-cli package 2019-05-20 22:39:08 +10:00
Alannah Kearney
0620d00f08 Initial commit 1.0.0 2019-05-20 15:08:41 +10:00