cli-arguments

A library to process command line arguments in some more convenient way.

Stackage Nightly 2025-03-24:0.7.0.0
Latest on Hackage:0.7.0.0

See all snapshots cli-arguments appears in

MIT licensed by OleksandrZhabenko
Maintained by [email protected]
This version can be pinned in stack with:cli-arguments-0.7.0.0@sha256:1b97e10e295763eaf67d6767177d8a3c89d9957a8debfe393eb19d1dbea3c048,1159
Depends on 1 package(full list with versions):
Used by 1 package in nightly-2025-03-24(full list with versions):

Uses three types of the command line arguments and order of their parsing. All groups usually are not nested one into the others (but using the sequence of parsing functions, you can parse also nested structures as well).

Changes

Revision history for cli-arguments

0.1.0.0 – 2021-12-27

  • First version. Released on an unsuspecting world.

0.1.0.1 – 2021-12-27

  • First version revised A. Improved the cabal file so that the description is correct.

0.2.0.0 – 2021-12-28

  • Second version. Fixed issues with the partially defined function. Added new functionality related to sorting and arrays.

0.3.0.0 – 2021-12-29

  • Third version. Added new functions with the 1 in their names to deal with apropos (in some way) framed by two delimiters variants of the groups. Some code improvements, reduced duplications, changed pragmas INLINE to INLINABLE.

0.3.1.0 – 2021-12-30

  • Third version revised A. Added some more general functions to process arrays, type synonyms to improve code readability, reduced code duplication.

0.4.0.0 – 2022-01-10

  • Fourth version. Added new functions. Changed the dependency boundaries.

0.5.0.0 – 2022-01-11

  • Fifth version. Added 3 new modules CLI.Arguments.Parsing, CLI.Arguments.Arr, CLI.Arguments.Get and the new functionality to the first one, splitted the previous one between the last two. This should improve importing opportunities.

0.6.0.0 – 2022-01-12

  • Sixth version. Removed the functionality from the CLI.Arguments module that has a bug in it and non-consistent logics. Splitted the functionality between modules further, added a new module CLI.Arguments.Sorted with the corresponding functionality. Please, use the CLI.Arguments.Parsing module as logic and consistent one.

0.7.0.0 – 2023-01-30

  • Seventh version. Switched to NoImplicitPrelude extension. Some documentation improvements. Changed the dependency boundaries.