From 81099c11c1816b8487778d1d945368ad197b458e Mon Sep 17 00:00:00 2001 From: Rayan Levert Date: Fri, 26 Apr 2024 17:15:29 +0200 Subject: [PATCH] README.md : more typography adapted --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 5dfe131..caa4a2f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![Packagist Version](https://img.shields.io/packagist/v/rayanlevert/command-line-interface)](https://packagist.org/packages/rayanlevert/command-line-interface) [![PHP from Packagist](https://img.shields.io/packagist/php-v/rayanlevert/command-line-interface)](https://packagist.org/packages/rayanlevert/command-line-interface) [![codecov](https://codecov.io/gh/rayanlevert/command-line-interface/branch/main/graph/badge.svg)](https://codecov.io/gh/rayanlevert/command-line-interface) -[![Packagist](https://img.shields.io/packagist/dd/rayanlevert/command-line-interface)](https://packagist.org/packages/rayanlevert/command-line-interface/stats) ### **RayanLevert\Cli\Arguments\Argument** defines what is an Argument An argument has a name and different options and can only be of type `integer`, `double` ou `string` (if the option `noValue` is used, it will be `bool`) @@ -37,7 +36,7 @@ new \RayanLevert\Cli\Arguments(\RayanLevert\Cli\Arguments\Argument ...$oArgument Associates each parsed value to its Argument in the collection -The parsed value of an argument is recoverable by `::get(string $nomArgument)` +The parsed value of an argument is recoverable by `::get(string $argumentName)` By default, `NULL` is returned; `integer`, `float` or `string` can be returned if the argument has been parsed and option `castTo` has been set