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,13 +1,6 @@
|
||||
"""Output formatters package."""
|
||||
|
||||
from loglens.formatters.base import OutputFormatter
|
||||
from loglens.formatters.table_formatter import TableFormatter
|
||||
from loglens.formatters.base import Formatter
|
||||
from loglens.formatters.json_formatter import JSONFormatter
|
||||
from loglens.formatters.table_formatter import TableFormatter
|
||||
from loglens.formatters.text_formatter import TextFormatter
|
||||
|
||||
__all__ = [
|
||||
"OutputFormatter",
|
||||
"TableFormatter",
|
||||
"JSONFormatter",
|
||||
"TextFormatter",
|
||||
]
|
||||
__all__ = ["Formatter", "JSONFormatter", "TableFormatter", "TextFormatter"]
|
||||
|
||||
Reference in New Issue
Block a user