[ 原始碼: python-cloup ]
套件:python3-cloup(3.0.5-1)
Click with option groups
Cloup enriches Click with several features that make it more expressive and configurable:
* option groups and an (optional) help section for positional arguments * constraints, like mutually_exclusive, that can be applied to option groups or to any group of parameters, even conditionally subcommand aliases * subcommands sections, i.e. the possibility to organize the subcommands of a Group in multiple help sections * a themeable HelpFormatter that: - has more parameters for adjusting widths and spacing, which can be provided at the context and command level use a different layout when the terminal width is below a certain threshold in order to improve readability - suggestions like "did you mean <subcommand>?" when you mistype a subcommandMoreover, Cloup improves on IDE support providing decorators with detailed type hints and adding the static methods Context.settings() and HelpFormatter.settings() for creating dictionaries of settings.
This package provides the Python 3 module.
其他與 python3-cloup 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-click
- Wrapper around optparse for command line utilities - Python 3.x
-
- dep: python3-typing-extensions
- Backported and Experimental Type Hints for Python
- 或者 python3-supported-min (>> 3.8)
- 套件暫時不可用