pyhf
pyhf copied to clipboard
build: Use Typer for CLI
Description
Resolves #1674
Use Typer to provide the CLI API
Checklist Before Requesting Reviewer
- [ ] Tests are passing
- [ ] "WIP" removed from the title of the pull request
- [ ] Selected an Assignee for the PR to be responsible for the log summary
Before Merging
For the PR Assignees:
- [ ] Summarize commit messages into a comprehensive review of the PR
* Set Typer as an install requirement, replacing Click
* Drop click_completion and 'shellcomplete' extra
- Typer provides an option to generate shell completions
* ...
FYI, typer is completely broken due to click 8.1, see https://github.com/pallets/click/issues/2226 or the typer issue.
FYI, typer is completely broken due to click 8.1, see pallets/click#2226 or the typer issue.
Yeah I think this PR is going to be in stasis for quite some time (even before you pointed this out), but I didn't want to close it yet.