chore: publish from staged

This commit is contained in:
github-actions[bot]
2026-06-11 05:58:49 +00:00
parent 68945defe3
commit 2ca3b85095
2 changed files with 6 additions and 0 deletions
@@ -233,6 +233,9 @@ def add_arrow_to_diagram(
def main(): def main():
"""Main entry point.""" """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: if len(sys.argv) < 6:
print("Usage: python add-arrow.py <diagram_path> <from_x> <from_y> <to_x> <to_y> [OPTIONS]") print("Usage: python add-arrow.py <diagram_path> <from_x> <from_y> <to_x> <to_y> [OPTIONS]")
print("\nOptions:") print("\nOptions:")
@@ -329,6 +329,9 @@ def add_icon_to_diagram(
def main(): def main():
"""Main entry point.""" """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: if len(sys.argv) < 5:
print("Usage: python add-icon-to-diagram.py <diagram_path> <icon_name> <x> <y> [OPTIONS]") print("Usage: python add-icon-to-diagram.py <diagram_path> <icon_name> <x> <y> [OPTIONS]")
print("\nOptions:") print("\nOptions:")