management.management.commands.startup_manager¶
Example integration of startup strategies into managestartup command.
This file shows how to refactor the managestartup.py command to use the strategy pattern. Copy the relevant parts into managestartup.py to complete the refactoring.
Classes¶
A Django management command to check and update the Trustpoint version. |
Module Contents¶
- class management.management.commands.startup_manager.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶
Bases:
django.core.management.base.BaseCommandA Django management command to check and update the Trustpoint version.
- handle(**_options)[source]¶
Entrypoint for the command.
- Parameters:
_options (dict[str, str])
- Return type:
None