remkop / picocli

Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.

Home Page:https://picocli.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArgGroup with multiplicity 1 is validated "too" late

xehpuk opened this issue · comments

When there's an interactive option, then the missing of an ArgGroup only gets validated after providing the interactive option. The parsing should fail earlier.

Sorry for my late response.
Can you provide a test to help me reproduce the issue?

@xehpuk It would help greatly if you could provide a test that reproduces the issue.