gctools.py 667 B

1234567891011121314151617181920212223242526272829303132
  1. import typer
  2. import backup
  3. import c7
  4. import c11
  5. import db
  6. import misc2
  7. import status
  8. import xls
  9. version = "1.0"
  10. version_date = "25.02.2025"
  11. app = typer.Typer(
  12. help=(
  13. "gctools.exe - Hilfe unter https://docs.global-cube.com/5_Tasks/3_gctools/\n\n"
  14. f"Version {version} vom {version_date}"
  15. ),
  16. no_args_is_help=True,
  17. add_completion=False,
  18. )
  19. app.add_typer(backup.app, name="backup")
  20. app.add_typer(c11.app, name="c11")
  21. app.add_typer(c7.app, name="c7")
  22. app.add_typer(db.app, name="db")
  23. app.add_typer(misc2.app, name="misc")
  24. app.add_typer(xls.app, name="excel")
  25. app.add_typer(status.app, name="status")
  26. if __name__ == "__main__":
  27. app()