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

Uploaded Python 3

File details

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

File metadata

  • Download URL: typer_helptree-0.1.10.tar.gz
  • Upload date:
  • Size: 8.4 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.10.tar.gz
Algorithm Hash digest
SHA256 40f622198eed9815ad9143c727c93b0a276a49237fbaf6abee892e027bd646be
MD5 56670b80f2142d983959cd9842790bd8
BLAKE2b-256 e6600a1fba0fc0274f0d098f744f8c8d4a53e0be3fd2cc02826751bbb808a1e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for typer_helptree-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 853c5fcac4ec5aab35690aaca83d9d7ce6741b51fcfe97889638dffa3ee5e370
MD5 e9d07976291e1bb264e46ca9a5ccc334
BLAKE2b-256 38841146aa60823260aa00527958855f9a5a0b8705577073e634b5b63f8072ed

See more details on using hashes here.

Provenance

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