update version, change help text
This commit is contained in:
@@ -18,4 +18,5 @@ commit_args = ""
|
|||||||
filename = ".version"
|
filename = ".version"
|
||||||
[[tool.bumpversion.files]]
|
[[tool.bumpversion.files]]
|
||||||
filename = "src/__init__.py"
|
filename = "src/__init__.py"
|
||||||
|
[[tool.bumpversion.files]]
|
||||||
|
filename = "pyproject.toml"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "librarysystem"
|
name = "librarysystem"
|
||||||
version = "0.2.3"
|
version = "0.3.1"
|
||||||
description = "A library system for loaning books and managing the users."
|
description = "A library system for loaning books and managing the users."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -19,11 +19,17 @@ _config = Config("config/settings.yaml")._config
|
|||||||
|
|
||||||
|
|
||||||
args = argparse.ArgumentParser()
|
args = argparse.ArgumentParser()
|
||||||
args.add_argument("--debug", help="Debugging mode", action="store_true")
|
args.add_argument(
|
||||||
args.add_argument("--no-backup", help="Disable backups", action="store_true")
|
"--debug", help="Debugging mode, active for the active run", action="store_true"
|
||||||
|
)
|
||||||
|
args.add_argument(
|
||||||
|
"--no-backup", help="Disable backups for the active run", action="store_true"
|
||||||
|
)
|
||||||
args.add_argument("--version", help="Print version", action="store_true")
|
args.add_argument("--version", help="Print version", action="store_true")
|
||||||
args.add_argument(
|
args.add_argument(
|
||||||
"--no-documentation", help="Disable documentation", action="store_true"
|
"--no-documentation",
|
||||||
|
help="Disable documentation for the active run",
|
||||||
|
action="store_true",
|
||||||
)
|
)
|
||||||
args = args.parse_args()
|
args = args.parse_args()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user