-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add dry run option #1
Comments
Can you show an example of how that would look like? How would it list the changes? |
@sindresorhus I imagine sth like |
@NightMachinary I like it 👍
Sure. However, this CLI is really meant to be used in run scripts of packages/apps, where you're already using Git, so you can always just revert the commit / working directory if you did something wrong. |
Yup, I also like @NightMachinary proposal. Maybe one could also add a interactive mode, where the user has to confirm (y/n) each replacement. |
If the dry run option is set, then no changes should happen, instead it should list all changes that would happen.
The text was updated successfully, but these errors were encountered: