forked from pypa/sampleproject
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: add reference to recommended cli frameworks
- Loading branch information
1 parent
d7719fc
commit 757686a
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
# CLI | ||
|
||
A CLI (or command line interface) is a type of script you can run in the terminal. | ||
|
||
## Frameworks | ||
|
||
While frameworks are not required to implement a CLI in Python, they might provide a better structure and useful utilities which make them worth exploring: | ||
|
||
- [click] | ||
- [typer]: based on click, integrates with type annotations | ||
|
||
## References | ||
|
||
There is a section on [Python CLIs](https://intern.iis.fhg.de/x/IeVsBg) in the [IIS Knowledge Base][]. | ||
|
||
[iis knowledge base]: https://s.fhg.de/iis-kb | ||
[click]: https://click.palletsprojects.com/ | ||
[typer]: https://typer.tiangolo.com/ |