Compare commits
2 commits
27ee7f0f1b
...
01aa36c1d7
| Author | SHA1 | Date | |
|---|---|---|---|
| 01aa36c1d7 | |||
| dd08fb6e46 |
6 changed files with 15 additions and 13 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
## 0.2.0a21 (2025-09-29)
|
||||||
|
|
||||||
|
### Feat
|
||||||
|
|
||||||
|
- add cli.read_write option
|
||||||
|
|
||||||
## 0.2.0a20 (2025-09-22)
|
## 0.2.0a20 (2025-09-22)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail.cli"
|
name = "rougail.cli"
|
||||||
version = "0.2.0a20"
|
version = "0.2.0a21"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "CLI for Rougail"
|
description = "CLI for Rougail"
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ def _main(arguments, do_not_print):
|
||||||
err_warn["errors"].extend(ret["errors"])
|
err_warn["errors"].extend(ret["errors"])
|
||||||
err_warn["warnings"].extend(ret["warnings"])
|
err_warn["warnings"].extend(ret["warnings"])
|
||||||
# output
|
# output
|
||||||
if config:
|
if config and not rougailconfig["cli.load_config"]:
|
||||||
config.property.read_only()
|
config.property.read_only()
|
||||||
output_name = rougailconfig["step.output"]
|
output_name = rougailconfig["step.output"]
|
||||||
path = Path(__file__).parent.parent / ("output_" + output_name) / "__init__.py"
|
path = Path(__file__).parent.parent / ("output_" + output_name) / "__init__.py"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "0.2.0a20"
|
__version__ = "0.2.0a21"
|
||||||
|
|
|
||||||
|
|
@ -35,21 +35,17 @@ cli:
|
||||||
allow_relative: true
|
allow_relative: true
|
||||||
default: .rougailcli.yml
|
default: .rougailcli.yml
|
||||||
|
|
||||||
debug:
|
debug: false # {_('Displays debug informations')}
|
||||||
description: {_('Displays debug informations')}
|
|
||||||
default: false
|
|
||||||
|
|
||||||
warnings:
|
warnings: true # {_('Displays command line option warnings informations')}
|
||||||
description: {_('Displays command line option warnings informations')}
|
|
||||||
default: true
|
|
||||||
|
|
||||||
versions:
|
versions: false # {_('Displays Rougail version and all its components')}
|
||||||
description: {_('Displays Rougail version and all its components')}
|
|
||||||
default: false
|
|
||||||
|
|
||||||
load_config:
|
load_config:
|
||||||
default: true
|
default: true
|
||||||
hidden: true
|
hidden: true
|
||||||
|
|
||||||
|
read_write: false # {_('Configuration in output step is in read_write mode')}
|
||||||
"""
|
"""
|
||||||
return {
|
return {
|
||||||
"options": options,
|
"options": options,
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
["tiramisu: 5.2.0a10", "tiramisu-cmdline-parser: 0.7.0a1", "rougail: 1.2.0a30", "rougail-cli: 0.2.0a19", "rougail-structural-bitwarden: 0.1.0a5", "rougail-user-data-ansible: 0.1.0a3", "rougail-user-data-bitwarden: 0.1.0a21", "rougail-user-data-environment: 0.1.0a9", "rougail-user-data-yaml: 0.2.0a11", "rougail-output-ansible: 0.2.0a12", "rougail-output-console: 0.2.0a11", "rougail-output-doc: 0.2.0a25", "rougail-output-json: 0.2.0a8"]
|
["tiramisu: 5.2.0a10", "tiramisu-cmdline-parser: 0.7.0a1", "rougail: 1.2.0a31", "rougail-cli: 0.2.0a20", "rougail-structural-bitwarden: 0.1.0a5", "rougail-user-data-ansible: 0.1.0a3", "rougail-user-data-bitwarden: 0.1.0a21", "rougail-user-data-environment: 0.1.0a10", "rougail-user-data-yaml: 0.2.0a12", "rougail-output-ansible: 0.2.0a13", "rougail-output-console: 0.2.0a12", "rougail-output-doc: 0.2.0a25", "rougail-output-json: 0.2.0a9"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue