From 2181b495a9117ded0e6c641b3f00fad919dcd100 Mon Sep 17 00:00:00 2001 From: netkas Date: Tue, 24 Sep 2024 13:00:11 -0400 Subject: [PATCH] Updated README.md --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7bd2746..7b4e02a 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,11 @@ A basic Options parser and command-line arguments handling a library for PHP. The library can be installed using ncc: ```bash -ncc install -p "nosial/libs.opts=latest@n64" +# n64 +ncc package install -p "nosial/libs.opts=latest@n64" + +# github +ncc package install -p "nosial/libs.opts=latest@github" ``` or by adding the following to your project.json file under @@ -36,6 +40,7 @@ the `build.dependencies` section: { "name": "net.nosial.optslib", "version": "latest", + "source_type": "remote", "source": "nosial/libs.opts=latest@n64" } ``` @@ -61,6 +66,16 @@ or by running the following command: make release ``` +## Testing + +The library can be tested using PhpUnit with the `phpunit.xml` file that is already included in the repository. +This requires that you have PhpUnit installed & the library has been compiled and installed on the local system. + +```bash +phpunit +``` + + ## Usage The usage of this library is very simple, there are