feat!: Build the CLI with cli-components and chain apply targets #8
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/cli-components"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This moves modify-csv onto cli-components (>=2026.10.3) and adds target chaining to
apply.refactor: Build the CLI with cli-componentsParser: required subcommands, the script-source exclusive group, typed row/column values, and per-command help pages.feat!: Chain apply targets and require the apply command--row,--columnand--cellcan be repeated and mixed. The script runs over them in the order given:transform_csvalso accepts a sequence of targets. Single-target calls are unchanged, includingtarget=passed by keyword.modify-csv --helplists the commands, and the script contract appears onapply --helpandtemplate --help.BREAKING_CHANGES.md, linked from the README, to track releases that aren't backward compatible.Breaking changes
All of these are listed in
BREAKING_CHANGES.mdunder Unreleased:applyis required. The original form without a command (modify-csv IN OUT --script-file F --row 2) is gone. Every single-targetapplycommand still works unchanged.--cellerrors now use theapplyusage line, like every other argument error.At release time, rename the Unreleased heading to the release version.
Verification
twine checkpasses on the wheel and sdist.🤖 Generated with Claude Code
https://claude.ai/code/session_01XazST7Ly1bCbjWnhjrHXJk