Skip to main content

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/yourtyperapp/cli.py

# --- External Imports ---
import typer
from rich.console import Console
# Import the add_typer_helptree command.
from typer_helptree.helptree import add_typer_helptree

# --- Internal Imports ---
from ._version import __version__ # or however you do this.

# --- Typical Typer App Instantiation ---
APP_NAME "yourtyperapp"
console = Console()
app = typer.Typer(
    name=APP_NAME
)

# --- The Magic ---

add_typer_helptree(app=app, console=console, version = __version__, hidden=True)

And then, from the command line:

yourtyperapp helptree

To export an SVG and JSON to the ~/.typer_helptree dir:

yourtyperapp helptree --export-svg --export-json

Projects that use typer-helptree

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.2.11.tar.gz (12.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.2.11-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: typer_helptree-0.2.11.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for typer_helptree-0.2.11.tar.gz
Algorithm Hash digest
SHA256 b497d78f78fb815496655224be5f5d545355157c0a898731ad9908ab76083d57
MD5 43bddd08893d03211b737fd628f4dc37
BLAKE2b-256 4f9b9ba1f2a02c2c5fde02b28423434551a1ba7933c58a94f4b69296b45ae15b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for typer_helptree-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 173dca5b27f93fc67060484ff468243317d75b94ca3538365d7ecc87bd2bb725
MD5 5989e9c57bdf8b3b31112aeae65a68f3
BLAKE2b-256 9f3305b5c45e610e8b6b530dabc1d40fc6167f94b9693ccce2a0147562f02b6a

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

0.2.12

2 files

This release

0.2.11 This release

2 files

0.2.10.5

2 files

0.2.10.4

2 files

0.2.10.2

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.2

2 files

0.2.1

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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