fix: resolve CI/CD issues with proper package structure and imports
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-03 03:54:35 +00:00
parent 29057090f1
commit 620f2f412c

View File

@@ -0,0 +1,23 @@
"""CLI entry point."""
import sys
def main():
"""Main entry point for the CLI."""
from local_api_docs_search.cli.commands import cli
try:
cli.main(prog_name="api-docs")
except KeyboardInterrupt:
sys.exit(0)
except Exception as e:
import logging
logging.basicConfig(level=logging.ERROR)
print(f"Error: {e}", file=sys.stderr)
sys.exit(1)
if __name__ == "__main__":
main()