codemod
codemod copied to clipboard
[cli] Add short version of `--no-interactive` flag like `-y`
Issue Description
Select one of:
- [ ] Generated codemod is not correct
- [ ] Bug in Codemod Studio
- [ ] UI/UX improvement request
- [x] Feature request
I want to run codemod in non-interactive mode quickly.
Steps to Reproduce
- Make changes in your code but don't commit them
- Run any codemod
Actual Results
I have to type a long --no-interactive flag at the end of the command or interactively write y and press Enter. This is more annoying when you need to run several codemods, but after each one, you want to check the result.
Expected Results
I could pass -y flag as an alias of --no-interactive.
Technical details
https://docs.codemod.com/deploying-codemods/cli#param-no-interactive
Thanks for sharing this feature request! A revamp of our CLI is on the horizon, and we've talked about having a clean way to bypass interactive mode before, so we’ll definitely keep this in mind. cc @amirabbas-gh @mohebifar
the new CLI is launched darkly! ;) stay tuned for public announcements