Coverage for little_loops / cli / issues / next_id.py: 0%
7 statements
« prev ^ index » next coverage.py v7.12.0, created at 2026-03-18 16:18 -0500
« prev ^ index » next coverage.py v7.12.0, created at 2026-03-18 16:18 -0500
1"""ll-issues next-id: Print the next globally unique issue number."""
3from __future__ import annotations
5from typing import TYPE_CHECKING
7if TYPE_CHECKING:
8 from little_loops.config import BRConfig
11def cmd_next_id(config: BRConfig) -> int:
12 """Print the next globally unique issue number.
14 Args:
15 config: Project configuration
17 Returns:
18 Exit code (0 = success)
19 """
20 from little_loops.issue_parser import get_next_issue_number
22 next_num = get_next_issue_number(config)
23 print(f"{next_num:03d}")
24 return 0