Rework CLI input and scope handling#33
Open
NickSdot wants to merge 2 commits into
Open
Conversation
This was referenced Jul 20, 2026
NickSdot
force-pushed
the
stack-02-cli-scope
branch
from
July 21, 2026 00:15
ce2dbce to
0563975
Compare
This was referenced Jul 21, 2026
Draft
NickSdot
force-pushed
the
stack-02-cli-scope
branch
2 times, most recently
from
July 21, 2026 08:44
4d87315 to
7c3fc93
Compare
NickSdot
force-pushed
the
stack-02-cli-scope
branch
from
July 22, 2026 05:40
7c3fc93 to
c26bc1e
Compare
NickSdot
force-pushed
the
stack-02-cli-scope
branch
from
July 22, 2026 07:39
c26bc1e to
78d850b
Compare
NickSdot
marked this pull request as ready for review
July 22, 2026 07:39
Contributor
Author
|
Rebased and ready for review. |
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.
Makes diff the default input, detects piped diffs automatically, adds
--wide, and separates input planning from execution.Depends on #29, #30, #31, and #32.
This PR diff will shrink as preceding PRs are merged and this branch is rebased.
As discussed
--diff-behaviour is now the default. Piping a diff is still possible and detected automatically -- it no longer requires a--diffflag and diffs can be piped, hence--diffhad no more function and was removed. Passing paths works as before. Since diff is not default, full runs are now covered by eitherdocbook-cs .ordocbook-cs path/docs-root/. What we discussed as--greedyis now--wider. The table shows how it works.--wide<path><path>git diff | …git diff | …