def test_get_cli_usage_docstring() -> None:
    """Test if the CLI usage docstring is correctly parsed."""
    assert get_cli_usage_docstring(None) is None

    class Component:
        """<Prev Section>.

        CLI Usage:
            1. First Step.
            2. Second Step.

        <Next Section>
        """

    assert get_cli_usage_docstring(Component) == "1. First Step.\n2. Second Step."

    class Component2:
        """<Prev Section>.

        CLI Usage-Test:
            test: test.

        <Next Section>
        """

    assert get_cli_usage_docstring(Component2) is None
Test if the CLI usage docstring is correctly parsed.
tests/unit/cli/test_help_formatter.py