Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): deprecate input:output syntax #27

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Conversation

loichyan
Copy link
Owner

@loichyan loichyan commented Oct 2, 2024

Fixes #26. As noted in #26, the colon in input:output can conflict with paths on Windows, such as C:\Path. This PR deprecates that syntax and introduces a new --output argument. The --output argument specifies a different path for saving the fixed files and must be paired with source paths. For example, nerdfix fix -o output1 -o "" input1 input2 saves input1 to output1 and writes input2 in place.

@loichyan loichyan merged commit e7b0b83 into main Oct 2, 2024
8 checks passed
@loichyan loichyan deleted the fix/optional-output branch October 2, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to fix files on a directory recursively? ( WIN 10 )
1 participant