beat.web.common.management.commands.base module

class beat.web.common.management.commands.base.InteractiveCommand(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django.core.management.base.BaseCommand

Base class for all interactive commands

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

get_input_data(message, default=None)[source]

Override this method if you want to customize data inputs or validation exceptions.