Go to file
2025-07-15 22:40:52 +02:00
Source/Spec Flesh out library idea some more 2025-07-14 22:13:58 +02:00
.gitignore Flesh out library idea some more 2025-07-14 22:13:58 +02:00
argument_parser.gpr Flesh out library idea some more 2025-07-14 22:13:58 +02:00
README.md Add things to README.md 2025-07-15 22:40:52 +02:00

Argument_Parser

A Command-Line interface for Ada, heavily inspired by the advice from clig.dev.

Build

The library can be easily build with gprbuild:

gprbuild -Pargument_parser

The static library is then available under lib.

Usage

with Argument_Parser; use Argument_Parser;

procedure Main is

    Parser : Argument_Parser;

begin

    Parser.Add_Positional (
        Integer_Option,
        "Index",
        "The Index of the input");

    Parser.Add_Positional (
        String_Option,
        "Name",
        "Name of the project");

    Parser.Add_Option (
        Boolean_Option (False),

    );

end Main;