Skip to content

Navigation Menu

Sign in
Sign up

Express interaction between options (mutually exclusive, co-occurring, etc.) #65

Unanswered
joffrey-bion asked this question in Ideas and suggestions
Discussion options

I use the Clikt library for all my Kotlin CLI tools. One of the huge perks of this CLI library is that it allows to express in detail what is and isn't valid, providing very precise validation and error messages, so we can focus on the actual commands implementation.

It would be nice if the OpenCLI spec could also express this in more details. In particular, provide a way to express interaction between options: mutually exclusive options, co-occurring option groups, group switches, etc.

You must be logged in to vote

Replies: 1 comment

Comment options

@joffrey-bion Yes, having all these in the specification would be awesome!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /