Display your entire CLI structure, beautifully. Screenshot ready.
Project description
typer-helptree
The helptree command can be added to your Typer CLI.
User story
- Dev: "I want to a screenshot of my CLI structure, to add to my GitHub release and to my README."
typer-helptree helptree
How To
Use helptree in your Typer CLI:
# src/your_fancy_app/cli.py
# --- Imports ---
import typer
from rich.console import Console
# Import the add_typer_helptree command.
from typer_helptree.helptree import add_typer_helptree
# --- Typical App Instantiation ---
APP_NAME "your-fancy-app"
console = Console()
app = typer.Typer(
name=APP_NAME
)
# --- The Magic ---
add_typer_helptree(app = app, console = console)
And then, from the command line:
your-fancy-app helptree
Projects that use typer-helptree
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typer_helptree-0.1.6.tar.gz.
File metadata
- Download URL: typer_helptree-0.1.6.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a8cb54fbc003243adf4ff99bae91b98abcdda3a0960c1c65a975f67c4448b7e
|
|
| MD5 |
c20bd3ea3a0c0236af23a5cf294111bc
|
|
| BLAKE2b-256 |
cde9afab00ac53685a6cd768a17871986cfa43525fd85ca63245f33d3b61d88f
|
Provenance
The following attestation bundles were made for typer_helptree-0.1.6.tar.gz:
Publisher:
publish.yml on City-of-Memphis-Wastewater/typer-helptree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typer_helptree-0.1.6.tar.gz -
Subject digest:
9a8cb54fbc003243adf4ff99bae91b98abcdda3a0960c1c65a975f67c4448b7e - Sigstore transparency entry: 844694403
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/typer-helptree@58dd6cf85ece87e9d9d0de692dc2d4514294da93 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/City-of-Memphis-Wastewater
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@58dd6cf85ece87e9d9d0de692dc2d4514294da93 -
Trigger Event:
release
-
Statement type:
File details
Details for the file typer_helptree-0.1.6-py3-none-any.whl.
File metadata
- Download URL: typer_helptree-0.1.6-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56a83c94cff774d63a1d799fd80ad12f37a4ae48fbd258df3f4829bb840ec19f
|
|
| MD5 |
930f6c4c4c1a5879bbcc5e6a27975c74
|
|
| BLAKE2b-256 |
e5c03c639e8a8fd6012afbf10671b0319d74d8415282471ea937ad585aad4326
|
Provenance
The following attestation bundles were made for typer_helptree-0.1.6-py3-none-any.whl:
Publisher:
publish.yml on City-of-Memphis-Wastewater/typer-helptree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typer_helptree-0.1.6-py3-none-any.whl -
Subject digest:
56a83c94cff774d63a1d799fd80ad12f37a4ae48fbd258df3f4829bb840ec19f - Sigstore transparency entry: 844694406
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/typer-helptree@58dd6cf85ece87e9d9d0de692dc2d4514294da93 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/City-of-Memphis-Wastewater
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@58dd6cf85ece87e9d9d0de692dc2d4514294da93 -
Trigger Event:
release
-
Statement type: