postgres_metrics.management.commands.pgm_show_metric module

class postgres_metrics.management.commands.pgm_show_metric.Command(stdout: IO[str] | None = None, stderr: IO[str] | None = None, no_color: bool | None = False, force_color: bool | None = False)[source]

Bases: django_rich.management.RichCommand

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)[source]

The actual logic of the command. Subclasses must implement this method.

help = 'Show the selected metric.'