0.0.5 • Published 5 years ago
renamulon v0.0.5
Renamulon
What is it?
This is a bulk file renamer for nodejs projects with typescript or javascript
Usage
npx renamulon <directory> [-f format] [-x extensions] [-r] [-d] [-g]
# EXAMPLE
npx renamulon src -f snake -x ts tsx --dry -rOptions:
<directory>specifies the directory to start the file renaming. REQUIRED--format,-fis an option that specifies the format style for the file names. The options arekebab,camel,pascal, andsnake. REQUIRED--ext,-xis an option that specifies the list of file extensions to include in the renaming. The default value isjs jsx ts tsx.
Flags:
--dry,-dis an optional flag. No changes will be made on the system if true. The default value isfalse.--use-git,-gis an optional flag. Renaming will be done withgit mvinstead ofmvif true. The default value isfalse.--remove-dots,-ris an optional flag. It specifies whether dots in file names should be left untouched or formatted out (This does not include the dot before the file extension). The efault value isfalse.
Testing
npm run testBuild
npm run build