1. Summary
It would be nice if Autotyping will have the --dry-run mode.
2. Example of desired behavior
- Autotyping will have the command-line argument named like
--diff or --dry-run or --preview. If this argument enabled, Autotyping will output to console proposed changes instead of modifying files in-place.
- If Autotyping proposes one or more changes, the command exits with non-zero exit code. This is helpful when using Autotyping in Continuous Integration or in pre-commit hooks.
3. Justification of the need of the feature
- Checking behavior. Modifying results may be strange or non-expected for users especially if they use such an option as
--aggressive. Previewing is useful for understanding how a program works.
- Detecting problems. 100% safe file modifiers isn’t existing. I prefer to preview a behavior of all programs (especially new for me) that modify my sources to prevent possible problems.
Thanks.
1. Summary
It would be nice if Autotyping will have the
--dry-runmode.2. Example of desired behavior
--diffor--dry-runor--preview. If this argument enabled, Autotyping will output to console proposed changes instead of modifying files in-place.3. Justification of the need of the feature
--aggressive. Previewing is useful for understanding how a program works.Thanks.