Skip to content

v1.2.0

Compare
Choose a tag to compare
@andrey-zherikov andrey-zherikov released this 16 Sep 22:09
· 103 commits to master since this release
51dd8de

Enhancements

  • Add support of custom types:
    struct Value
    {
        string a;
    }
    struct T
    {
        @(NamedArgument.Parse!((string s) { return Value(s); }))
        Value s;
    }

Bug fixes

  • Fix for the case when main program is attributed with Command without name:

    @(Command.Description("Description of main program"))
    struct Program
    {
    ...
    }
  • Ignore arguments with long invocation text during indent calculation for help text:

    Optional arguments:
      -x X          1 x
      --yyyyyyyyyyyy YYYYYYYYYYYY
                    12 ys
      -h, --help    Show this help message and exit