Skip to main content

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

Screenshot of the 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typer_helptree-0.1.6.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typer_helptree-0.1.6-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

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

Hashes for typer_helptree-0.1.6.tar.gz
Algorithm Hash digest
SHA256 9a8cb54fbc003243adf4ff99bae91b98abcdda3a0960c1c65a975f67c4448b7e
MD5 c20bd3ea3a0c0236af23a5cf294111bc
BLAKE2b-256 cde9afab00ac53685a6cd768a17871986cfa43525fd85ca63245f33d3b61d88f

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for typer_helptree-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 56a83c94cff774d63a1d799fd80ad12f37a4ae48fbd258df3f4829bb840ec19f
MD5 930f6c4c4c1a5879bbcc5e6a27975c74
BLAKE2b-256 e5c03c639e8a8fd6012afbf10671b0319d74d8415282471ea937ad585aad4326

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page