chore: run site tools through run_cli

The image and diagram scripts accepted abbreviated options and bypassed
run_cli. The FAQ checks read faq.md only, while the questions on hashes
and checks moved to technical-faq.md.
This commit is contained in:
Abdessamad Derraz committed 2026-10-22 12:46:34 +02:00
1 parent baf38ffbee
commit 42a0498d20
4 files changed
+16 -6

No files matched your search

+4 -2
View File
@@ -172,7 +172,7 @@ def fetch_icons() -> None:
def main() -> None:
parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
parser = argparse.ArgumentParser(allow_abbrev=False, description=__doc__.split("\n\n")[0])
parser.add_argument("--only", choices=("logos", "icons"), help="fetch one kind only")
args = parser.parse_args()
if args.only in (None, "logos"):
@@ -184,4 +184,6 @@ def main() -> None:
if __name__ == "__main__":
main()
from common import run_cli
run_cli(main)