In latest rescript release, we made a bunch fix of the build which makes the build quite robust even when users do the upgrade.
So in theory, users don’t need rescript clean at all, they just need run rescript whenever they want.
However, such clean subcommand needs to be preserved for troubleshooting. Since it is only for troubleshooting, I am proposing a simplification to its interface.
Currently:
git/tutorials%npx rescript clean -h
Usage : rescript.exe clean <options>
It only clean the current project by default
Options:
-with-deps Clean dependencies too
-verbose Set the output to be verbose
Proposed:
%npx rescript clean -h
Usage: clean the project and its dependencies