Closed asaha123 closed 1 year ago
Hey folks, new to the library. Just upgrading from 2.6.x to 4.x. https://github.com/ajalt/clikt/commit/3c56cacb56b4f83522fc32993cca753c0503fdb8 removed FlagOption. Is the correct replacement: OptionWithValues<Boolean, Boolean, Boolean>?
FlagOption
OptionWithValues<Boolean, Boolean, Boolean>
For a little more context:
We had a type alias:
typealias BooleanOption = FlagOption<Boolean>
Is the correct fix as follows?
typealias BooleanOption = OptionWithValues<Boolean, Boolean, Boolean>
This is also not mentioned in the release notes I think.
Thanks.
You're correct. Thanks for the heads up, I updated the changelog.
thanks @ajalt !
Hey folks, new to the library. Just upgrading from 2.6.x to 4.x. https://github.com/ajalt/clikt/commit/3c56cacb56b4f83522fc32993cca753c0503fdb8 removed
FlagOption
. Is the correct replacement:OptionWithValues<Boolean, Boolean, Boolean>
?For a little more context:
We had a type alias:
Is the correct fix as follows?
This is also not mentioned in the release notes I think.
Thanks.