You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In click, I could specify the type of an option, like this: 1 with the types specified here: 23 .
This is expecially useful for files with the click.File class. cloup.File does not exist; Also it looks to me as if the whole typing functionality from click was not adopted. Are there alternatives to achieve similar functionality in cloup?
The text was updated successfully, but these errors were encountered:
More in general, what you can do with Click, you can do with Cloup too, because Cloup commands are Click commands (subclasses) and Cloup parameters are Click parameters.
Note that, even though Cloup has Click as a dependency, you should explicitly add Click to your requirements too because you are gonna use it directly in your code (usually only for types). I'll add this to the installation instructions.
Currently, there's no plan to re-export Click types from Cloup itself. But it's something I've thoght about in the past. Maybe I'll open an issue to keep that in mind because types are usually the only reason I import click.
In click, I could specify the type of an option, like this: 1 with the types specified here: 2 3 .
This is expecially useful for files with the
click.File
class.cloup.File
does not exist; Also it looks to me as if the whole typing functionality from click was not adopted. Are there alternatives to achieve similar functionality in cloup?The text was updated successfully, but these errors were encountered: