diff --git a/src/cli/print.py b/src/cli/print.py index 7af7244..6f23dfb 100644 --- a/src/cli/print.py +++ b/src/cli/print.py @@ -25,9 +25,9 @@ def format_marker(marker: Marker) -> str: if isinstance(marker, Point): return format_point_marker(marker) elif isinstance(marker, Track): - raise NotImplementedError("Track markers are not supported") + return f"{marker.name} - {marker.points[0]} <--[{len(marker.points)}]--> {marker.points[-1]}" elif isinstance(marker, Area): - raise NotImplementedError("Area markers are not supported") + return f"{marker.name} ({len(marker.points)} points)" else: raise ValueError(f"Unknown marker type: {marker}")