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.4.tar.gz (8.5 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.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file typer_helptree-0.1.4.tar.gz.

File metadata

  • Download URL: typer_helptree-0.1.4.tar.gz
  • Upload date:
  • Size: 8.5 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.4.tar.gz
Algorithm Hash digest
SHA256 5eff8f51d575ff0fe4e37de5e36f4c1af82ed32788ece3e9e98278eca94331d0
MD5 1a2e556a8e24c52d0938098224c40e7e
BLAKE2b-256 d9471834aa15755e6ebd551572a8dcdf853d0b77f5db367895abc6d2d45cf20f

See more details on using hashes here.

Provenance

The following attestation bundles were made for typer_helptree-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: typer_helptree-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 feab0494d2e8e5579f42955bce672ca29cf868d9ce35b6892fbabff7fe838ea9
MD5 85385b9ce6087161a23d62661996dd37
BLAKE2b-256 d64b4873696639ecfc99d4af2ef7666cb0b7a4c439a25e38995d467bd637dbe3

See more details on using hashes here.

Provenance

The following attestation bundles were made for typer_helptree-0.1.4-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