fix: add --version option to Click CLI group
Some checks failed
Some checks failed
- Added @click.version_option decorator to main() in commands.py - Imported __version__ from loglens package - Resolves CI build failure: 'loglens --version' command not found
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
"""CLI package."""
|
from loglens.cli.commands import main
|
||||||
|
|
||||||
from loglens.cli.main import main
|
__all__ = ["main"]
|
||||||
from loglens.cli.commands import analyze, watch, report
|
|
||||||
|
|
||||||
__all__ = ["main", "analyze", "watch", "report"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user