X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=doc%2Findex.html;h=fc778b54184b215cd8120dcc38d555460942858f;hb=HEAD;hp=4648538b3c5da62ec529c6b653e4ae79d791a2cb;hpb=324ea20c0c65f671c0d35e94ed90142912a56b4c;p=cli-helper.git diff --git a/doc/index.html b/doc/index.html index 4648538..fc778b5 100644 --- a/doc/index.html +++ b/doc/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + CLI Helper - library to help implementing commandline interfaces @@ -202,23 +202,25 @@

Table of Contents

-
-

1. General

+
+

1. General

  • This program is free software: released under Creative Commons Zero @@ -235,8 +237,8 @@
-
-

1.1. Source code

+
+

1.1. Source code

  • Download latest snapshot in TAR GZ format
  • @@ -247,7 +249,7 @@ Clone Git repository using command:

    -git clone https://www2.svjatoslav.eu/git/cli-helper.git
    +git clone https://www3.svjatoslav.eu/git/cli-helper.git
     
  • See JavaDoc
  • @@ -256,28 +258,31 @@ git clone https://www2.svjatoslav.eu/git/cli-helper.git
-
-

2. Library contents

+
+

2. Overview

-This library is a collection of command-line interface (CLI) helper -functions that simplifies the process of building and maintaining CLI -applications. The library provides several different functionalities, -such as: +This is library intended to facilitate creation of commandline +applications in Java programming language. Library is packaged as an +artifact to Maven repository. This makes it simple to add library as +dependency to your project.

+

+Library provides following general functionalities: +

-
-

2.1. Ask for user input

+
+

2.1. Ask for user input

askBoolean()
Asks the user to enter a boolean value (yes/no).
@@ -288,9 +293,18 @@ such as:
-
-

3. Getting the library

+
+

3. Alternatives and further reading

+
+ +
+

4. Getting the library

+

Instructions to embed svjatoslav-commons library in your project:

@@ -305,7 +319,7 @@ Maven pom.xml file snippet: <dependency> <groupId>eu.svjatoslav</groupId> <artifactId>cli-helper</artifactId> - <version>1.0</version> + <version>1.2</version> </dependency> ... </dependencies> @@ -324,10 +338,39 @@ Maven pom.xml file snippet:
+
+

5. TODO:

+
+

+List of improvement suggestions: +

+ +
    +
  • Add more concrete examples of how to use the library in JavaDoc +comments. This will help developers quickly get started and learn +the API.
  • + +
  • Provide more comprehensive unit tests for CliHelper, +ParameterParser, Options and subclasses. This will ensure robustness +and stability.
  • + +
  • Add JavaDoc comments to all classes and methods where +applicable. This will provide better visibility into the library's +functionality for developers.
  • + +
  • Add more option types like date/time, regular expression etc.
  • + +
  • Document best practices for using the library in a larger project.
  • + +
  • Implement support for more complex CLI applications like option +dependencies and conflicts resolution.
  • +
+
+

Author: Svjatoslav Agejenko

-

Created: 2023-10-12 Thu 22:18

+

Created: 2024-04-25 Thu 17:30

Validate