Skip to main content

CeleryCommand

Customized command for Celery.

Methods​


format_options()​

@classmethod
def format_options(
ctx: click.Context,
formatter: click.HelpFormatter
) - > null

Write all the options into the formatter if they exist.

Parameters​

NameTypeDescription
ctxclick.ContextThe Click context object containing state for the current command execution.
formatterclick.HelpFormatterThe help formatter object used to structure and render the command-line interface help text.

Returns​

TypeDescription
nullThis method does not return a value; it writes directly to the provided formatter object.