Add loglens package files (parsers, cli, config)
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 / test (3.9) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-02 10:05:23 +00:00
parent 048517a04d
commit 1ee4225434

View File

@@ -1,4 +1,20 @@
"""Main CLI entry point."""
import sys
from loglens.cli.commands import main
def main_cli() -> int:
"""Main entry point for LogLens CLI."""
try:
return main(standalone_mode=False)
except SystemExit:
raise
except Exception as e:
print(f"Error: {e}", file=sys.stderr)
return 1
if __name__ == "__main__":
main()
sys.exit(main_cli())