It would be useful to have commands that can be used to create the .old files and later remove them.
Examples create
vendor/bin/vendor-patches backup vendor/nette/di/src/DI/Extensions/InjectExtension.php vendor/nette/di/src/DI/Extensions/InjectionException.php
# will create
vendor/nette/di/src/DI/Extensions/InjectExtension.php.old
vendor/nette/di/src/DI/Extensions/InjectionException.php.old
Examples create
vendor/bin/vendor-patches cleanup
# will remove
vendor/nette/di/src/DI/Extensions/InjectExtension.php.old
vendor/nette/di/src/DI/Extensions/InjectionException.php.old
Optionally, it would also be conceivable to clean up the .old files using a command option or by asking for confirmation at the end of the generate command.
It would be useful to have commands that can be used to create the .old files and later remove them.
Examples create
Examples create
Optionally, it would also be conceivable to clean up the .old files using a command option or by asking for confirmation at the end of the generate command.