Compare commits

..

No commits in common. "main" and "1.0.0rc3" have entirely different histories.

5 changed files with 74 additions and 26 deletions

View file

@ -1,21 +1,69 @@
## 1.0.0 (2026-06-21)
## 1.0.0rc3 (2026-06-21)
### Fix
- update tests
## 1.0.0rc2 (2026-06-18)
### Fix
- dependencies
## 1.0.0rc1 (2026-06-18)
### Fix
- dependencies
## 0.1.0a7 (2026-06-12)
### Fix
- add allow_unknown option
## 0.1.0a6 (2026-05-04)
### Feat
- multi layers
- add tests
- first version
## 0.1.0a5 (2026-01-21)
### Fix
- rougail dependencies
- black
- update tests
- dependencies
- dependencies
- add allow_unknown option
- update tests
## 0.1.0a4 (2025-12-30)
### Fix
- update tests
## 0.1.0a3 (2025-11-21)
### Fix
- ExtentionError => ExtensionError
## 0.1.0a2 (2025-11-06)
### Fix
- update tests
## 0.1.0a1 (2025-10-10)
### Feat
- add tests
### Fix
- remove print
## 0.1.0a0 (2025-10-06)
### Feat
- first version

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.user_data_commandline"
version = "1.0.0"
version = "1.0.0rc3"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "Rougail user_data Bitwarden"
@ -24,8 +24,8 @@ classifiers = [
]
dependencies = [
"rougail >= 1.2.0,<2",
"tiramisu_cmdline_parser >= 1.0.0,<2",
"rougail >= 1.1,<2",
"tiramisu_cmdline_parser > 0.6,<2",
]
[project.urls]

View file

@ -25,15 +25,15 @@ from .__version__ import __version__
class RougailUserDataCommandline:
"""Load parameter for commande line"""
"""Load parameter for commande line
"""
def __init__(
self,
config: "Config",
*,
rougailconfig: "RougailConfig" = None,
arguments=None,
prog=None,
arguments = None,
prog = None,
allow_unknown: bool = False,
**kwargs,
):
@ -56,7 +56,10 @@ class RougailUserDataCommandline:
self.warnings = []
self.allow_unknown = allow_unknown
self.parser = TiramisuCmdlineParser(
self.config, prog=prog, exit_on_error=False, **kwargs
self.config,
prog=prog,
exit_on_error=False,
**kwargs
)
def run(self):
@ -73,13 +76,10 @@ class RougailUserDataCommandline:
if not option.isfollower():
values[key] = self.config.option(key).value.get()
else:
values[key] = [
self.config.option(key, index).value.get()
for index in range(option.value.len())
]
values[key] = [self.config.option(key, index).value.get() for index in range(option.value.len())]
return [
{
"source": _("the command line"),
"source": _('the command line'),
"errors": self.errors,
"warnings": self.warnings,
"values": values,

View file

@ -1 +1,2 @@
__version__ = "1.0.0"
__version__ = "1.0.0rc3"

View file

@ -20,9 +20,8 @@ from gettext import translation
from pathlib import Path
t = translation(
"rougail_user_data_commandline",
str(Path(__file__).parent / "locale"),
fallback=True,
"rougail_user_data_commandline", str(Path(__file__).parent / "locale"), fallback=True
)
_ = t.gettext