typer-cli
typer-cli copied to clipboard
⬆️ Update typer requirement from ^0.3.0 to >=0.3,<0.7
Updates the requirements on typer to permit the latest version.
Release notes
Sourced from typer's releases.
0.6.1
Fixes
- 🐛 Fix setting
FORCE_TERMINAL
with colors 2. PR #424 by@tiangolo
.- 🐛 Fix setting
FORCE_TERMINAL
with colors. PR #423 by@tiangolo
.
Changelog
Sourced from typer's changelog.
0.6.1
Fixes
- 🐛 Fix setting
FORCE_TERMINAL
with colors 2. PR #424 by@tiangolo
.- 🐛 Fix setting
FORCE_TERMINAL
with colors. PR #423 by@tiangolo
.0.6.0
This release adds deep integrations with Rich. ✨
rich
is an optional dependency, you can install it directly or it will be included when you install with:$ pip install "typer[all]"
If Rich is available, it will be used to show the content from
--help
options, validation errors, and even errors in your app (exception tracebacks).There are new options to group commands, CLI arguments, and CLI options, support for Rich Console Markup, and more! 🎉
Features
- ✨ Richify, add integrations with Rich everywhere. PR #419 by
@tiangolo
.
- Recommend Rich as the main information displaying tool, new docs: Printing and Colors.
- For most use cases not using Rich, use plain
print()
instead oftyper.echo()
in the docs, to simplify the concepts and avoid confusions. New docs: Printing and Colors - typer Echo.- Define help panels for CLI arguments, new docs: CLI Arguments with Help - CLI Argument help panels.
- Define help panels for CLI options, new docs: CLI Options with Help - CLI Options help panels.
- New docs for deprecating commands: Commands - Command Help - Deprecate a Command.
- Support for Rich Markdown in docstrings, CLI parameters
help
, andepilog
with the new parametertyper.Typer(rich_markup_mode="markdown")
, new docs: Commands - Command Help - Rich Markdown and Markup.- Support for Rich Markup (different from Markdown) in docstrings, CLI parameters
help
, andepilog
with the new parametertyper.Typer(rich_markup_mode="rich")
, new docs: Commands - Command Help - Rich Markdown and Markup.- Define help panels for commands, new docs: Commands - Command Help - Help Panels.
- New docs for setting an
epilog
, with support for Rich Markdown and Console Markup, new docs: Commands - Command Help - Epilog.- ✨ Refactor and document handling pretty exceptions. PR #422 by
@tiangolo
.
- Add support for customizing pretty short errors, new docs: Exceptions and Errors.
- ✨ Allow configuring pretty errors when creating the Typer instance. PR #416 by
@tiangolo
.Docs
- 📝 Add docs for using Rich with Typer. PR #421 by
@tiangolo
.
- Add new docs: Ask with Prompt - Prompt with Rich.
- Add new docs to handle progress bars and spinners with Rich: Progress Par.
Internal
- ⬆️ Upgrade codecov GitHub Action. PR #420 by
@tiangolo
.0.5.0
Features
... (truncated)
Commits
fac64ca
🔖 Release version 0.6.1d182589
📝 Update release notes7f44e6d
🐛 Fix settingFORCE_TERMINAL
with colors 2 (#424)ef59fb2
📝 Update release notesf6626c8
🐛 Fix settingFORCE_TERMINAL
with colors (#423)b0c2647
✏️ Fix typo in release notescabc0c1
🔖 Release version 0.6.00772d75
📝 Update release notesa51df7e
📝 Update release notesc750f82
✨ Refactor and document handling pretty exceptions (#422)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)