postgres_metrics.management.commands.pgm_show_metric module

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

Bases: 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.'