chore: publish from staged

This commit is contained in:
github-actions[bot]
2026-06-11 05:58:48 +00:00
parent 8e752b59fd
commit a529810787
2 changed files with 6 additions and 0 deletions
@@ -233,6 +233,9 @@ def add_arrow_to_diagram(
def main():
"""Main entry point."""
if hasattr(sys.stdout, "reconfigure"):
# Ensure consistent UTF-8 output on Windows consoles.
sys.stdout.reconfigure(encoding="utf-8")
if len(sys.argv) < 6:
print("Usage: python add-arrow.py <diagram_path> <from_x> <from_y> <to_x> <to_y> [OPTIONS]")
print("\nOptions:")
@@ -329,6 +329,9 @@ def add_icon_to_diagram(
def main():
"""Main entry point."""
if hasattr(sys.stdout, "reconfigure"):
# Ensure consistent UTF-8 output on Windows consoles.
sys.stdout.reconfigure(encoding="utf-8")
if len(sys.argv) < 5:
print("Usage: python add-icon-to-diagram.py <diagram_path> <icon_name> <x> <y> [OPTIONS]")
print("\nOptions:")