Draft
Conversation
…lled updates - add new CLI module at src/lisflood/settings_tool.py - support updates from YAML and CLI args for lfoptions/lfuser only - preserve comments and write pretty-printed XML output - add --check mode for structure/section validation without writing - intentionally disable lfbinding/lfuser compatibility enforcement - expose tool via setup.py console entry point: lisflood-settings-tool=lisflood.settings_tool:main - document usage examples in README - add focused tests for rewrite, YAML/CLI updates, check mode, and protection against lfbinding edits
…nd explicit I/O flags - rename console script from lisflood-settings-tool to lisflood-settings - replace flat interface with subcommands: check and set - switch positional input/output to explicit flags: --input/-i and --output/-o - rename --yaml to --file/-f and --option/--user to --lfoptions/--lfuser - remove deprecated generic --set section.name=value interface - allow list-style and repeated key/value updates for --lfoptions and --lfuser - enforce KEY=VALUE parsing at argparse level for clearer failures - keep edits constrained to lfoptions and lfuser (lfbinding untouched) - update README examples and expand tests for new interface and validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DRAFT PR! Don't review yet, we'll iterate on the code.
Adding lisflood-settings tool, with following use cases: