Skip to content

Commit

Permalink
README.md : more typography adapted
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanlevert committed Apr 26, 2024
1 parent 1e9edf0 commit 81099c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 81099c1

Please sign in to comment.