fix(ls): rename --quick to --quiet; add version command; bump to 1.3.14
- Fix ls -q long option name: --quick → --quiet (typo fix) - Remove mdrsclient/VERSION file; read version via importlib.metadata - Bump version 1.3.13 → 1.3.14 - Add Python 3.14 to supported classifiers; promote to Development Status 4 - Beta - Add `version` subcommand (prints "mdrs <version>") - Document `version` command in README Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
import os
|
||||
from importlib.metadata import version
|
||||
|
||||
here = os.path.realpath(os.path.dirname(__file__))
|
||||
|
||||
with open(os.path.join(here, "VERSION")) as version_file:
|
||||
__version__ = version_file.read().strip()
|
||||
__version__ = version("mdrs-client-python")
|
||||
|
||||
__all__ = ["__version__"]
|
||||
|
||||
Reference in New Issue
Block a user